Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Examples.AirProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Media.Examples.AirProperties,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_AirProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Examples.AirProperties,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_AirProperties",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001077/0.001077, allocations: 99.67 kB / 16.27 MB, free: 5.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001082/0.001082, allocations: 189.1 kB / 17.2 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.277/1.277, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7194/0.7194, allocations: 122.8 MB / 413.9 MB, free: 15.87 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001353/0.001353, allocations: 67.89 kB / 0.4912 GB, free: 7.379 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3067/0.3081, allocations: 77.93 MB / 0.5673 GB, free: 32.71 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.AirProperties): time 0.1444/0.4525, allocations: 149.1 MB / 0.7129 GB, free: 5.223 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003815/0.4564, allocations: 3.599 MB / 0.7164 GB, free: 1.613 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.979e-05/0.4565, allocations: 8 kB / 0.7164 GB, free: 1.605 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002887/0.4568, allocations: 59.64 kB / 0.7164 GB, free: 1.547 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002683/0.4571, allocations: 135.2 kB / 0.7166 GB, free: 1.414 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00213/0.4593, allocations: 1.008 MB / 0.7176 GB, free: 416 kB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003112/0.4596, allocations: 327.6 kB / 0.7179 GB, free: 88 kB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.42e-05/0.4596, allocations: 17.55 kB / 0.7179 GB, free: 72 kB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000342/0.46, allocations: 187.2 kB / 0.7181 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001653/0.4602, allocations: 131.5 kB / 0.7182 GB, free: 15.76 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.794e-05/0.4602, allocations: 8 kB / 0.7182 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001834/0.462, allocations: 1.22 MB / 0.7194 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 8.76e-05/0.4621, allocations: 67.84 kB / 0.7195 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001127/0.4622, allocations: 111.5 kB / 0.7196 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0008996/0.4632, allocations: 0.6373 MB / 0.7202 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/0.4632, allocations: 0 / 0.7202 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.383e-06/0.4632, allocations: 0 / 0.7202 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.42e-06/0.4632, allocations: 0 / 0.7202 GB, free: 13.71 MB / 0.5606 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.0009594/0.4642, allocations: 0.585 MB / 0.7208 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.505e-05/0.4642, allocations: 20.55 kB / 0.7208 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.616e-05/0.4643, allocations: 54.73 kB / 0.7208 GB, free: 13 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001123/0.4654, allocations: 132.6 kB / 0.721 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002131/0.4656, allocations: 227.7 kB / 0.7212 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.352e-05/0.4656, allocations: 12.38 kB / 0.7212 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.074e-05/0.4657, allocations: 20 kB / 0.7212 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005125/0.4662, allocations: 342 kB / 0.7215 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.4662, allocations: 0 / 0.7215 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.09e-05/0.4662, allocations: 8 kB / 0.7215 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.053e-05/0.4663, allocations: 19.98 kB / 0.7216 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004944/0.4668, allocations: 320.1 kB / 0.7219 GB, free: 11.88 MB / 0.5606 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001439/0.4682, allocations: 1.109 MB / 0.7229 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004665/0.4687, allocations: 198.4 kB / 0.7231 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001295/0.4688, allocations: 84.73 kB / 0.7232 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004979/0.4694, allocations: 453.5 kB / 0.7236 GB, free: 9.859 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.108e-05/0.4694, allocations: 42.56 kB / 0.7237 GB, free: 9.809 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=21): time 1.583e-06/0.4694, allocations: 0 / 0.7237 GB, free: 9.809 MB / 0.5606 GB Notification: Performance of matching and sorting (n=21): time 0.0006372/0.47, allocations: 261.2 kB / 0.7239 GB, free: 9.547 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.869e-05/0.4701, allocations: 51.52 kB / 0.724 GB, free: 9.484 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001737/0.4703, allocations: 207.1 kB / 0.7242 GB, free: 9.27 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.755e-05/0.4703, allocations: 37.64 kB / 0.7242 GB, free: 9.227 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.686e-05/0.4704, allocations: 143.9 kB / 0.7244 GB, free: 9.082 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.74e-05/0.4704, allocations: 70.95 kB / 0.7244 GB, free: 9.012 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.024e-05/0.4705, allocations: 53.69 kB / 0.7245 GB, free: 8.953 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.616e-05/0.4706, allocations: 334.8 kB / 0.7248 GB, free: 8.617 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001181/0.4707, allocations: 68.22 kB / 0.7249 GB, free: 8.551 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001588/0.4709, allocations: 151.7 kB / 0.725 GB, free: 8.363 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002971/0.4712, allocations: 252.8 kB / 0.7252 GB, free: 8.078 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.4712, allocations: 3.938 kB / 0.7253 GB, free: 8.074 MB / 0.5606 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004851/0.4717, allocations: 283.7 kB / 0.7255 GB, free: 7.793 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.4717, allocations: 8 kB / 0.7255 GB, free: 7.785 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.4718, allocations: 4 kB / 0.7255 GB, free: 7.781 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.4718, allocations: 7.938 kB / 0.7255 GB, free: 7.773 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002564/0.472, allocations: 55.91 kB / 0.7256 GB, free: 7.719 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.448e-06/0.4721, allocations: 7.938 kB / 0.7256 GB, free: 7.711 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000192/0.4722, allocations: 27.69 kB / 0.7256 GB, free: 7.684 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.279e-05/0.4723, allocations: 24.36 kB / 0.7257 GB, free: 7.66 MB / 0.5606 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001113/0.4724, allocations: 141.7 kB / 0.7258 GB, free: 7.512 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001226/0.4725, allocations: 23.8 kB / 0.7258 GB, free: 7.488 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004532/0.473, allocations: 284 kB / 0.7261 GB, free: 7.207 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/0.473, allocations: 4 kB / 0.7261 GB, free: 7.203 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.473, allocations: 0 / 0.7261 GB, free: 7.203 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.473, allocations: 0 / 0.7261 GB, free: 7.203 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006931/0.4737, allocations: 0.6019 MB / 0.7267 GB, free: 6.539 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.4737, allocations: 0 / 0.7267 GB, free: 6.539 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001811/0.4739, allocations: 27.98 kB / 0.7267 GB, free: 6.512 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.4739, allocations: 4 kB / 0.7267 GB, free: 6.508 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.504e-05/0.474, allocations: 4 kB / 0.7267 GB, free: 6.504 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/0.474, allocations: 4 kB / 0.7267 GB, free: 6.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.474, allocations: 0 / 0.7267 GB, free: 6.5 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004788/0.4745, allocations: 360.9 kB / 0.7271 GB, free: 6.129 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001059/0.4746, allocations: 116.8 kB / 0.7272 GB, free: 5.996 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.882e-05/0.4746, allocations: 8 kB / 0.7272 GB, free: 5.988 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002424/0.4749, allocations: 11.98 kB / 0.7272 GB, free: 5.977 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.365e-05/0.4749, allocations: 15.98 kB / 0.7272 GB, free: 5.961 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.881e-05/0.4749, allocations: 15.98 kB / 0.7272 GB, free: 5.945 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001178/0.4751, allocations: 145.5 kB / 0.7274 GB, free: 5.805 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4751, allocations: 0 / 0.7274 GB, free: 5.805 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004516/0.4755, allocations: 116 kB / 0.7275 GB, free: 5.691 MB / 0.5606 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00104/0.4766, allocations: 0.9963 MB / 0.7284 GB, free: 4.66 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004/0.477, allocations: 228.1 kB / 0.7287 GB, free: 4.438 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.477, allocations: 3.938 kB / 0.7287 GB, free: 4.434 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001407/0.4771, allocations: 102.1 kB / 0.7288 GB, free: 4.336 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006345/0.4778, allocations: 94.95 kB / 0.7288 GB, free: 4.246 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0027/0.4805, allocations: 2.483 MB / 0.7313 GB, free: 1.605 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002611/0.4808, allocations: 0.7367 MB / 0.732 GB, free: 0.8398 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002896/0.4811, allocations: 58.23 kB / 0.732 GB, free: 0.7852 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001088/0.4812, allocations: 55.42 kB / 0.7321 GB, free: 0.7305 MB / 0.5606 GB Notification: Performance of SimCode: time 4.21e-07/0.4812, allocations: 4 kB / 0.7321 GB, free: 0.7266 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02385/0.505, allocations: 7.659 MB / 0.7396 GB, free: 9.215 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.171/7.676, allocations: 9.781 kB / 0.7396 GB, free: 9.211 MB / 0.5762 GB (rm -f IBPSA_latest_IBPSA.Media.Examples.AirProperties.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.AirProperties.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.AirProperties.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.AirProperties.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Media.Examples.AirProperties_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Media_Examples_AirProperties.fmu > IBPSA_latest_IBPSA.Media.Examples.AirProperties.pipe 2>&1)