Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.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.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001176/0.001176, allocations: 181.6 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7231/0.7231, 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.583/1.583, allocations: 222.9 MB / 403.4 MB, free: 7.066 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.001265/0.001265, allocations: 99.12 kB / 484.4 MB, free: 8.695 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001122/0.001122, allocations: 52.11 kB / 0.5618 GB, free: 71.05 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1565/0.1576, allocations: 80.2 MB / 0.6402 GB, free: 6.777 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.004978/0.1627, allocations: 3.348 MB / 0.6434 GB, free: 3.402 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001122/0.1628, allocations: 51.86 kB / 0.6435 GB, free: 3.352 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.704e-05/0.1629, allocations: 0 / 0.6435 GB, free: 3.352 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000116/0.163, allocations: 11.92 kB / 0.6435 GB, free: 3.34 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 7.808e-05/0.1631, allocations: 7.938 kB / 0.6435 GB, free: 3.332 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005023/0.1636, allocations: 176.9 kB / 0.6437 GB, free: 3.16 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001093/0.1637, allocations: 55.83 kB / 0.6437 GB, free: 3.105 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.735e-05/0.1637, allocations: 4 kB / 0.6437 GB, free: 3.102 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.338e-05/0.1638, allocations: 23.91 kB / 0.6438 GB, free: 3.078 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.806e-05/0.1639, allocations: 8 kB / 0.6438 GB, free: 3.07 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.212e-05/0.1639, allocations: 3.938 kB / 0.6438 GB, free: 3.066 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003369/0.1642, allocations: 171.5 kB / 0.6439 GB, free: 2.898 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 4.403e-05/0.1643, allocations: 7.984 kB / 0.6439 GB, free: 2.891 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 3.23e-05/0.1643, allocations: 11.94 kB / 0.6439 GB, free: 2.879 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002696/0.1646, allocations: 139.9 kB / 0.6441 GB, free: 2.742 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.1646, allocations: 0 / 0.6441 GB, free: 2.742 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1646, allocations: 0 / 0.6441 GB, free: 2.742 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.1646, allocations: 4 kB / 0.6441 GB, free: 2.738 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004777/0.1651, allocations: 349.2 kB / 0.6444 GB, free: 2.352 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.1652, allocations: 8.031 kB / 0.6444 GB, free: 2.344 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.521e-05/0.1652, allocations: 4.938 kB / 0.6444 GB, free: 2.34 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001249/0.1653, allocations: 164.4 kB / 0.6446 GB, free: 2.141 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.149e-05/0.1654, allocations: 30.27 kB / 0.6446 GB, free: 2.105 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.037e-05/0.1654, allocations: 4.359 kB / 0.6446 GB, free: 2.102 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000158/0.1656, allocations: 53.56 kB / 0.6447 GB, free: 2.043 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.1656, allocations: 4 kB / 0.6447 GB, free: 2.039 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.526e-05/0.1656, allocations: 4 kB / 0.6447 GB, free: 2.035 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.724e-05/0.1657, allocations: 0 / 0.6447 GB, free: 2.035 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.759e-05/0.1657, allocations: 15.98 kB / 0.6447 GB, free: 2.02 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006746/0.1664, allocations: 0.5871 MB / 0.6453 GB, free: 1.309 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.127e-05/0.1664, allocations: 18.52 kB / 0.6453 GB, free: 1.281 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.074e-05/0.1665, allocations: 16.86 kB / 0.6453 GB, free: 1.262 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002355/0.1667, allocations: 344.5 kB / 0.6456 GB, free: 0.8516 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.892e-05/0.1668, allocations: 30.56 kB / 0.6457 GB, free: 0.8125 MB / 442.7 MB Notification: Performance of pre-optimization done (n=1): time 2.294e-06/0.1668, allocations: 0 / 0.6457 GB, free: 0.8125 MB / 442.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001662/0.1669, allocations: 41.64 kB / 0.6457 GB, free: 0.7656 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.28e-05/0.167, allocations: 55.34 kB / 0.6458 GB, free: 0.6992 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.92e-05/0.1671, allocations: 97.84 kB / 0.6458 GB, free: 0.5938 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.431e-05/0.1671, allocations: 29.83 kB / 0.6459 GB, free: 0.5586 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.114e-05/0.1671, allocations: 92.05 kB / 0.646 GB, free: 476 kB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.16e-06/0.1672, allocations: 3.938 kB / 0.646 GB, free: 472 kB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.129e-05/0.1672, allocations: 17.7 kB / 0.646 GB, free: 448 kB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001027/0.1673, allocations: 318.8 kB / 0.6463 GB, free: 120 kB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.458e-05/0.1673, allocations: 4 kB / 0.6463 GB, free: 116 kB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.975e-05/0.1673, allocations: 13.72 kB / 0.6463 GB, free: 96 kB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.471e-05/0.1674, allocations: 25.7 kB / 0.6463 GB, free: 64 kB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.1674, allocations: 0 / 0.6463 GB, free: 64 kB / 442.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.656e-05/0.1675, allocations: 53.62 kB / 0.6464 GB, free: 4 kB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.1675, allocations: 4 kB / 0.6464 GB, free: 0 / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.938e-06/0.1675, allocations: 0 / 0.6464 GB, free: 0 / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.1675, allocations: 0 / 0.6464 GB, free: 0 / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.721e-05/0.1676, allocations: 8.047 kB / 0.6464 GB, free: 15.99 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.93e-06/0.1676, allocations: 0 / 0.6464 GB, free: 15.99 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.201e-05/0.1676, allocations: 11.91 kB / 0.6464 GB, free: 15.98 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.887e-06/0.1676, allocations: 0 / 0.6464 GB, free: 15.98 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (3): * Single equations (assignments): 3 * 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 6.857e-05/0.1677, allocations: 113.8 kB / 0.6465 GB, free: 15.86 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.424e-05/0.1677, allocations: 0 / 0.6465 GB, free: 15.86 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001115/0.1679, allocations: 124.8 kB / 0.6466 GB, free: 15.73 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.905e-05/0.1679, allocations: 176.3 kB / 0.6468 GB, free: 15.55 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.273e-05/0.168, allocations: 188.2 kB / 0.647 GB, free: 15.36 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.266e-05/0.1681, allocations: 180.5 kB / 0.6471 GB, free: 15.17 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002259/0.1683, allocations: 413.1 kB / 0.6475 GB, free: 14.71 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.834e-05/0.1683, allocations: 101 kB / 0.6476 GB, free: 14.6 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.476e-05/0.1684, allocations: 101 kB / 0.6477 GB, free: 14.5 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.181e-05/0.1685, allocations: 184.2 kB / 0.6479 GB, free: 14.31 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.446e-05/0.1685, allocations: 188.3 kB / 0.6481 GB, free: 14.12 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.409e-05/0.1686, allocations: 180.2 kB / 0.6483 GB, free: 13.93 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.452e-05/0.1686, allocations: 180.2 kB / 0.6484 GB, free: 13.75 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003573/0.169, allocations: 0.8495 MB / 0.6493 GB, free: 12.84 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.09e-05/0.1691, allocations: 186 kB / 0.6494 GB, free: 12.63 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.176e-05/0.1692, allocations: 184.2 kB / 0.6496 GB, free: 12.44 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001562/0.1694, allocations: 124.8 kB / 0.6497 GB, free: 12.31 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.745e-05/0.1694, allocations: 176.3 kB / 0.6499 GB, free: 12.13 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.033e-05/0.1695, allocations: 101 kB / 0.65 GB, free: 12.03 MB / 458.7 MB Notification: Performance of sorting global known variables: time 9.68e-05/0.1696, allocations: 95.27 kB / 0.6501 GB, free: 11.93 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1696, allocations: 3.938 kB / 0.6501 GB, free: 11.93 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0004138/0.17, allocations: 28 kB / 0.6501 GB, free: 11.9 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 (0): * Single equations (assignments): 0 * 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.0002935/0.1703, allocations: 232.5 kB / 0.6503 GB, free: 11.67 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 6.938e-05/0.1704, allocations: 11.92 kB / 0.6504 GB, free: 11.66 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.1704, allocations: 0 / 0.6504 GB, free: 11.66 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 1.373e-06/0.1704, allocations: 4 kB / 0.6504 GB, free: 11.65 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004703/0.1709, allocations: 0.5265 MB / 0.6509 GB, free: 11.12 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000273/0.1712, allocations: 175.9 kB / 0.651 GB, free: 10.92 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002281/0.1714, allocations: 0.6731 MB / 0.6517 GB, free: 10.22 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 4.149e-05/0.1715, allocations: 11.92 kB / 0.6517 GB, free: 10.21 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.506e-05/0.1715, allocations: 11.44 kB / 0.6517 GB, free: 10.2 MB / 458.7 MB Notification: Performance of SimCode: time 2.21e-07/0.1715, allocations: 0 / 0.6517 GB, free: 10.2 MB / 458.7 MB Notification: Performance of Templates: time 0.003409/0.1749, allocations: 1.198 MB / 0.6529 GB, free: 9.039 MB / 458.7 MB make -j1 -f IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile (rm -f IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & ./IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1)