Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/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-master/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_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.006971/0.006971, allocations: 169.5 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8591/0.8591, allocations: 135.2 MB / 151.1 MB, free: 13.82 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.602/1.602, allocations: 223.2 MB / 406.9 MB, free: 3.191 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001147/0.001147, allocations: 95.02 kB / 489.9 MB, free: 10.9 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003476/0.0003477, allocations: 12 kB / 0.5691 GB, free: 14.16 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4638/0.4642, allocations: 82.31 MB / 0.6495 GB, free: 36.14 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7977/1.262, allocations: 316.3 MB / 0.9584 GB, free: 7.984 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003226/1.262, allocations: 79.14 kB / 0.9585 GB, free: 7.941 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.0233/1.286, allocations: 9.19 MB / 0.9675 GB, free: 480 kB / 0.6042 GB Notification: Performance of FrontEnd: time 2.064e-06/1.286, allocations: 0 / 0.9675 GB, free: 480 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.925e-06/1.286, allocations: 0 / 0.9675 GB, free: 480 kB / 0.6042 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.0004689/1.286, allocations: 350.9 kB / 0.9678 GB, free: 84 kB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.811e-05/1.286, allocations: 11.97 kB / 0.9678 GB, free: 72 kB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.684e-05/1.286, allocations: 3.906 kB / 0.9678 GB, free: 68 kB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001765/1.287, allocations: 167 kB / 0.968 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.294e-05/1.287, allocations: 29.69 kB / 0.968 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.388e-05/1.287, allocations: 3.75 kB / 0.968 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001728/1.287, allocations: 49.61 kB / 0.968 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.727e-06/1.287, allocations: 4 kB / 0.9681 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.676e-05/1.287, allocations: 4 kB / 0.9681 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.369e-05/1.287, allocations: 0 / 0.9681 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.626e-05/1.287, allocations: 19.48 kB / 0.9681 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00083/1.288, allocations: 0.5774 MB / 0.9686 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 4.442e-05/1.288, allocations: 18.58 kB / 0.9687 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002972/1.288, allocations: 347.6 kB / 0.969 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.113e-05/1.288, allocations: 33.75 kB / 0.969 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 1.523e-06/1.288, allocations: 4 kB / 0.969 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0001801/1.288, allocations: 37.62 kB / 0.9691 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.412e-05/1.288, allocations: 51.41 kB / 0.9691 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000105/1.289, allocations: 96.56 kB / 0.9692 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.861e-05/1.289, allocations: 29.7 kB / 0.9692 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.024e-05/1.289, allocations: 88.16 kB / 0.9693 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 9.668e-06/1.289, allocations: 11.89 kB / 0.9693 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.785e-06/1.289, allocations: 0 / 0.9693 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001492/1.289, allocations: 318.4 kB / 0.9696 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.345e-05/1.289, allocations: 4 kB / 0.9696 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.456e-05/1.289, allocations: 13.72 kB / 0.9696 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.283e-05/1.289, allocations: 11.42 kB / 0.9697 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/1.289, allocations: 0 / 0.9697 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.685e-05/1.289, allocations: 49.27 kB / 0.9697 GB, free: 13.85 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.099e-05/1.289, allocations: 8 kB / 0.9697 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/1.289, allocations: 0 / 0.9697 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.866e-05/1.289, allocations: 3.984 kB / 0.9697 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.149e-05/1.289, allocations: 4 kB / 0.9697 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/1.289, allocations: 0 / 0.9697 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.454e-05/1.289, allocations: 4 kB / 0.9697 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.793e-05/1.289, allocations: 0 / 0.9697 GB, free: 13.83 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001033/1.289, allocations: 125.7 kB / 0.9698 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.755e-05/1.289, allocations: 0 / 0.9698 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001454/1.29, allocations: 120.1 kB / 0.97 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.285e-05/1.29, allocations: 180.2 kB / 0.9701 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.897e-05/1.29, allocations: 176.3 kB / 0.9703 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.675e-05/1.29, allocations: 183.6 kB / 0.9705 GB, free: 13.03 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000288/1.29, allocations: 409.1 kB / 0.9709 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.169e-05/1.29, allocations: 116.5 kB / 0.971 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.266e-05/1.29, allocations: 104.9 kB / 0.9711 GB, free: 12.34 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.006e-05/1.29, allocations: 176.3 kB / 0.9712 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.182e-05/1.29, allocations: 176.3 kB / 0.9714 GB, free: 11.98 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.045e-05/1.29, allocations: 192.2 kB / 0.9716 GB, free: 11.79 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.729e-05/1.291, allocations: 176.3 kB / 0.9718 GB, free: 11.61 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001867/1.291, allocations: 315.2 kB / 0.9721 GB, free: 11.28 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001044/1.291, allocations: 183.5 kB / 0.9722 GB, free: 11.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001079/1.291, allocations: 188.2 kB / 0.9724 GB, free: 10.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000149/1.291, allocations: 109.3 kB / 0.9725 GB, free: 10.78 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.992e-05/1.291, allocations: 180.2 kB / 0.9727 GB, free: 10.59 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.288e-05/1.291, allocations: 105 kB / 0.9728 GB, free: 10.48 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.444e-05/1.291, allocations: 86.91 kB / 0.9729 GB, free: 10.4 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.4e-07/1.291, allocations: 0 / 0.9729 GB, free: 10.4 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003418/1.292, allocations: 31.94 kB / 0.9729 GB, free: 10.37 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003338/1.292, allocations: 237.8 kB / 0.9731 GB, free: 10.13 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 8.153e-05/1.292, allocations: 11.92 kB / 0.9731 GB, free: 10.12 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/1.292, allocations: 4.125 kB / 0.9731 GB, free: 10.11 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.298e-06/1.292, allocations: 4 kB / 0.9732 GB, free: 10.11 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004066/1.293, allocations: 0.5221 MB / 0.9737 GB, free: 9.586 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003258/1.293, allocations: 199.8 kB / 0.9739 GB, free: 9.363 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003312/1.293, allocations: 0.677 MB / 0.9745 GB, free: 8.66 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.937e-05/1.293, allocations: 6.109 kB / 0.9745 GB, free: 8.656 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.812e-05/1.293, allocations: 7.438 kB / 0.9745 GB, free: 8.648 MB / 0.6198 GB Notification: Performance of SimCode: time 3.51e-07/1.293, allocations: 3.938 kB / 0.9745 GB, free: 8.645 MB / 0.6198 GB Notification: Performance of Templates: time 0.003857/1.297, allocations: 1.117 MB / 0.9756 GB, free: 7.582 MB / 0.6198 GB make -j1 -f IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile (rm -f IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & ./IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1)