Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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: translateModel(BuildingSystems.Media.Examples.AirProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.AirProperties") translateModel(BuildingSystems.Media.Examples.AirProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.AirProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00509/0.00509, allocations: 94.7 kB / 15.73 MB, free: 6.039 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.001109/0.001109, allocations: 200.6 kB / 16.68 MB, free: 5.969 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.364/1.364, allocations: 222.9 MB / 240.4 MB, free: 4.156 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002119/0.002119, allocations: 279 kB / 290.8 MB, free: 1.758 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9602/0.9602, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001668/0.001668, allocations: 91.86 kB / 0.6815 GB, free: 15.45 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.166/0.1677, allocations: 86.97 MB / 0.7664 GB, free: 8.391 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.AirProperties): time 0.4774/0.6452, allocations: 149.1 MB / 0.912 GB, free: 13.72 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.003861/0.6491, allocations: 3.612 MB / 0.9156 GB, free: 10.11 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.466e-05/0.6492, allocations: 4 kB / 0.9156 GB, free: 10.11 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0003579/0.6496, allocations: 77.55 kB / 0.9156 GB, free: 10.03 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.0003105/0.6499, allocations: 123.3 kB / 0.9157 GB, free: 9.91 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.002264/0.6522, allocations: 1.005 MB / 0.9167 GB, free: 8.902 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.0003359/0.6526, allocations: 319.7 kB / 0.917 GB, free: 8.59 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 4.292e-05/0.6526, allocations: 17.55 kB / 0.917 GB, free: 8.574 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003442/0.653, allocations: 202.9 kB / 0.9172 GB, free: 8.379 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001649/0.6531, allocations: 131.5 kB / 0.9174 GB, free: 8.25 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 2.697e-05/0.6532, allocations: 8 kB / 0.9174 GB, free: 8.242 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002017/0.6552, allocations: 1.216 MB / 0.9186 GB, free: 7.023 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 9.898e-05/0.6553, allocations: 71.72 kB / 0.9186 GB, free: 6.953 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0001315/0.6555, allocations: 111.5 kB / 0.9187 GB, free: 6.844 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.001088/0.6566, allocations: 0.6407 MB / 0.9194 GB, free: 6.207 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.6566, allocations: 4 kB / 0.9194 GB, free: 6.203 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.703e-06/0.6566, allocations: 0 / 0.9194 GB, free: 6.203 MB / 0.67 GB Notification: Performance of Transformations before backend: time 7.223e-06/0.6566, allocations: 0 / 0.9194 GB, free: 6.203 MB / 0.67 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.001046/0.6576, allocations: 0.5919 MB / 0.9199 GB, free: 5.562 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/0.6577, allocations: 8.031 kB / 0.92 GB, free: 5.555 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001116/0.6588, allocations: 136.7 kB / 0.9201 GB, free: 5.422 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002705/0.6591, allocations: 224.2 kB / 0.9203 GB, free: 5.164 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.211e-05/0.6591, allocations: 24.3 kB / 0.9203 GB, free: 5.141 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.2e-05/0.6592, allocations: 16 kB / 0.9203 GB, free: 5.125 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005073/0.6597, allocations: 334.3 kB / 0.9207 GB, free: 4.781 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.044e-05/0.6597, allocations: 3.938 kB / 0.9207 GB, free: 4.777 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.094e-05/0.6597, allocations: 12 kB / 0.9207 GB, free: 4.766 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.95e-05/0.6598, allocations: 15.98 kB / 0.9207 GB, free: 4.75 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005289/0.6603, allocations: 320.1 kB / 0.921 GB, free: 4.438 MB / 0.67 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.001685/0.662, allocations: 1.113 MB / 0.9221 GB, free: 3.234 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004977/0.6625, allocations: 183.6 kB / 0.9223 GB, free: 3.047 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001391/0.6627, allocations: 92.78 kB / 0.9223 GB, free: 2.953 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005586/0.6632, allocations: 465.4 kB / 0.9228 GB, free: 2.406 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.388e-05/0.6633, allocations: 34.56 kB / 0.9228 GB, free: 2.363 MB / 0.67 GB Notification: Performance of pre-optimization done (n=21): time 1.333e-06/0.6633, allocations: 0 / 0.9228 GB, free: 2.363 MB / 0.67 GB Notification: Performance of matching and sorting (n=21): time 0.0006821/0.664, allocations: 270.9 kB / 0.9231 GB, free: 2.094 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.542e-05/0.664, allocations: 59.41 kB / 0.9231 GB, free: 2.023 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002016/0.6642, allocations: 203.1 kB / 0.9233 GB, free: 1.809 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 2.661e-05/0.6643, allocations: 29.7 kB / 0.9234 GB, free: 1.773 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 9.863e-05/0.6644, allocations: 144.2 kB / 0.9235 GB, free: 1.629 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 5.195e-05/0.6644, allocations: 75.33 kB / 0.9236 GB, free: 1.555 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.906e-05/0.6645, allocations: 61.64 kB / 0.9236 GB, free: 1.488 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001249/0.6646, allocations: 322.8 kB / 0.9239 GB, free: 1.164 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001307/0.6648, allocations: 76.22 kB / 0.924 GB, free: 1.09 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000192/0.665, allocations: 161.3 kB / 0.9242 GB, free: 0.8945 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003147/0.6653, allocations: 245.6 kB / 0.9244 GB, free: 0.6172 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.6653, allocations: 0 / 0.9244 GB, free: 0.6172 MB / 0.67 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004978/0.6658, allocations: 281.5 kB / 0.9247 GB, free: 344 kB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.6658, allocations: 11.97 kB / 0.9247 GB, free: 332 kB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.6659, allocations: 4 kB / 0.9247 GB, free: 328 kB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/0.6659, allocations: 4 kB / 0.9247 GB, free: 324 kB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002694/0.6662, allocations: 67.84 kB / 0.9247 GB, free: 256 kB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.075e-05/0.6662, allocations: 4 kB / 0.9247 GB, free: 252 kB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001881/0.6664, allocations: 32.42 kB / 0.9248 GB, free: 220 kB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.416e-05/0.6664, allocations: 11.98 kB / 0.9248 GB, free: 208 kB / 0.67 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.0001358/0.6666, allocations: 134.5 kB / 0.9249 GB, free: 64 kB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001197/0.6667, allocations: 31.83 kB / 0.9249 GB, free: 32 kB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000501/0.6672, allocations: 282.8 kB / 0.9252 GB, free: 15.75 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/0.6672, allocations: 3.938 kB / 0.9252 GB, free: 15.74 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.155e-06/0.6672, allocations: 11.5 kB / 0.9252 GB, free: 15.73 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.6672, allocations: 0 / 0.9252 GB, free: 15.73 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007378/0.668, allocations: 0.5753 MB / 0.9258 GB, free: 15.1 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.182e-06/0.668, allocations: 3.938 kB / 0.9258 GB, free: 15.1 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001791/0.6682, allocations: 43.98 kB / 0.9258 GB, free: 15.05 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.6682, allocations: 0 / 0.9258 GB, free: 15.05 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.102e-05/0.6682, allocations: 4 kB / 0.9258 GB, free: 15.05 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.6682, allocations: 0 / 0.9258 GB, free: 15.05 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.6682, allocations: 4 kB / 0.9258 GB, free: 15.05 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005321/0.6688, allocations: 344.2 kB / 0.9262 GB, free: 14.69 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001294/0.6689, allocations: 132.8 kB / 0.9263 GB, free: 14.54 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.543e-05/0.669, allocations: 0 / 0.9263 GB, free: 14.54 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002406/0.6692, allocations: 18.05 kB / 0.9263 GB, free: 14.53 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.087e-05/0.6693, allocations: 15.92 kB / 0.9263 GB, free: 14.51 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.443e-05/0.6693, allocations: 15.98 kB / 0.9264 GB, free: 14.5 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0001451/0.6694, allocations: 148.3 kB / 0.9265 GB, free: 14.35 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2.815e-06/0.6695, allocations: 0 / 0.9265 GB, free: 14.35 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0005739/0.67, allocations: 123.7 kB / 0.9266 GB, free: 14.23 MB / 0.6856 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.0004816/0.6705, allocations: 211 kB / 0.9268 GB, free: 14.01 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0004311/0.671, allocations: 218.4 kB / 0.927 GB, free: 13.8 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.671, allocations: 0 / 0.927 GB, free: 13.8 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.000158/0.6711, allocations: 99.89 kB / 0.9271 GB, free: 13.7 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000645/0.6718, allocations: 106.7 kB / 0.9272 GB, free: 13.61 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009319/0.6727, allocations: 470.4 kB / 0.9277 GB, free: 13.12 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003922/0.6731, allocations: 0.7367 MB / 0.9284 GB, free: 12.36 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0002644/0.6734, allocations: 62.19 kB / 0.9284 GB, free: 12.3 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.744e-05/0.6735, allocations: 23.44 kB / 0.9285 GB, free: 12.28 MB / 0.6856 GB Notification: Performance of SimCode: time 4.91e-07/0.6735, allocations: 0 / 0.9285 GB, free: 12.28 MB / 0.6856 GB Notification: Performance of Templates: time 0.009605/0.6831, allocations: 5.514 MB / 0.9339 GB, free: 6.848 MB / 0.6856 GB make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.AirProperties.makefile (rm -f BuildingSystems_BuildingSystems.Media.Examples.AirProperties.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.AirProperties.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.AirProperties.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.AirProperties.sim & ./BuildingSystems_BuildingSystems.Media.Examples.AirProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.AirProperties.pipe 2>&1)