Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.WaterProperties") translateModel(IDEAS.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.WaterProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001451/0.001451, allocations: 108.2 kB / 16.41 MB, free: 6.473 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.001582/0.001582, allocations: 187 kB / 17.34 MB, free: 5.754 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.344/1.344, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8044/0.8044, allocations: 132.2 MB / 423.4 MB, free: 6.586 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001274, allocations: 63.78 kB / 0.582 GB, free: 23.66 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1469/0.1482, allocations: 80.21 MB / 0.6604 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterProperties): time 0.006288/0.1546, allocations: 4.716 MB / 0.665 GB, free: 5.461 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002851/0.1574, allocations: 2.698 MB / 0.6676 GB, free: 2.754 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001415/0.1576, allocations: 0 / 0.6676 GB, free: 2.754 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.000282/0.1579, allocations: 55.61 kB / 0.6677 GB, free: 2.699 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002949/0.1583, allocations: 91.38 kB / 0.6677 GB, free: 2.609 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00133/0.1596, allocations: 0.5025 MB / 0.6682 GB, free: 2.113 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002866/0.1599, allocations: 232 kB / 0.6685 GB, free: 1.887 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.596e-05/0.16, allocations: 9.562 kB / 0.6685 GB, free: 1.871 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002399/0.1602, allocations: 127.5 kB / 0.6686 GB, free: 1.746 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000172/0.1604, allocations: 87.66 kB / 0.6687 GB, free: 1.66 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.276e-05/0.1604, allocations: 8 kB / 0.6687 GB, free: 1.652 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007683/0.1612, allocations: 367.3 kB / 0.669 GB, free: 1.293 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.621e-05/0.1613, allocations: 35.89 kB / 0.6691 GB, free: 1.258 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001094/0.1614, allocations: 87.58 kB / 0.6692 GB, free: 1.172 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0007201/0.1621, allocations: 355.1 kB / 0.6695 GB, free: 0.8242 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.1621, allocations: 0 / 0.6695 GB, free: 0.8242 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.262e-06/0.1622, allocations: 0 / 0.6695 GB, free: 0.8242 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.035e-06/0.1622, allocations: 4 kB / 0.6695 GB, free: 0.8203 MB / 0.4981 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.0008131/0.163, allocations: 0.5031 MB / 0.67 GB, free: 272 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.163, allocations: 12.03 kB / 0.67 GB, free: 260 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001876/0.1632, allocations: 20.75 kB / 0.67 GB, free: 240 kB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003329/0.1636, allocations: 212.1 kB / 0.6702 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.771e-05/0.1636, allocations: 12.7 kB / 0.6702 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.713e-05/0.1636, allocations: 16.38 kB / 0.6702 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004102/0.1641, allocations: 252.2 kB / 0.6705 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.1641, allocations: 0 / 0.6705 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.682e-05/0.1641, allocations: 12 kB / 0.6705 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.635e-05/0.1641, allocations: 4 kB / 0.6705 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004681/0.1646, allocations: 431.5 kB / 0.6709 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001169/0.1658, allocations: 0.9602 MB / 0.6719 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002907/0.1661, allocations: 155.9 kB / 0.672 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001133/0.1662, allocations: 64.83 kB / 0.6721 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00133/0.1676, allocations: 1.817 MB / 0.6738 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.064e-05/0.1676, allocations: 42.55 kB / 0.6739 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=15): time 1.523e-06/0.1676, allocations: 0 / 0.6739 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of matching and sorting (n=15): time 0.0003652/0.168, allocations: 141.5 kB / 0.674 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.039e-05/0.168, allocations: 59.34 kB / 0.6741 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001444/0.1682, allocations: 175.2 kB / 0.6742 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.438e-05/0.1682, allocations: 33.7 kB / 0.6743 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 8.578e-05/0.1683, allocations: 143.8 kB / 0.6744 GB, free: 11.17 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.739e-05/0.1684, allocations: 55.2 kB / 0.6745 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.46e-05/0.1684, allocations: 45.7 kB / 0.6745 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001148/0.1685, allocations: 326.8 kB / 0.6748 GB, free: 10.74 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.513e-05/0.1686, allocations: 35.92 kB / 0.6748 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001321/0.1688, allocations: 152 kB / 0.675 GB, free: 10.51 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002211/0.169, allocations: 197.5 kB / 0.6752 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.169, allocations: 0 / 0.6752 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003327/0.1693, allocations: 223.9 kB / 0.6754 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.1694, allocations: 8 kB / 0.6754 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.1694, allocations: 4 kB / 0.6754 GB, free: 10.03 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.828e-05/0.1694, allocations: 4 kB / 0.6754 GB, free: 10.03 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001735/0.1696, allocations: 56.33 kB / 0.6755 GB, free: 9.973 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.091e-05/0.1696, allocations: 8 kB / 0.6755 GB, free: 9.965 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001209/0.1697, allocations: 31.69 kB / 0.6755 GB, free: 9.934 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.823e-05/0.1697, allocations: 11.98 kB / 0.6755 GB, free: 9.922 MB / 0.5137 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.0001162/0.1699, allocations: 137.7 kB / 0.6756 GB, free: 9.777 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.515e-05/0.1699, allocations: 19.81 kB / 0.6757 GB, free: 9.758 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003033/0.1702, allocations: 143.1 kB / 0.6758 GB, free: 9.617 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.33e-05/0.1703, allocations: 7.938 kB / 0.6758 GB, free: 9.609 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.1703, allocations: 0 / 0.6758 GB, free: 9.609 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.1703, allocations: 7.984 kB / 0.6758 GB, free: 9.602 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002433/0.1705, allocations: 217.5 kB / 0.676 GB, free: 9.34 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.1705, allocations: 0 / 0.676 GB, free: 9.34 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.923e-05/0.1706, allocations: 23.98 kB / 0.676 GB, free: 9.316 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.1706, allocations: 0 / 0.676 GB, free: 9.316 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.172e-05/0.1707, allocations: 4 kB / 0.676 GB, free: 9.312 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-06/0.1707, allocations: 11.94 kB / 0.6761 GB, free: 9.301 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.1707, allocations: 0 / 0.6761 GB, free: 9.301 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002573/0.1709, allocations: 227.3 kB / 0.6763 GB, free: 9.062 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 9.146e-05/0.171, allocations: 104.9 kB / 0.6764 GB, free: 8.941 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.058e-05/0.1711, allocations: 4 kB / 0.6764 GB, free: 8.938 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000208/0.1713, allocations: 19.92 kB / 0.6764 GB, free: 8.918 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.486e-05/0.1713, allocations: 7.984 kB / 0.6764 GB, free: 8.91 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.311e-05/0.1714, allocations: 19.92 kB / 0.6764 GB, free: 8.891 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 8.307e-05/0.1714, allocations: 116 kB / 0.6765 GB, free: 8.777 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1715, allocations: 3.938 kB / 0.6765 GB, free: 8.773 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003968/0.1719, allocations: 79.94 kB / 0.6766 GB, free: 8.695 MB / 0.5137 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.0002962/0.1722, allocations: 179.1 kB / 0.6768 GB, free: 8.508 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002406/0.1724, allocations: 119.3 kB / 0.6769 GB, free: 8.395 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.1724, allocations: 4.062 kB / 0.6769 GB, free: 8.391 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 6.766e-05/0.1725, allocations: 43.92 kB / 0.6769 GB, free: 8.348 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004306/0.1729, allocations: 43.95 kB / 0.677 GB, free: 8.305 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007165/0.1737, allocations: 380.3 kB / 0.6774 GB, free: 7.898 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000261/0.1739, allocations: 0.7129 MB / 0.678 GB, free: 7.16 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.658e-05/0.174, allocations: 27.42 kB / 0.6781 GB, free: 7.133 MB / 0.5137 GB Notification: Performance of SimCode: time 4.51e-07/0.174, allocations: 4 kB / 0.6781 GB, free: 7.129 MB / 0.5137 GB Notification: Performance of Templates: time 0.005347/0.1794, allocations: 3.183 MB / 0.6812 GB, free: 3.965 MB / 0.5137 GB make -j1 -f IDEAS_IDEAS.Media.Examples.WaterProperties.makefile (rm -f IDEAS_IDEAS.Media.Examples.WaterProperties.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.WaterProperties.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.WaterProperties.pipe >> ../files/IDEAS_IDEAS.Media.Examples.WaterProperties.sim & ./IDEAS_IDEAS.Media.Examples.WaterProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.WaterProperties.pipe 2>&1)