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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001318/0.001318, allocations: 105.9 kB / 16.41 MB, free: 6.445 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.001341/0.001341, allocations: 185.5 kB / 17.34 MB, free: 5.719 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.383/1.383, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8004/0.8004, allocations: 132.2 MB / 423.4 MB, free: 6.645 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001196/0.001196, allocations: 62.59 kB / 0.582 GB, free: 23.68 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1577/0.1589, allocations: 80.2 MB / 0.6603 GB, free: 10.31 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.005277/0.1643, allocations: 3.296 MB / 0.6636 GB, free: 6.992 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0001136/0.1644, allocations: 47.88 kB / 0.6636 GB, free: 6.945 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.858e-05/0.1644, allocations: 3.938 kB / 0.6636 GB, free: 6.941 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001178/0.1646, allocations: 7.922 kB / 0.6636 GB, free: 6.934 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.733e-05/0.1647, allocations: 7.984 kB / 0.6636 GB, free: 6.926 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000632/0.1653, allocations: 190.3 kB / 0.6638 GB, free: 6.742 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001019/0.1654, allocations: 35.84 kB / 0.6638 GB, free: 6.707 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.991e-05/0.1655, allocations: 0 / 0.6638 GB, free: 6.707 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.576e-05/0.1655, allocations: 15.98 kB / 0.6638 GB, free: 6.691 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.9e-05/0.1656, allocations: 11.92 kB / 0.6639 GB, free: 6.68 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.382e-05/0.1656, allocations: 0 / 0.6639 GB, free: 6.68 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003686/0.166, allocations: 175.6 kB / 0.664 GB, free: 6.508 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.13e-05/0.1661, allocations: 11.98 kB / 0.664 GB, free: 6.496 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.591e-05/0.1661, allocations: 7.984 kB / 0.664 GB, free: 6.488 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003012/0.1664, allocations: 143.6 kB / 0.6642 GB, free: 6.348 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.1664, allocations: 3.938 kB / 0.6642 GB, free: 6.344 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.302e-06/0.1664, allocations: 0 / 0.6642 GB, free: 6.344 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.189e-06/0.1664, allocations: 0 / 0.6642 GB, free: 6.344 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004609/0.1669, allocations: 343.5 kB / 0.6645 GB, free: 5.961 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.575e-05/0.1669, allocations: 8.031 kB / 0.6645 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.481e-05/0.167, allocations: 8.938 kB / 0.6645 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001293/0.1671, allocations: 164.3 kB / 0.6647 GB, free: 5.746 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.377e-05/0.1672, allocations: 26.27 kB / 0.6647 GB, free: 5.715 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.31e-05/0.1672, allocations: 4.375 kB / 0.6647 GB, free: 5.711 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001624/0.1674, allocations: 57.53 kB / 0.6648 GB, free: 5.648 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.1674, allocations: 0 / 0.6648 GB, free: 5.648 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.205e-05/0.1674, allocations: 0 / 0.6648 GB, free: 5.648 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.299e-05/0.1675, allocations: 4 kB / 0.6648 GB, free: 5.645 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.697e-05/0.1675, allocations: 15.92 kB / 0.6648 GB, free: 5.629 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006955/0.1682, allocations: 0.5872 MB / 0.6654 GB, free: 4.918 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.12e-05/0.1683, allocations: 18.58 kB / 0.6654 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.697e-05/0.1683, allocations: 8.797 kB / 0.6654 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002624/0.1686, allocations: 348.5 kB / 0.6657 GB, free: 4.465 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.64e-05/0.1686, allocations: 34.56 kB / 0.6658 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.323e-06/0.1686, allocations: 0 / 0.6658 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001563/0.1688, allocations: 33.69 kB / 0.6658 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.432e-05/0.1688, allocations: 55.41 kB / 0.6658 GB, free: 4.316 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.83e-05/0.1689, allocations: 101.8 kB / 0.6659 GB, free: 4.207 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.636e-05/0.1689, allocations: 25.7 kB / 0.666 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.052e-05/0.169, allocations: 88.05 kB / 0.666 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.849e-06/0.169, allocations: 0 / 0.666 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.132e-05/0.169, allocations: 21.75 kB / 0.6661 GB, free: 4.059 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001133/0.1692, allocations: 322.8 kB / 0.6664 GB, free: 3.734 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.753e-05/0.1692, allocations: 7.938 kB / 0.6664 GB, free: 3.727 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.625e-05/0.1692, allocations: 21.72 kB / 0.6664 GB, free: 3.699 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.263e-05/0.1693, allocations: 13.72 kB / 0.6664 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.1693, allocations: 0 / 0.6664 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.881e-05/0.1694, allocations: 57.62 kB / 0.6665 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.1694, allocations: 4 kB / 0.6665 GB, free: 3.613 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.1694, allocations: 0 / 0.6665 GB, free: 3.613 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.1694, allocations: 0 / 0.6665 GB, free: 3.613 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.064e-05/0.1695, allocations: 11.98 kB / 0.6665 GB, free: 3.602 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/0.1695, allocations: 4 kB / 0.6665 GB, free: 3.598 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.282e-05/0.1695, allocations: 3.938 kB / 0.6665 GB, free: 3.594 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.297e-06/0.1695, allocations: 0 / 0.6665 GB, free: 3.594 MB / 0.4981 GB 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 7.757e-05/0.1696, allocations: 118.7 kB / 0.6666 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.778e-05/0.1696, allocations: 4.062 kB / 0.6666 GB, free: 3.465 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001185/0.1698, allocations: 124.8 kB / 0.6667 GB, free: 3.328 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.669e-05/0.1699, allocations: 184.2 kB / 0.6669 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-05/0.1699, allocations: 184.2 kB / 0.6671 GB, free: 2.953 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.395e-05/0.17, allocations: 176.3 kB / 0.6672 GB, free: 2.773 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00025/0.1702, allocations: 413.2 kB / 0.6676 GB, free: 2.312 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-05/0.1703, allocations: 108.9 kB / 0.6677 GB, free: 2.199 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.367e-05/0.1703, allocations: 105 kB / 0.6678 GB, free: 2.09 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.576e-05/0.1704, allocations: 180.2 kB / 0.668 GB, free: 1.906 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.488e-05/0.1705, allocations: 180.3 kB / 0.6682 GB, free: 1.723 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.103e-05/0.1706, allocations: 180.2 kB / 0.6684 GB, free: 1.539 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.976e-05/0.1706, allocations: 180.3 kB / 0.6685 GB, free: 1.355 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001483/0.1708, allocations: 315.6 kB / 0.6688 GB, free: 1.023 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.451e-05/0.1709, allocations: 178.4 kB / 0.669 GB, free: 0.8242 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.098e-05/0.171, allocations: 184.2 kB / 0.6692 GB, free: 0.6367 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001557/0.1711, allocations: 121 kB / 0.6693 GB, free: 0.5117 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.908e-05/0.1712, allocations: 176.3 kB / 0.6695 GB, free: 340 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.308e-05/0.1712, allocations: 108.9 kB / 0.6696 GB, free: 224 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.64e-05/0.1713, allocations: 83.27 kB / 0.6696 GB, free: 140 kB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1713, allocations: 0 / 0.6696 GB, free: 140 kB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003094/0.1716, allocations: 32 kB / 0.6697 GB, free: 108 kB / 0.4981 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 (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.0002928/0.1719, allocations: 237.4 kB / 0.6699 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 7.723e-05/0.172, allocations: 15.92 kB / 0.6699 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.172, allocations: 128 / 0.6699 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 4.709e-06/0.172, allocations: 7.938 kB / 0.6699 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004477/0.1725, allocations: 455.9 kB / 0.6704 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003126/0.1728, allocations: 203.7 kB / 0.6706 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002675/0.1731, allocations: 0.6729 MB / 0.6712 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.413e-05/0.1731, allocations: 15.42 kB / 0.6712 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of SimCode: time 4.51e-07/0.1731, allocations: 4 kB / 0.6712 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of Templates: time 0.002944/0.1761, allocations: 1.183 MB / 0.6724 GB, free: 13.27 MB / 0.5137 GB 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)