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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.00157/0.001571, allocations: 182 kB / 15.98 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7023/0.7023, allocations: 132.2 MB / 148.9 MB, free: 12.16 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.515/1.515, allocations: 222.9 MB / 403.4 MB, free: 7.086 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001062/0.001062, allocations: 111.2 kB / 484.4 MB, free: 8.711 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009794/0.0009795, allocations: 51.92 kB / 0.5618 GB, free: 71.08 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1386/0.1396, allocations: 80.2 MB / 0.6402 GB, free: 6.809 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterProperties): time 0.00605/0.1456, allocations: 4.743 MB / 0.6448 GB, free: 2.027 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.002739/0.1484, allocations: 2.734 MB / 0.6475 GB, free: 15.29 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.201e-05/0.1486, allocations: 0 / 0.6475 GB, free: 15.29 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002949/0.1489, allocations: 35.81 kB / 0.6475 GB, free: 15.25 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002345/0.1491, allocations: 95.41 kB / 0.6476 GB, free: 15.16 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00106/0.1502, allocations: 454.2 kB / 0.648 GB, free: 14.71 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002609/0.1505, allocations: 315.8 kB / 0.6483 GB, free: 14.4 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.986e-05/0.1505, allocations: 13.56 kB / 0.6483 GB, free: 14.39 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001829/0.1507, allocations: 111.6 kB / 0.6484 GB, free: 14.28 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001285/0.1509, allocations: 95.59 kB / 0.6485 GB, free: 14.19 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 2.202e-05/0.1509, allocations: 4 kB / 0.6485 GB, free: 14.18 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006128/0.1515, allocations: 371.2 kB / 0.6489 GB, free: 13.82 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 7.204e-05/0.1516, allocations: 35.89 kB / 0.6489 GB, free: 13.79 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 8.666e-05/0.1517, allocations: 87.64 kB / 0.649 GB, free: 13.7 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005427/0.1522, allocations: 359.3 kB / 0.6493 GB, free: 13.35 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.1522, allocations: 7.984 kB / 0.6494 GB, free: 13.34 MB / 458.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.1523, allocations: 0 / 0.6494 GB, free: 13.34 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.699e-06/0.1523, allocations: 0 / 0.6494 GB, free: 13.34 MB / 458.7 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.0006676/0.1529, allocations: 0.4915 MB / 0.6498 GB, free: 12.8 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.324e-05/0.153, allocations: 12.03 kB / 0.6498 GB, free: 12.79 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001441/0.1531, allocations: 20.75 kB / 0.6499 GB, free: 12.77 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001991/0.1533, allocations: 216 kB / 0.6501 GB, free: 12.52 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.471e-05/0.1534, allocations: 12.7 kB / 0.6501 GB, free: 12.51 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.904e-05/0.1534, allocations: 20.36 kB / 0.6501 GB, free: 12.49 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003281/0.1537, allocations: 253.5 kB / 0.6503 GB, free: 12.22 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.1537, allocations: 0 / 0.6503 GB, free: 12.22 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.051e-05/0.1538, allocations: 8 kB / 0.6504 GB, free: 12.21 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3e-05/0.1538, allocations: 7.984 kB / 0.6504 GB, free: 12.21 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004326/0.1542, allocations: 431.3 kB / 0.6508 GB, free: 11.79 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001009/0.1553, allocations: 0.9488 MB / 0.6517 GB, free: 10.75 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002519/0.1555, allocations: 160.2 kB / 0.6518 GB, free: 10.58 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.483e-05/0.1556, allocations: 60.89 kB / 0.6519 GB, free: 10.52 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001202/0.1568, allocations: 1.825 MB / 0.6537 GB, free: 8.336 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.863e-05/0.1569, allocations: 42.56 kB / 0.6537 GB, free: 8.285 MB / 458.7 MB Notification: Performance of pre-optimization done (n=15): time 1.352e-06/0.1569, allocations: 0 / 0.6537 GB, free: 8.285 MB / 458.7 MB Notification: Performance of matching and sorting (n=15): time 0.0003073/0.1572, allocations: 155 kB / 0.6539 GB, free: 8.129 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.341e-05/0.1572, allocations: 55.34 kB / 0.6539 GB, free: 8.062 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001335/0.1574, allocations: 167.2 kB / 0.6541 GB, free: 7.883 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.886e-05/0.1574, allocations: 29.7 kB / 0.6541 GB, free: 7.848 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.994e-05/0.1575, allocations: 151.7 kB / 0.6543 GB, free: 7.695 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.141e-05/0.1575, allocations: 47.3 kB / 0.6543 GB, free: 7.648 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.994e-05/0.1576, allocations: 53.61 kB / 0.6544 GB, free: 7.59 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 9.404e-05/0.1577, allocations: 326.8 kB / 0.6547 GB, free: 7.262 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.918e-05/0.1578, allocations: 43.97 kB / 0.6547 GB, free: 7.219 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001158/0.1579, allocations: 141.7 kB / 0.6548 GB, free: 7.031 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001949/0.1581, allocations: 189.5 kB / 0.655 GB, free: 6.797 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.1581, allocations: 0 / 0.655 GB, free: 6.797 MB / 458.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002919/0.1584, allocations: 219.2 kB / 0.6552 GB, free: 6.578 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.062e-05/0.1584, allocations: 13.03 kB / 0.6553 GB, free: 6.566 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/0.1585, allocations: 8 kB / 0.6553 GB, free: 6.559 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.826e-05/0.1585, allocations: 4 kB / 0.6553 GB, free: 6.555 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001701/0.1587, allocations: 51.86 kB / 0.6553 GB, free: 6.504 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.422e-05/0.1587, allocations: 11.97 kB / 0.6553 GB, free: 6.492 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001134/0.1588, allocations: 35.62 kB / 0.6554 GB, free: 6.457 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.131e-05/0.1588, allocations: 12 kB / 0.6554 GB, free: 6.445 MB / 458.7 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.0001292/0.159, allocations: 130.4 kB / 0.6555 GB, free: 6.309 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.538e-05/0.159, allocations: 11.91 kB / 0.6555 GB, free: 6.297 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002908/0.1593, allocations: 158.9 kB / 0.6557 GB, free: 6.141 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.177e-05/0.1593, allocations: 7.938 kB / 0.6557 GB, free: 6.133 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.76e-06/0.1593, allocations: 0 / 0.6557 GB, free: 6.133 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.808e-06/0.1594, allocations: 0 / 0.6557 GB, free: 6.133 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002425/0.1596, allocations: 217.5 kB / 0.6559 GB, free: 5.871 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.1596, allocations: 0 / 0.6559 GB, free: 5.871 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.234e-05/0.1597, allocations: 24 kB / 0.6559 GB, free: 5.848 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.1597, allocations: 0 / 0.6559 GB, free: 5.848 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.524e-05/0.1597, allocations: 7.984 kB / 0.6559 GB, free: 5.84 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.1597, allocations: 7.938 kB / 0.6559 GB, free: 5.832 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1597, allocations: 0 / 0.6559 GB, free: 5.832 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006493/0.1604, allocations: 0.8155 MB / 0.6567 GB, free: 4.961 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001158/0.1605, allocations: 104.9 kB / 0.6568 GB, free: 4.84 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.51e-05/0.1606, allocations: 7.938 kB / 0.6568 GB, free: 4.832 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001993/0.1608, allocations: 23.91 kB / 0.6568 GB, free: 4.809 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.712e-05/0.1608, allocations: 15.98 kB / 0.6569 GB, free: 4.793 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.125e-05/0.1608, allocations: 7.984 kB / 0.6569 GB, free: 4.785 MB / 458.7 MB Notification: Performance of sorting global known variables: time 9.459e-05/0.1609, allocations: 120 kB / 0.657 GB, free: 4.668 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1609, allocations: 0 / 0.657 GB, free: 4.668 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0005071/0.1615, allocations: 79.94 kB / 0.657 GB, free: 4.59 MB / 458.7 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.0004721/0.1619, allocations: 171.2 kB / 0.6572 GB, free: 4.414 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0002437/0.1622, allocations: 119.7 kB / 0.6573 GB, free: 4.297 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.1622, allocations: 3.938 kB / 0.6573 GB, free: 4.293 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 6.7e-05/0.1623, allocations: 51.23 kB / 0.6574 GB, free: 4.246 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004627/0.1627, allocations: 55.91 kB / 0.6574 GB, free: 4.191 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000835/0.1636, allocations: 0.5187 MB / 0.6579 GB, free: 3.637 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002854/0.1639, allocations: 0.717 MB / 0.6586 GB, free: 2.891 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0001907/0.1641, allocations: 41.92 kB / 0.6587 GB, free: 2.848 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.922e-05/0.1641, allocations: 23.44 kB / 0.6587 GB, free: 2.824 MB / 458.7 MB Notification: Performance of SimCode: time 3.6e-07/0.1641, allocations: 4 kB / 0.6587 GB, free: 2.82 MB / 458.7 MB Notification: Performance of Templates: time 0.006455/0.1706, allocations: 3.369 MB / 0.662 GB, free: 15.48 MB / 474.7 MB 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)