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.001217/0.001217, allocations: 101.7 kB / 16.27 MB, free: 6.414 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.001222/0.001222, allocations: 189.7 kB / 17.2 MB, free: 5.953 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.407/1.407, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8011/0.8011, allocations: 132.2 MB / 423.2 MB, free: 6.637 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001458/0.001458, allocations: 63.91 kB / 0.5024 GB, free: 11.66 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.362/0.3635, allocations: 80.18 MB / 0.5807 GB, free: 27.26 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.004081/0.3676, allocations: 3.282 MB / 0.5839 GB, free: 24.64 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 8.627e-05/0.3677, allocations: 56.03 kB / 0.584 GB, free: 24.6 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.593e-05/0.3677, allocations: 1.594 kB / 0.584 GB, free: 24.6 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 8.819e-05/0.3678, allocations: 6.156 kB / 0.584 GB, free: 24.6 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.331e-05/0.3679, allocations: 14.66 kB / 0.584 GB, free: 24.59 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004734/0.3684, allocations: 178 kB / 0.5842 GB, free: 24.46 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.888e-05/0.3685, allocations: 36.78 kB / 0.5842 GB, free: 24.45 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.58e-05/0.3685, allocations: 2.625 kB / 0.5842 GB, free: 24.45 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.743e-05/0.3686, allocations: 20.55 kB / 0.5842 GB, free: 24.43 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.746e-05/0.3686, allocations: 14.59 kB / 0.5843 GB, free: 24.43 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.239e-05/0.3686, allocations: 1.062 kB / 0.5843 GB, free: 24.43 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003134/0.369, allocations: 171.3 kB / 0.5844 GB, free: 24.32 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.248e-05/0.369, allocations: 5.984 kB / 0.5844 GB, free: 24.32 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.629e-05/0.3691, allocations: 14 kB / 0.5844 GB, free: 24.31 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002555/0.3693, allocations: 135.1 kB / 0.5846 GB, free: 24.25 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.3693, allocations: 0.5 kB / 0.5846 GB, free: 24.25 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.3693, allocations: 2.062 kB / 0.5846 GB, free: 24.25 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.479e-06/0.3693, allocations: 0 / 0.5846 GB, free: 24.25 MB / 446.1 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.0003394/0.3697, allocations: 353.8 kB / 0.5849 GB, free: 23.87 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.3697, allocations: 9 kB / 0.5849 GB, free: 23.87 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.244e-05/0.3698, allocations: 2.969 kB / 0.5849 GB, free: 23.87 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.826e-05/0.3699, allocations: 165.6 kB / 0.5851 GB, free: 23.67 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.916e-05/0.3699, allocations: 34.44 kB / 0.5851 GB, free: 23.64 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.814e-06/0.3699, allocations: 1.5 kB / 0.5851 GB, free: 23.64 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001259/0.3701, allocations: 51.89 kB / 0.5852 GB, free: 23.59 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.3701, allocations: 0 / 0.5852 GB, free: 23.59 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/0.3701, allocations: 4.719 kB / 0.5852 GB, free: 23.59 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.825e-05/0.3701, allocations: 1.156 kB / 0.5852 GB, free: 23.59 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.486e-05/0.3702, allocations: 18.52 kB / 0.5852 GB, free: 23.58 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004919/0.3707, allocations: 0.5777 MB / 0.5857 GB, free: 22.91 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.03e-05/0.3707, allocations: 22.33 kB / 0.5858 GB, free: 22.88 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.19e-05/0.3707, allocations: 6.078 kB / 0.5858 GB, free: 22.87 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001506/0.3709, allocations: 346.3 kB / 0.5861 GB, free: 22.48 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.93e-05/0.3709, allocations: 35.95 kB / 0.5861 GB, free: 22.43 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 1.152e-06/0.3709, allocations: 1.125 kB / 0.5861 GB, free: 22.43 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001346/0.3711, allocations: 36.14 kB / 0.5862 GB, free: 22.4 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.347e-05/0.3711, allocations: 55.84 kB / 0.5862 GB, free: 22.33 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.863e-05/0.3712, allocations: 108.7 kB / 0.5863 GB, free: 22.22 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.899e-06/0.3712, allocations: 31.77 kB / 0.5864 GB, free: 22.19 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.68e-05/0.3712, allocations: 89.36 kB / 0.5864 GB, free: 22.1 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.869e-06/0.3712, allocations: 1.406 kB / 0.5865 GB, free: 22.1 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.648e-05/0.3713, allocations: 13.69 kB / 0.5865 GB, free: 22.08 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.657e-05/0.3713, allocations: 324.6 kB / 0.5868 GB, free: 21.76 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.471e-05/0.3713, allocations: 3.531 kB / 0.5868 GB, free: 21.76 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.827e-05/0.3713, allocations: 13.44 kB / 0.5868 GB, free: 21.74 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.998e-05/0.3714, allocations: 25.58 kB / 0.5868 GB, free: 21.72 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.3714, allocations: 2.344 kB / 0.5868 GB, free: 21.72 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.883e-05/0.3715, allocations: 46.48 kB / 0.5869 GB, free: 21.68 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/0.3715, allocations: 8.938 kB / 0.5869 GB, free: 21.68 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.324e-05/0.3715, allocations: 0 / 0.5869 GB, free: 21.68 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.3715, allocations: 1.344 kB / 0.5869 GB, free: 21.68 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.059e-05/0.3716, allocations: 8.578 kB / 0.5869 GB, free: 21.68 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.3716, allocations: 1.375 kB / 0.5869 GB, free: 21.68 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.801e-05/0.3716, allocations: 5.906 kB / 0.5869 GB, free: 21.67 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.877e-06/0.3716, allocations: 2.094 kB / 0.5869 GB, free: 21.67 MB / 446.1 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 4.281e-05/0.3717, allocations: 115.8 kB / 0.587 GB, free: 21.55 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.863e-05/0.3717, allocations: 2.594 kB / 0.587 GB, free: 21.55 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.703e-05/0.3718, allocations: 125.4 kB / 0.5871 GB, free: 21.43 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.892e-05/0.3718, allocations: 180.2 kB / 0.5873 GB, free: 21.24 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.926e-05/0.3718, allocations: 177.4 kB / 0.5875 GB, free: 21.06 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.986e-05/0.3719, allocations: 178.4 kB / 0.5876 GB, free: 20.88 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001195/0.372, allocations: 418.5 kB / 0.588 GB, free: 20.42 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.396e-05/0.372, allocations: 105 kB / 0.5881 GB, free: 20.31 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.354e-05/0.372, allocations: 106.3 kB / 0.5882 GB, free: 20.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.102e-05/0.372, allocations: 183.8 kB / 0.5884 GB, free: 20.02 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.36e-05/0.3721, allocations: 177.5 kB / 0.5886 GB, free: 19.84 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.128e-05/0.3721, allocations: 185.6 kB / 0.5888 GB, free: 19.65 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.971e-05/0.3721, allocations: 177.4 kB / 0.5889 GB, free: 19.47 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.15e-05/0.3722, allocations: 317.6 kB / 0.5892 GB, free: 19.14 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.623e-05/0.3722, allocations: 184.6 kB / 0.5894 GB, free: 18.94 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.631e-05/0.3723, allocations: 183.6 kB / 0.5896 GB, free: 18.76 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001327/0.3724, allocations: 109.4 kB / 0.5897 GB, free: 18.65 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.645e-05/0.3724, allocations: 180.9 kB / 0.5899 GB, free: 18.46 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.278e-05/0.3725, allocations: 101 kB / 0.5899 GB, free: 18.36 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.812e-05/0.3725, allocations: 95.95 kB / 0.59 GB, free: 18.27 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3725, allocations: 0 / 0.59 GB, free: 18.27 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002821/0.3728, allocations: 32.72 kB / 0.5901 GB, free: 18.27 MB / 446.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 (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.0002009/0.373, allocations: 242.4 kB / 0.5903 GB, free: 18.07 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 6.364e-05/0.3731, allocations: 14.14 kB / 0.5903 GB, free: 18.06 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.3731, allocations: 0 / 0.5903 GB, free: 18.06 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.202e-06/0.3731, allocations: 1.938 kB / 0.5903 GB, free: 18.06 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003263/0.3734, allocations: 461 kB / 0.5908 GB, free: 17.61 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002241/0.3736, allocations: 209.7 kB / 0.591 GB, free: 17.39 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.067e-05/0.3737, allocations: 0.6811 MB / 0.5916 GB, free: 16.69 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.909e-05/0.3738, allocations: 16.38 kB / 0.5916 GB, free: 16.68 MB / 446.1 MB Notification: Performance of SimCode: time 2.81e-07/0.3738, allocations: 0 / 0.5916 GB, free: 16.68 MB / 446.1 MB Notification: Performance of Templates: time 0.002553/0.3763, allocations: 1.187 MB / 0.5928 GB, free: 16.13 MB / 446.1 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)