Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Examples.AirProperties.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/IDEAS 3.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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Media.Examples.AirProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.AirProperties") translateModel(IDEAS.Media.Examples.AirProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.AirProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001732/0.001733, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7714/0.7714, allocations: 133.4 MB / 146.7 MB, free: 10.77 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.659/1.659, allocations: 221.3 MB / 400.4 MB, free: 5.777 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009356/0.0009356, allocations: 105.1 kB / 483.3 MB, free: 5.797 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.684e-05/4.706e-05, allocations: 6.516 kB / 0.56 GB, free: 87.9 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2285/0.2286, allocations: 82.3 MB / 0.6404 GB, free: 7.828 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.949/5.177, allocations: 1.884 GB / 2.525 GB, free: 10.3 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002613/5.178, allocations: 69.16 kB / 2.525 GB, free: 10.26 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.4617/5.639, allocations: 48.07 MB / 2.572 GB, free: 243.6 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.383e-06/5.639, allocations: 7.938 kB / 2.572 GB, free: 243.6 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 9.057e-06/5.639, allocations: 3.844 kB / 2.572 GB, free: 243.6 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0008709/5.64, allocations: 0.554 MB / 2.572 GB, free: 243.1 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/5.64, allocations: 6.969 kB / 2.572 GB, free: 243.1 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001091/5.641, allocations: 136.4 kB / 2.572 GB, free: 243.1 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002154/5.642, allocations: 217.3 kB / 2.573 GB, free: 242.8 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.612e-05/5.642, allocations: 12.28 kB / 2.573 GB, free: 242.8 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.043e-05/5.642, allocations: 17.28 kB / 2.573 GB, free: 242.8 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004821/5.642, allocations: 343.6 kB / 2.573 GB, free: 242.6 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/5.642, allocations: 0 / 2.573 GB, free: 242.6 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.067e-05/5.642, allocations: 7.938 kB / 2.573 GB, free: 242.6 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.67e-05/5.642, allocations: 11.34 kB / 2.573 GB, free: 242.6 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004289/5.643, allocations: 319.5 kB / 2.573 GB, free: 242.5 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001222/5.644, allocations: 1.168 MB / 2.575 GB, free: 241.4 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004058/5.644, allocations: 184.8 kB / 2.575 GB, free: 241.3 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000108/5.645, allocations: 89.45 kB / 2.575 GB, free: 241.3 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003013/5.645, allocations: 365.6 kB / 2.575 GB, free: 240.9 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.064e-05/5.645, allocations: 36.45 kB / 2.575 GB, free: 240.9 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=21): time 1.523e-06/5.645, allocations: 3.938 kB / 2.575 GB, free: 240.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=21): time 0.0004263/5.645, allocations: 183.6 kB / 2.575 GB, free: 240.8 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.015e-05/5.645, allocations: 55.34 kB / 2.575 GB, free: 240.7 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001316/5.645, allocations: 191.9 kB / 2.576 GB, free: 240.6 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.235e-05/5.645, allocations: 33.7 kB / 2.576 GB, free: 240.5 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.095e-05/5.646, allocations: 143.6 kB / 2.576 GB, free: 240.4 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.567e-05/5.646, allocations: 78.77 kB / 2.576 GB, free: 240.3 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.232e-05/5.646, allocations: 4 kB / 2.576 GB, free: 240.3 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 4.477e-05/5.646, allocations: 326.8 kB / 2.576 GB, free: 240 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.701e-05/5.646, allocations: 65.75 kB / 2.576 GB, free: 240 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001214/5.646, allocations: 169.4 kB / 2.576 GB, free: 239.8 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001472/5.646, allocations: 84.22 kB / 2.576 GB, free: 239.8 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/5.646, allocations: 3.938 kB / 2.576 GB, free: 239.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003732/5.646, allocations: 280.5 kB / 2.577 GB, free: 239.7 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/5.646, allocations: 3.969 kB / 2.577 GB, free: 239.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/5.646, allocations: 3.969 kB / 2.577 GB, free: 239.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/5.646, allocations: 3.906 kB / 2.577 GB, free: 239.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002452/5.647, allocations: 58.19 kB / 2.577 GB, free: 239.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.032e-05/5.647, allocations: 3.375 kB / 2.577 GB, free: 239.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001998/5.647, allocations: 34.94 kB / 2.577 GB, free: 239.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.055e-05/5.647, allocations: 23.34 kB / 2.577 GB, free: 239.6 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 6.539e-05/5.647, allocations: 124.5 kB / 2.577 GB, free: 239.5 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.716e-05/5.647, allocations: 18.62 kB / 2.577 GB, free: 239.5 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003576/5.648, allocations: 225.5 kB / 2.577 GB, free: 239.3 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.571e-06/5.648, allocations: 3.625 kB / 2.577 GB, free: 239.3 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/5.648, allocations: 0 / 2.577 GB, free: 239.3 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/5.648, allocations: 0 / 2.577 GB, free: 239.3 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004969/5.648, allocations: 0.5389 MB / 2.578 GB, free: 238.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/5.648, allocations: 0 / 2.578 GB, free: 238.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001737/5.648, allocations: 33.73 kB / 2.578 GB, free: 238.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/5.648, allocations: 7.859 kB / 2.578 GB, free: 238.9 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.554e-05/5.648, allocations: 4 kB / 2.578 GB, free: 238.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.552e-06/5.648, allocations: 0 / 2.578 GB, free: 238.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/5.648, allocations: 3.938 kB / 2.578 GB, free: 238.9 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002824/5.649, allocations: 325.3 kB / 2.578 GB, free: 238.6 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001032/5.649, allocations: 116.6 kB / 2.578 GB, free: 238.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.084e-05/5.649, allocations: 7.938 kB / 2.578 GB, free: 238.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002414/5.649, allocations: 19.8 kB / 2.578 GB, free: 238.5 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.767e-05/5.649, allocations: 11.92 kB / 2.578 GB, free: 238.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.522e-05/5.649, allocations: 15.55 kB / 2.578 GB, free: 238.5 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 8.254e-05/5.649, allocations: 150.9 kB / 2.578 GB, free: 238.4 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.5e-07/5.649, allocations: 0 / 2.578 GB, free: 238.4 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0005579/5.65, allocations: 159.6 kB / 2.579 GB, free: 238.3 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0007064/5.65, allocations: 0.6377 MB / 2.579 GB, free: 237.9 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002725/5.651, allocations: 190.3 kB / 2.579 GB, free: 237.8 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/5.651, allocations: 0 / 2.579 GB, free: 237.8 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 9.806e-05/5.651, allocations: 82.53 kB / 2.579 GB, free: 237.8 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004819/5.651, allocations: 88.61 kB / 2.579 GB, free: 237.8 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000405/5.652, allocations: 252.8 kB / 2.58 GB, free: 237.6 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001309/5.652, allocations: 0.7318 MB / 2.58 GB, free: 236.9 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0002783/5.652, allocations: 53.56 kB / 2.581 GB, free: 236.8 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.634e-05/5.652, allocations: 27.09 kB / 2.581 GB, free: 236.8 MB / 0.6823 GB Notification: Performance of SimCode: time 2.51e-07/5.652, allocations: 0 / 2.581 GB, free: 236.8 MB / 0.6823 GB Notification: Performance of Templates: time 0.01555/5.668, allocations: 13.59 MB / 2.594 GB, free: 223.6 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.Media.Examples.AirProperties.makefile (rm -f IDEAS_dev_IDEAS.Media.Examples.AirProperties.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.AirProperties.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.AirProperties.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.AirProperties.sim & ./IDEAS_dev_IDEAS.Media.Examples.AirProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.AirProperties.pipe 2>&1)