Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.Polynomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Utilities.Math.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.Polynomial") translateModel(IBPSA.Utilities.Math.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.Polynomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009596/0.0009597, allocations: 178.8 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4533/0.4533, allocations: 90.81 MB / 104.5 MB, free: 9.793 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.269/1.269, allocations: 221.3 MB / 348.3 MB, free: 468 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007781/0.000778, allocations: 95.34 kB / 421.2 MB, free: 5.477 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.333e-05/2.337e-05, allocations: 4 kB / 0.4896 GB, free: 5.375 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3327/0.3327, allocations: 72.31 MB / 0.5602 GB, free: 40.43 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1095/0.4423, allocations: 101.4 MB / 0.6593 GB, free: 2.855 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001935/0.4425, allocations: 71.95 kB / 0.6594 GB, free: 2.785 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0022/0.4447, allocations: 0.7828 MB / 0.6601 GB, free: 2.016 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.4447, allocations: 0 / 0.6601 GB, free: 2.016 MB / 474.7 MB Notification: Performance of Transformations before backend: time 6.021e-06/0.4447, allocations: 0 / 0.6601 GB, free: 2.016 MB / 474.7 MB 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.0003257/0.4451, allocations: 348.5 kB / 0.6605 GB, free: 1.633 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/0.4451, allocations: 19.92 kB / 0.6605 GB, free: 1.613 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.866e-05/0.4452, allocations: 3.953 kB / 0.6605 GB, free: 1.609 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001107/0.4453, allocations: 167 kB / 0.6606 GB, free: 1.406 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.024e-05/0.4453, allocations: 4 kB / 0.6606 GB, free: 1.402 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.117e-06/0.4453, allocations: 0 / 0.6606 GB, free: 1.402 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.624e-05/0.4454, allocations: 45.69 kB / 0.6607 GB, free: 1.352 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.642e-06/0.4454, allocations: 0 / 0.6607 GB, free: 1.352 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.012e-05/0.4454, allocations: 4 kB / 0.6607 GB, free: 1.348 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.4454, allocations: 0 / 0.6607 GB, free: 1.348 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.685e-05/0.4455, allocations: 19.89 kB / 0.6607 GB, free: 1.328 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003605/0.4459, allocations: 265 kB / 0.661 GB, free: 1.02 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.314e-05/0.4459, allocations: 34.56 kB / 0.661 GB, free: 0.9766 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.506e-05/0.446, allocations: 12.92 kB / 0.661 GB, free: 0.9609 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.924e-05/0.446, allocations: 7.984 kB / 0.661 GB, free: 0.9531 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.05e-05/0.446, allocations: 30.56 kB / 0.661 GB, free: 0.9141 MB / 474.7 MB Notification: Performance of pre-optimization done (n=2): time 2.104e-06/0.446, allocations: 0 / 0.661 GB, free: 0.9141 MB / 474.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001384/0.4462, allocations: 57.48 kB / 0.6611 GB, free: 0.8516 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.533e-05/0.4462, allocations: 59.44 kB / 0.6612 GB, free: 0.7812 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.836e-05/0.4463, allocations: 93 kB / 0.6612 GB, free: 0.6836 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.239e-05/0.4463, allocations: 25.7 kB / 0.6613 GB, free: 0.6523 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.801e-05/0.4464, allocations: 88.14 kB / 0.6613 GB, free: 0.5625 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.643e-05/0.4464, allocations: 13.05 kB / 0.6614 GB, free: 0.5508 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.316e-06/0.4464, allocations: 0 / 0.6614 GB, free: 0.5508 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.000102/0.4465, allocations: 314.8 kB / 0.6617 GB, free: 240 kB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.824e-05/0.4465, allocations: 4 kB / 0.6617 GB, free: 236 kB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.658e-05/0.4465, allocations: 12 kB / 0.6617 GB, free: 224 kB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.136e-05/0.4466, allocations: 7.984 kB / 0.6617 GB, free: 216 kB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.4466, allocations: 4 kB / 0.6617 GB, free: 212 kB / 474.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.153e-05/0.4467, allocations: 45.64 kB / 0.6617 GB, free: 160 kB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.102e-05/0.4467, allocations: 5.25 kB / 0.6617 GB, free: 156 kB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.4467, allocations: 0 / 0.6617 GB, free: 156 kB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.4467, allocations: 3.984 kB / 0.6617 GB, free: 152 kB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.022e-05/0.4468, allocations: 16 kB / 0.6618 GB, free: 136 kB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.4468, allocations: 8.047 kB / 0.6618 GB, free: 128 kB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.964e-05/0.4469, allocations: 9.672 kB / 0.6618 GB, free: 120 kB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.516e-05/0.4469, allocations: 0 / 0.6618 GB, free: 120 kB / 474.7 MB 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 () * 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 5.424e-05/0.4469, allocations: 108.9 kB / 0.6619 GB, free: 4 kB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.112e-05/0.447, allocations: 0 / 0.6619 GB, free: 4 kB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001257/0.4471, allocations: 66.14 kB / 0.6619 GB, free: 15.93 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.4471, allocations: 0 / 0.6619 GB, free: 15.93 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.4471, allocations: 32 / 0.6619 GB, free: 15.93 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.4471, allocations: 7.953 kB / 0.6619 GB, free: 15.93 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001373/0.4473, allocations: 157.6 kB / 0.6621 GB, free: 15.72 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.4473, allocations: 7.172 kB / 0.6621 GB, free: 15.72 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.099e-05/0.4474, allocations: 12 kB / 0.6621 GB, free: 15.71 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.4474, allocations: 0 / 0.6621 GB, free: 15.71 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.041e-06/0.4474, allocations: 0 / 0.6621 GB, free: 15.71 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.4474, allocations: 0 / 0.6621 GB, free: 15.71 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.4474, allocations: 0 / 0.6621 GB, free: 15.71 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001155/0.4475, allocations: 151.5 kB / 0.6623 GB, free: 15.54 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.477e-05/0.4475, allocations: 81.09 kB / 0.6623 GB, free: 15.45 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.074e-05/0.4476, allocations: 0 / 0.6623 GB, free: 15.45 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.444e-05/0.4477, allocations: 11.47 kB / 0.6623 GB, free: 15.44 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.743e-05/0.4477, allocations: 7.922 kB / 0.6624 GB, free: 15.43 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.09e-06/0.4477, allocations: 0 / 0.6624 GB, free: 15.43 MB / 490.7 MB Notification: Performance of sorting global known variables: time 5.22e-05/0.4478, allocations: 87.28 kB / 0.6624 GB, free: 15.34 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4478, allocations: 4.031 kB / 0.6624 GB, free: 15.34 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001985/0.448, allocations: 8 kB / 0.6624 GB, free: 15.33 MB / 490.7 MB 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 () * 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.0001276/0.4481, allocations: 103.2 kB / 0.6625 GB, free: 15.22 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 7.304e-05/0.4482, allocations: 16 kB / 0.6626 GB, free: 15.2 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.4482, allocations: 0 / 0.6626 GB, free: 15.2 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.355e-05/0.4482, allocations: 12 kB / 0.6626 GB, free: 15.19 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001292/0.4484, allocations: 1.859 kB / 0.6626 GB, free: 15.19 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001987/0.4486, allocations: 84.92 kB / 0.6627 GB, free: 15.09 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002499/0.4488, allocations: 0.6809 MB / 0.6633 GB, free: 14.38 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.418e-05/0.4489, allocations: 7.984 kB / 0.6633 GB, free: 14.37 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.634e-05/0.4489, allocations: 7.438 kB / 0.6633 GB, free: 14.36 MB / 490.7 MB Notification: Performance of SimCode: time 2.9e-07/0.4489, allocations: 0 / 0.6633 GB, free: 14.36 MB / 490.7 MB Notification: Performance of Templates: time 0.002138/0.451, allocations: 462.3 kB / 0.6638 GB, free: 13.94 MB / 490.7 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.Polynomial.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.Polynomial.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.Polynomial.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.Polynomial.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.Polynomial.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.Polynomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.Polynomial.pipe 2>&1)