Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Media.Examples.WaterProperties.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 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(Buildings.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Media.Examples.WaterProperties") translateModel(Buildings.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Media.Examples.WaterProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001208/0.001208, allocations: 111.3 kB / 15.23 MB, free: 0.6562 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.001227/0.001227, allocations: 194 kB / 16.13 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.417/1.417, allocations: 205.1 MB / 222 MB, free: 4.75 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.571/1.571, allocations: 251.6 MB / 0.5088 GB, free: 3.328 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001265, allocations: 63.91 kB / 0.6215 GB, free: 2.008 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5342/0.5354, allocations: 104.7 MB / 0.7238 GB, free: 13.15 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.00668/0.5422, allocations: 4.754 MB / 0.7284 GB, free: 8.363 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002926/0.5451, allocations: 2.691 MB / 0.7311 GB, free: 5.664 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.922e-05/0.5452, allocations: 4 kB / 0.7311 GB, free: 5.66 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002845/0.5455, allocations: 39.8 kB / 0.7311 GB, free: 5.621 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0003247/0.5459, allocations: 95.42 kB / 0.7312 GB, free: 5.527 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001019/0.5469, allocations: 421.6 kB / 0.7316 GB, free: 5.117 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002712/0.5472, allocations: 299.9 kB / 0.7319 GB, free: 4.82 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.101e-05/0.5472, allocations: 5.562 kB / 0.7319 GB, free: 4.812 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002003/0.5474, allocations: 111.6 kB / 0.732 GB, free: 4.703 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001613/0.5476, allocations: 95.59 kB / 0.7321 GB, free: 4.609 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.797e-05/0.5477, allocations: 8 kB / 0.7321 GB, free: 4.602 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000615/0.5483, allocations: 351.2 kB / 0.7324 GB, free: 4.258 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 6.676e-05/0.5484, allocations: 31.91 kB / 0.7325 GB, free: 4.227 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 8.809e-05/0.5485, allocations: 75.66 kB / 0.7325 GB, free: 4.152 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0005278/0.549, allocations: 345.1 kB / 0.7329 GB, free: 3.816 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.549, allocations: 0 / 0.7329 GB, free: 3.816 MB / 0.545 GB Notification: Performance of FrontEnd: time 9.32e-07/0.549, allocations: 0 / 0.7329 GB, free: 3.816 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.087e-06/0.549, allocations: 0 / 0.7329 GB, free: 3.816 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.000753/0.5498, allocations: 0.4954 MB / 0.7333 GB, free: 3.273 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/0.5498, allocations: 12.03 kB / 0.7334 GB, free: 3.262 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001664/0.55, allocations: 24.75 kB / 0.7334 GB, free: 3.238 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002269/0.5502, allocations: 212 kB / 0.7336 GB, free: 2.992 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.356e-05/0.5503, allocations: 12.7 kB / 0.7336 GB, free: 2.98 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.319e-05/0.5503, allocations: 16.38 kB / 0.7336 GB, free: 2.965 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003926/0.5507, allocations: 253.1 kB / 0.7339 GB, free: 2.695 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.5507, allocations: 0 / 0.7339 GB, free: 2.695 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.738e-05/0.5507, allocations: 12 kB / 0.7339 GB, free: 2.684 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.499e-05/0.5508, allocations: 4 kB / 0.7339 GB, free: 2.68 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004853/0.5513, allocations: 435.4 kB / 0.7343 GB, free: 2.254 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001153/0.5524, allocations: 0.996 MB / 0.7353 GB, free: 1.164 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002762/0.5527, allocations: 159.1 kB / 0.7354 GB, free: 1 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000122/0.5528, allocations: 64.88 kB / 0.7355 GB, free: 0.9336 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001412/0.5543, allocations: 1.825 MB / 0.7373 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.041e-05/0.5543, allocations: 34.56 kB / 0.7373 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=15): time 1.272e-06/0.5543, allocations: 0 / 0.7373 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of matching and sorting (n=15): time 0.000338/0.5547, allocations: 153.4 kB / 0.7374 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.832e-05/0.5547, allocations: 55.34 kB / 0.7375 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001525/0.5549, allocations: 168 kB / 0.7376 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.403e-05/0.5549, allocations: 29.7 kB / 0.7377 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.808e-05/0.555, allocations: 139.8 kB / 0.7378 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.663e-05/0.555, allocations: 51.27 kB / 0.7379 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.773e-05/0.5551, allocations: 57.59 kB / 0.7379 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001159/0.5552, allocations: 322.8 kB / 0.7382 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.693e-05/0.5553, allocations: 43.92 kB / 0.7383 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001383/0.5555, allocations: 142.7 kB / 0.7384 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002222/0.5557, allocations: 189.5 kB / 0.7386 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.5557, allocations: 4 kB / 0.7386 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003156/0.556, allocations: 221 kB / 0.7388 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.102e-05/0.556, allocations: 10.03 kB / 0.7388 GB, free: 13 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-06/0.5561, allocations: 4.469 kB / 0.7388 GB, free: 13 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/0.5561, allocations: 8 kB / 0.7388 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001821/0.5563, allocations: 55.86 kB / 0.7389 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.859e-06/0.5563, allocations: 4 kB / 0.7389 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001138/0.5564, allocations: 31.73 kB / 0.7389 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.045e-05/0.5564, allocations: 12 kB / 0.7389 GB, free: 12.89 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (30): * Single equations (assignments): 29 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * 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.0001026/0.5566, allocations: 137.7 kB / 0.739 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.76e-05/0.5566, allocations: 15.81 kB / 0.7391 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002977/0.5569, allocations: 158.1 kB / 0.7392 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.121e-05/0.5569, allocations: 7.938 kB / 0.7392 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.5569, allocations: 3.984 kB / 0.7392 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.5569, allocations: 0 / 0.7392 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002393/0.5572, allocations: 213.5 kB / 0.7394 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.5572, allocations: 0 / 0.7394 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.93e-05/0.5573, allocations: 27.92 kB / 0.7394 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.5573, allocations: 0 / 0.7394 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.325e-05/0.5573, allocations: 8 kB / 0.7395 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.25e-05/0.5573, allocations: 11.88 kB / 0.7395 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.5574, allocations: 0 / 0.7395 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002444/0.5576, allocations: 223.3 kB / 0.7397 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.561e-05/0.5577, allocations: 104.9 kB / 0.7398 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.43e-05/0.5577, allocations: 0 / 0.7398 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001756/0.5579, allocations: 15.94 kB / 0.7398 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.6e-05/0.5579, allocations: 7.984 kB / 0.7398 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.848e-05/0.558, allocations: 15.98 kB / 0.7398 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 9.361e-05/0.5581, allocations: 116 kB / 0.7399 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5581, allocations: 0 / 0.7399 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003875/0.5585, allocations: 79.91 kB / 0.74 GB, free: 11.67 MB / 0.5606 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 (15): * Single equations (assignments): 14 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * 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.0003873/0.5589, allocations: 179 kB / 0.7402 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002312/0.5591, allocations: 119.8 kB / 0.7403 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.5591, allocations: 0 / 0.7403 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001013/0.5592, allocations: 43.98 kB / 0.7403 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004408/0.5597, allocations: 52.89 kB / 0.7404 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007073/0.5604, allocations: 395.7 kB / 0.7408 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002693/0.5607, allocations: 0.7131 MB / 0.7415 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001713/0.5609, allocations: 49.73 kB / 0.7415 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.436e-05/0.5609, allocations: 23.44 kB / 0.7415 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of SimCode: time 3.21e-07/0.5609, allocations: 0 / 0.7415 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of Templates: time 0.006139/0.5671, allocations: 3.216 MB / 0.7447 GB, free: 6.871 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Media.Examples.WaterProperties.makefile (rm -f Buildings_maint.7.0.x_Buildings.Media.Examples.WaterProperties.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Media.Examples.WaterProperties.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Media.Examples.WaterProperties.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Media.Examples.WaterProperties.sim & ./Buildings_maint.7.0.x_Buildings.Media.Examples.WaterProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Media.Examples.WaterProperties.pipe 2>&1)