Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Polynominal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.Polynominal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Polynominal") translateModel(Buildings.Utilities.Math.Examples.Polynominal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Polynominal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.645/1.645, allocations: 288.3 MB / 303.2 MB, free: 8.043 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001161/0.001161, allocations: 185 kB / 371.9 MB, free: 10.26 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.764/1.764, allocations: 205.4 MB / 0.6306 GB, free: 10 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001168/0.001168, allocations: 93.67 kB / 0.7439 GB, free: 5.934 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004599/0.0004599, allocations: 13.25 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3102/0.3107, allocations: 115.3 MB / 0.9794 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Polynominal): time 0.00207/0.3128, allocations: 1.137 MB / 0.9805 GB, free: 26.55 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00038/0.3133, allocations: 96.62 kB / 0.9806 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.911e-05/0.3133, allocations: 0 / 0.9806 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 4.814e-05/0.3134, allocations: 0 / 0.9806 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.857e-05/0.3135, allocations: 3.984 kB / 0.9806 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000312/0.3138, allocations: 15.92 kB / 0.9806 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 9.267e-05/0.3139, allocations: 15.97 kB / 0.9807 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001183/0.314, allocations: 8 kB / 0.9807 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.541e-05/0.3141, allocations: 19.86 kB / 0.9807 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.842e-05/0.3141, allocations: 7.938 kB / 0.9807 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.423e-05/0.3142, allocations: 0 / 0.9807 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001092/0.3143, allocations: 15.98 kB / 0.9807 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.438e-05/0.3143, allocations: 3.984 kB / 0.9807 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.204e-05/0.3144, allocations: 33.7 kB / 0.9807 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001091/0.3145, allocations: 23.89 kB / 0.9808 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.3145, allocations: 0 / 0.9808 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.454e-06/0.3145, allocations: 4 kB / 0.9808 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.969e-06/0.3145, allocations: 0 / 0.9808 GB, free: 26.29 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004856/0.315, allocations: 347.5 kB / 0.9811 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.831e-05/0.3151, allocations: 12.02 kB / 0.9811 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.639e-05/0.3151, allocations: 0 / 0.9811 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001247/0.3152, allocations: 171 kB / 0.9813 GB, free: 25.69 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.783e-05/0.3153, allocations: 0 / 0.9813 GB, free: 25.69 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.641e-05/0.3153, allocations: 4 kB / 0.9813 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002263/0.3155, allocations: 57.67 kB / 0.9813 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/0.3155, allocations: 0 / 0.9813 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/0.3156, allocations: 0 / 0.9813 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.054e-05/0.3156, allocations: 0 / 0.9813 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001755/0.3158, allocations: 55.89 kB / 0.9814 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003712/0.3161, allocations: 256.8 kB / 0.9816 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001362/0.3163, allocations: 54.55 kB / 0.9817 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.391e-05/0.3164, allocations: 0 / 0.9817 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.867e-05/0.3164, allocations: 30.56 kB / 0.9817 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.483e-06/0.3164, allocations: 3.984 kB / 0.9817 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0003577/0.3167, allocations: 109.6 kB / 0.9818 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.864e-05/0.3168, allocations: 51.41 kB / 0.9819 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.625e-05/0.3169, allocations: 109.8 kB / 0.982 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.697e-06/0.3169, allocations: 25.7 kB / 0.982 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.177e-05/0.3169, allocations: 88.14 kB / 0.9821 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.948e-05/0.317, allocations: 7.844 kB / 0.9821 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.236e-06/0.317, allocations: 4.062 kB / 0.9821 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.007e-05/0.317, allocations: 322.8 kB / 0.9824 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.149e-05/0.3171, allocations: 23.98 kB / 0.9824 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.161e-05/0.3172, allocations: 23.98 kB / 0.9824 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.917e-05/0.3173, allocations: 28.03 kB / 0.9825 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.3173, allocations: 0 / 0.9825 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001887/0.3175, allocations: 81.59 kB / 0.9825 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.3175, allocations: 8.031 kB / 0.9826 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.3175, allocations: 0 / 0.9826 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/0.3175, allocations: 0 / 0.9826 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.595e-05/0.3176, allocations: 15.94 kB / 0.9826 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.3177, allocations: 3.984 kB / 0.9826 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.753e-05/0.3177, allocations: 11.98 kB / 0.9826 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.102e-06/0.3177, allocations: 0 / 0.9826 GB, free: 24.21 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.298e-05/0.3178, allocations: 118.7 kB / 0.9827 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.578e-05/0.3178, allocations: 3.906 kB / 0.9827 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002606/0.3181, allocations: 89.17 kB / 0.9828 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.608e-06/0.3181, allocations: 0 / 0.9828 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.3181, allocations: 7.969 kB / 0.9828 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.3181, allocations: 0 / 0.9828 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001304/0.3183, allocations: 165.6 kB / 0.983 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.3183, allocations: 0 / 0.983 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.578e-05/0.3184, allocations: 8 kB / 0.983 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.3184, allocations: 0 / 0.983 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.514e-06/0.3184, allocations: 0 / 0.983 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/0.3184, allocations: 7.984 kB / 0.983 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.073e-06/0.3184, allocations: 0 / 0.983 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002228/0.3186, allocations: 179.5 kB / 0.9831 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.377e-05/0.3187, allocations: 77.11 kB / 0.9832 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.697e-05/0.3187, allocations: 0 / 0.9832 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.318e-05/0.3188, allocations: 16.02 kB / 0.9832 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.036e-05/0.3188, allocations: 4 kB / 0.9832 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.788e-06/0.3188, allocations: 0 / 0.9832 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.971e-05/0.3189, allocations: 83.53 kB / 0.9833 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.192e-06/0.3189, allocations: 0 / 0.9833 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002193/0.3191, allocations: 19.83 kB / 0.9833 GB, free: 23.35 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001723/0.3193, allocations: 103.2 kB / 0.9834 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002387/0.3195, allocations: 55.97 kB / 0.9835 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.3196, allocations: 0 / 0.9835 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.257e-05/0.3196, allocations: 24.03 kB / 0.9835 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002414/0.3199, allocations: 12.06 kB / 0.9835 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003101/0.3202, allocations: 112.7 kB / 0.9836 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001541/0.3204, allocations: 0.6809 MB / 0.9843 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.986e-05/0.3204, allocations: 8.125 kB / 0.9843 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.058e-05/0.3204, allocations: 11.44 kB / 0.9843 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of SimCode: time 6.21e-07/0.3205, allocations: 4 kB / 0.9843 GB, free: 22.28 MB / 0.6198 GB Notification: Performance of Templates: time 0.003088/0.3235, allocations: 461.6 kB / 0.9848 GB, free: 21.83 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Polynominal.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Polynominal.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Polynominal.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Polynominal.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Polynominal.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Polynominal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Polynominal.pipe 2>&1)