Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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 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.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.WaterProperties") translateModel(IBPSA.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.WaterProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001354/0.001354, allocations: 109.4 kB / 16.41 MB, free: 6.027 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.0014/0.0014, allocations: 190.1 kB / 17.34 MB, free: 5.633 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.297/1.297, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7156/0.7156, allocations: 115.3 MB / 406.5 MB, free: 6.207 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001095/0.001095, allocations: 60.39 kB / 0.5577 GB, free: 32.27 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1467/0.1478, allocations: 76.18 MB / 0.6321 GB, free: 4.367 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.WaterProperties): time 0.006/0.1539, allocations: 4.709 MB / 0.6367 GB, free: 15.62 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003125/0.1571, allocations: 2.695 MB / 0.6393 GB, free: 12.92 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001008/0.1572, allocations: 7.938 kB / 0.6393 GB, free: 12.91 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003388/0.1575, allocations: 47.67 kB / 0.6394 GB, free: 12.86 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000317/0.1579, allocations: 95.42 kB / 0.6395 GB, free: 12.77 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001126/0.159, allocations: 0.5014 MB / 0.64 GB, free: 12.27 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002487/0.1593, allocations: 231.9 kB / 0.6402 GB, free: 12.05 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.853e-05/0.1593, allocations: 13.55 kB / 0.6402 GB, free: 12.03 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001797/0.1595, allocations: 119.5 kB / 0.6403 GB, free: 11.91 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001473/0.1597, allocations: 91.66 kB / 0.6404 GB, free: 11.82 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.416e-05/0.1597, allocations: 8 kB / 0.6404 GB, free: 11.82 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005962/0.1603, allocations: 363.3 kB / 0.6408 GB, free: 11.46 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.595e-05/0.1604, allocations: 39.88 kB / 0.6408 GB, free: 11.42 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.224e-05/0.1605, allocations: 79.66 kB / 0.6409 GB, free: 11.34 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005125/0.161, allocations: 359.1 kB / 0.6412 GB, free: 10.99 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.161, allocations: 3.938 kB / 0.6412 GB, free: 10.99 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.161, allocations: 0 / 0.6412 GB, free: 10.99 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.161, allocations: 0 / 0.6412 GB, free: 10.99 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.0008013/0.1619, allocations: 0.5031 MB / 0.6417 GB, free: 10.43 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/0.1619, allocations: 8.031 kB / 0.6417 GB, free: 10.43 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000168/0.1621, allocations: 24.75 kB / 0.6417 GB, free: 10.4 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002899/0.1624, allocations: 220.1 kB / 0.642 GB, free: 10.15 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.746e-05/0.1624, allocations: 12.7 kB / 0.642 GB, free: 10.14 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.569e-05/0.1624, allocations: 16.38 kB / 0.642 GB, free: 10.12 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003846/0.1628, allocations: 244.3 kB / 0.6422 GB, free: 9.863 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.1628, allocations: 3.938 kB / 0.6422 GB, free: 9.859 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.911e-05/0.1629, allocations: 12 kB / 0.6422 GB, free: 9.848 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.694e-05/0.1629, allocations: 7.984 kB / 0.6422 GB, free: 9.84 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004641/0.1634, allocations: 435.3 kB / 0.6427 GB, free: 9.414 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001066/0.1645, allocations: 0.9487 MB / 0.6436 GB, free: 8.375 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000261/0.1647, allocations: 163.5 kB / 0.6437 GB, free: 8.207 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001031/0.1648, allocations: 60.83 kB / 0.6438 GB, free: 8.145 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00135/0.1662, allocations: 1.829 MB / 0.6456 GB, free: 5.957 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.137e-05/0.1662, allocations: 38.56 kB / 0.6456 GB, free: 5.91 MB / 494.1 MB Notification: Performance of pre-optimization done (n=15): time 1.753e-06/0.1663, allocations: 0 / 0.6456 GB, free: 5.91 MB / 494.1 MB Notification: Performance of matching and sorting (n=15): time 0.0003605/0.1666, allocations: 144.1 kB / 0.6458 GB, free: 5.766 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.274e-05/0.1667, allocations: 67.28 kB / 0.6458 GB, free: 5.688 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001402/0.1668, allocations: 161 kB / 0.646 GB, free: 5.52 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.55e-05/0.1668, allocations: 33.7 kB / 0.646 GB, free: 5.48 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.044e-05/0.1669, allocations: 139.8 kB / 0.6461 GB, free: 5.34 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.547e-05/0.167, allocations: 55.2 kB / 0.6462 GB, free: 5.285 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.316e-05/0.1671, allocations: 53.61 kB / 0.6462 GB, free: 5.227 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001746/0.1672, allocations: 326.8 kB / 0.6466 GB, free: 4.898 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.301e-05/0.1673, allocations: 35.97 kB / 0.6466 GB, free: 4.863 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001307/0.1674, allocations: 138.2 kB / 0.6467 GB, free: 4.68 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002174/0.1677, allocations: 209.4 kB / 0.6469 GB, free: 4.426 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.1677, allocations: 0 / 0.6469 GB, free: 4.426 MB / 494.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002959/0.168, allocations: 215.6 kB / 0.6471 GB, free: 4.211 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.168, allocations: 4 kB / 0.6471 GB, free: 4.207 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/0.168, allocations: 4 kB / 0.6471 GB, free: 4.203 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.71e-05/0.168, allocations: 4 kB / 0.6471 GB, free: 4.199 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000173/0.1682, allocations: 60.33 kB / 0.6472 GB, free: 4.141 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.166e-05/0.1682, allocations: 19.91 kB / 0.6472 GB, free: 4.121 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001022/0.1683, allocations: 27.69 kB / 0.6472 GB, free: 4.094 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.647e-05/0.1684, allocations: 12 kB / 0.6472 GB, free: 4.082 MB / 494.1 MB 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.0001017/0.1685, allocations: 133.7 kB / 0.6474 GB, free: 3.941 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.041e-05/0.1685, allocations: 15.81 kB / 0.6474 GB, free: 3.926 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002696/0.1688, allocations: 147.1 kB / 0.6475 GB, free: 3.777 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.023e-05/0.1688, allocations: 7.922 kB / 0.6475 GB, free: 3.77 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.1688, allocations: 0 / 0.6475 GB, free: 3.77 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.1688, allocations: 4 kB / 0.6475 GB, free: 3.766 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002287/0.1691, allocations: 217.5 kB / 0.6478 GB, free: 3.504 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.614e-06/0.1691, allocations: 7.984 kB / 0.6478 GB, free: 3.496 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.267e-05/0.1692, allocations: 19.94 kB / 0.6478 GB, free: 3.477 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.152e-05/0.1692, allocations: 4 kB / 0.6478 GB, free: 3.473 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.128e-05/0.1692, allocations: 8 kB / 0.6478 GB, free: 3.465 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.978e-06/0.1692, allocations: 7.922 kB / 0.6478 GB, free: 3.457 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1692, allocations: 0 / 0.6478 GB, free: 3.457 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002266/0.1695, allocations: 219.3 kB / 0.648 GB, free: 3.227 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.641e-05/0.1695, allocations: 109 kB / 0.6481 GB, free: 3.102 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.506e-05/0.1696, allocations: 7.922 kB / 0.6481 GB, free: 3.094 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001932/0.1698, allocations: 15.94 kB / 0.6481 GB, free: 3.078 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.578e-05/0.1698, allocations: 7.984 kB / 0.6481 GB, free: 3.07 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.837e-05/0.1698, allocations: 15.98 kB / 0.6482 GB, free: 3.055 MB / 494.1 MB Notification: Performance of sorting global known variables: time 9.414e-05/0.1699, allocations: 121.6 kB / 0.6483 GB, free: 2.938 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1699, allocations: 0 / 0.6483 GB, free: 2.938 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000371/0.1703, allocations: 79.92 kB / 0.6483 GB, free: 2.859 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 (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.0002889/0.1706, allocations: 175.1 kB / 0.6485 GB, free: 2.676 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002194/0.1708, allocations: 127.2 kB / 0.6486 GB, free: 2.555 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.721e-06/0.1709, allocations: 4.062 kB / 0.6486 GB, free: 2.551 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 6.875e-05/0.1709, allocations: 43.92 kB / 0.6487 GB, free: 2.508 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004218/0.1714, allocations: 51.8 kB / 0.6487 GB, free: 2.457 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006202/0.172, allocations: 343 kB / 0.6491 GB, free: 2.098 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002666/0.1723, allocations: 0.7166 MB / 0.6498 GB, free: 1.352 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001436/0.1724, allocations: 45.91 kB / 0.6498 GB, free: 1.309 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.868e-05/0.1725, allocations: 19.44 kB / 0.6498 GB, free: 1.289 MB / 494.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1725, allocations: 0 / 0.6498 GB, free: 1.289 MB / 494.1 MB Notification: Performance of Templates: time 0.006258/0.1787, allocations: 3.436 MB / 0.6532 GB, free: 13.88 MB / 0.4981 GB make -j1 -f IBPSA_latest_IBPSA.Media.Examples.WaterProperties.makefile (rm -f IBPSA_latest_IBPSA.Media.Examples.WaterProperties.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.WaterProperties.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.WaterProperties.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.WaterProperties.sim & ./IBPSA_latest_IBPSA.Media.Examples.WaterProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Examples.WaterProperties.pipe 2>&1)