Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.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: translateModel(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") translateModel(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001124/0.001124, allocations: 108.7 kB / 17.08 MB, free: 6.016 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.001137/0.001137, allocations: 195 kB / 18.01 MB, free: 5.098 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.307/1.307, allocations: 222.9 MB / 241.7 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7486/0.7486, allocations: 115.3 MB / 407.2 MB, free: 6.16 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001379/0.00138, allocations: 71.25 kB / 0.5584 GB, free: 32.24 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1471/0.1485, allocations: 76.18 MB / 0.6328 GB, free: 4.332 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.005931/0.1545, allocations: 4.042 MB / 0.6368 GB, free: 268 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002971/0.1575, allocations: 2.422 MB / 0.6391 GB, free: 13.83 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001581/0.1576, allocations: 4 kB / 0.6391 GB, free: 13.83 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003347/0.158, allocations: 43.69 kB / 0.6392 GB, free: 13.79 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003782/0.1584, allocations: 103.3 kB / 0.6393 GB, free: 13.68 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00156/0.16, allocations: 0.5166 MB / 0.6398 GB, free: 13.17 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004281/0.1604, allocations: 251.9 kB / 0.64 GB, free: 12.92 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.001e-05/0.1605, allocations: 13.55 kB / 0.64 GB, free: 12.91 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000236/0.1607, allocations: 127.5 kB / 0.6401 GB, free: 12.78 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001742/0.1609, allocations: 95.64 kB / 0.6402 GB, free: 12.69 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.915e-05/0.161, allocations: 8 kB / 0.6402 GB, free: 12.68 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009417/0.1619, allocations: 447.3 kB / 0.6407 GB, free: 12.24 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.598e-05/0.162, allocations: 47.77 kB / 0.6407 GB, free: 12.2 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001059/0.1621, allocations: 79.66 kB / 0.6408 GB, free: 12.12 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008889/0.163, allocations: 415 kB / 0.6412 GB, free: 11.71 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.163, allocations: 0 / 0.6412 GB, free: 11.71 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.163, allocations: 4 kB / 0.6412 GB, free: 11.71 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.576e-06/0.1631, allocations: 0 / 0.6412 GB, free: 11.71 MB / 494.1 MB 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.0008805/0.1639, allocations: 0.4993 MB / 0.6417 GB, free: 11.16 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.164, allocations: 8.031 kB / 0.6417 GB, free: 11.15 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002135/0.1661, allocations: 180.5 kB / 0.6419 GB, free: 10.97 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003713/0.1665, allocations: 208.2 kB / 0.6421 GB, free: 10.73 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.465e-05/0.1666, allocations: 12.7 kB / 0.6421 GB, free: 10.72 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.923e-05/0.1666, allocations: 12.38 kB / 0.6421 GB, free: 10.71 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006466/0.1673, allocations: 312.3 kB / 0.6424 GB, free: 10.37 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.1673, allocations: 0 / 0.6424 GB, free: 10.37 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.204e-05/0.1673, allocations: 15.98 kB / 0.6424 GB, free: 10.35 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.353e-05/0.1674, allocations: 4 kB / 0.6424 GB, free: 10.35 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006912/0.1681, allocations: 263.6 kB / 0.6426 GB, free: 10.09 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001791/0.1699, allocations: 1.396 MB / 0.644 GB, free: 8.578 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006366/0.1705, allocations: 194.4 kB / 0.6442 GB, free: 8.379 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002172/0.1708, allocations: 80.81 kB / 0.6443 GB, free: 8.297 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.474e-05/0.1708, allocations: 4 kB / 0.6443 GB, free: 8.293 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.328e-05/0.1708, allocations: 38.5 kB / 0.6443 GB, free: 8.246 MB / 494.1 MB Notification: Performance of pre-optimization done (n=18): time 1.803e-06/0.1709, allocations: 4 kB / 0.6443 GB, free: 8.242 MB / 494.1 MB Notification: Performance of matching and sorting (n=18): time 0.0008085/0.1717, allocations: 239.1 kB / 0.6445 GB, free: 8.004 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.589e-05/0.1717, allocations: 55.41 kB / 0.6446 GB, free: 7.938 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001519/0.1719, allocations: 162.1 kB / 0.6448 GB, free: 7.773 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.713e-05/0.1719, allocations: 33.7 kB / 0.6448 GB, free: 7.734 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.977e-05/0.172, allocations: 128 kB / 0.6449 GB, free: 7.605 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001142/0.1721, allocations: 67.09 kB / 0.645 GB, free: 7.539 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.726e-05/0.1722, allocations: 49.92 kB / 0.645 GB, free: 7.48 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001333/0.1724, allocations: 326.8 kB / 0.6453 GB, free: 7.152 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002233/0.1726, allocations: 64.42 kB / 0.6454 GB, free: 7.09 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000256/0.1729, allocations: 147.8 kB / 0.6455 GB, free: 6.914 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004618/0.1733, allocations: 222.5 kB / 0.6457 GB, free: 6.664 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.1733, allocations: 0 / 0.6457 GB, free: 6.664 MB / 494.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005673/0.1739, allocations: 253.1 kB / 0.646 GB, free: 6.41 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.158e-05/0.1739, allocations: 10.81 kB / 0.646 GB, free: 6.402 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.1739, allocations: 0 / 0.646 GB, free: 6.402 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/0.174, allocations: 4 kB / 0.646 GB, free: 6.398 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003731/0.1743, allocations: 64.2 kB / 0.6461 GB, free: 6.336 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.238e-05/0.1744, allocations: 11.98 kB / 0.6461 GB, free: 6.324 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002501/0.1746, allocations: 31.75 kB / 0.6461 GB, free: 6.293 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.485e-05/0.1747, allocations: 11.98 kB / 0.6461 GB, free: 6.281 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (28): * Single equations (assignments): 28 * Array equations: 0 * 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.0001316/0.1748, allocations: 137.7 kB / 0.6462 GB, free: 6.137 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.552e-05/0.1749, allocations: 11.91 kB / 0.6463 GB, free: 6.125 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005987/0.1755, allocations: 228.8 kB / 0.6465 GB, free: 5.891 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/0.1755, allocations: 4 kB / 0.6465 GB, free: 5.887 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.1755, allocations: 4 kB / 0.6465 GB, free: 5.883 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.798e-06/0.1755, allocations: 0 / 0.6465 GB, free: 5.883 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002761/0.1758, allocations: 245.4 kB / 0.6467 GB, free: 5.594 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.1758, allocations: 0 / 0.6467 GB, free: 5.594 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003061/0.1761, allocations: 43.97 kB / 0.6468 GB, free: 5.551 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.1761, allocations: 0 / 0.6468 GB, free: 5.551 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.827e-05/0.1761, allocations: 7.984 kB / 0.6468 GB, free: 5.543 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.1761, allocations: 0 / 0.6468 GB, free: 5.543 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/0.1761, allocations: 0 / 0.6468 GB, free: 5.543 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005662/0.1767, allocations: 303.1 kB / 0.6471 GB, free: 5.23 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001023/0.1768, allocations: 104.9 kB / 0.6472 GB, free: 5.109 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.693e-05/0.1769, allocations: 0 / 0.6472 GB, free: 5.109 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000276/0.1772, allocations: 23.92 kB / 0.6472 GB, free: 5.086 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.042e-05/0.1772, allocations: 19.91 kB / 0.6472 GB, free: 5.066 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.433e-05/0.1772, allocations: 12 kB / 0.6472 GB, free: 5.055 MB / 494.1 MB Notification: Performance of sorting global known variables: time 9.056e-05/0.1773, allocations: 111.2 kB / 0.6473 GB, free: 4.945 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1773, allocations: 0 / 0.6473 GB, free: 4.945 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003681/0.1777, allocations: 63.94 kB / 0.6474 GB, free: 4.883 MB / 494.1 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * Array equations: 0 * 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.0002237/0.1779, allocations: 140.9 kB / 0.6475 GB, free: 4.738 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0005098/0.1785, allocations: 180.4 kB / 0.6477 GB, free: 4.562 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.772e-06/0.1785, allocations: 7.984 kB / 0.6477 GB, free: 4.555 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002165/0.1787, allocations: 88.75 kB / 0.6478 GB, free: 4.469 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004482/0.1792, allocations: 55.88 kB / 0.6478 GB, free: 4.414 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009789/0.1802, allocations: 433 kB / 0.6482 GB, free: 3.961 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003061/0.1805, allocations: 0.7173 MB / 0.6489 GB, free: 3.215 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001149/0.1806, allocations: 23.42 kB / 0.649 GB, free: 3.191 MB / 494.1 MB Notification: Performance of SimCode: time 6.41e-07/0.1806, allocations: 4 kB / 0.649 GB, free: 3.188 MB / 494.1 MB Notification: Performance of Templates: time 0.005319/0.1859, allocations: 2.97 MB / 0.6519 GB, free: 244 kB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.makefile (rm -f IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & ./IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1)