Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.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.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.01164/0.01164, allocations: 172 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8379/0.8379, allocations: 135.2 MB / 151.1 MB, free: 13.78 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.6/1.6, allocations: 223.2 MB / 406.9 MB, free: 3.137 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.0009647/0.0009645, allocations: 103.9 kB / 489.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003784/0.0003785, allocations: 12 kB / 0.5691 GB, free: 14.18 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5065/0.5069, allocations: 82.3 MB / 0.6495 GB, free: 36.16 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8608/1.368, allocations: 351.2 MB / 0.9924 GB, free: 6.227 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003043/1.368, allocations: 70.59 kB / 0.9925 GB, free: 6.191 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02871/1.397, allocations: 13.32 MB / 1.006 GB, free: 11.67 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.234e-06/1.397, allocations: 0 / 1.006 GB, free: 11.67 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 6.412e-06/1.397, allocations: 0 / 1.006 GB, free: 11.67 MB / 0.6511 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.0003622/1.397, allocations: 343.2 kB / 1.006 GB, free: 11.29 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/1.397, allocations: 8.031 kB / 1.006 GB, free: 11.28 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.155e-05/1.397, allocations: 7.906 kB / 1.006 GB, free: 11.27 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001103/1.397, allocations: 163 kB / 1.006 GB, free: 11.07 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.88e-05/1.398, allocations: 29.69 kB / 1.006 GB, free: 11.04 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.227e-05/1.398, allocations: 4 kB / 1.006 GB, free: 11.04 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001488/1.398, allocations: 41.38 kB / 1.006 GB, free: 10.99 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.274e-06/1.398, allocations: 3.938 kB / 1.006 GB, free: 10.99 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.241e-05/1.398, allocations: 4 kB / 1.006 GB, free: 10.98 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.967e-05/1.398, allocations: 0 / 1.006 GB, free: 10.98 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.726e-05/1.398, allocations: 11.98 kB / 1.006 GB, free: 10.97 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004383/1.398, allocations: 344.5 kB / 1.006 GB, free: 10.58 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 3.285e-05/1.398, allocations: 14.58 kB / 1.006 GB, free: 10.55 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 7.507e-05/1.398, allocations: 81.17 kB / 1.007 GB, free: 10.46 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.687e-05/1.398, allocations: 42.5 kB / 1.007 GB, free: 10.41 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/1.398, allocations: 0 / 1.007 GB, free: 10.41 MB / 0.6511 GB Notification: Performance of matching and sorting (n=1): time 0.000139/1.399, allocations: 33.69 kB / 1.007 GB, free: 10.37 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.767e-05/1.399, allocations: 59.17 kB / 1.007 GB, free: 10.3 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.942e-05/1.399, allocations: 93 kB / 1.007 GB, free: 10.2 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.493e-05/1.399, allocations: 25.7 kB / 1.007 GB, free: 10.17 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 5.097e-05/1.399, allocations: 91.53 kB / 1.007 GB, free: 10.08 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 7.815e-06/1.399, allocations: 7.891 kB / 1.007 GB, free: 10.07 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.655e-06/1.399, allocations: 4.125 kB / 1.007 GB, free: 10.07 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001174/1.399, allocations: 314.8 kB / 1.007 GB, free: 9.754 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.21e-05/1.399, allocations: 0 / 1.007 GB, free: 9.754 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.674e-05/1.399, allocations: 25.27 kB / 1.007 GB, free: 9.727 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.019e-05/1.399, allocations: 4 kB / 1.007 GB, free: 9.723 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/1.399, allocations: 3.938 kB / 1.007 GB, free: 9.719 MB / 0.6511 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.948e-05/1.399, allocations: 49.5 kB / 1.007 GB, free: 9.668 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/1.399, allocations: 8 kB / 1.007 GB, free: 9.66 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/1.399, allocations: 0 / 1.007 GB, free: 9.66 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/1.399, allocations: 0 / 1.007 GB, free: 9.66 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.172e-05/1.399, allocations: 11.88 kB / 1.007 GB, free: 9.648 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/1.399, allocations: 4 kB / 1.007 GB, free: 9.645 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.947e-05/1.399, allocations: 3.953 kB / 1.007 GB, free: 9.641 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.817e-06/1.399, allocations: 0 / 1.007 GB, free: 9.641 MB / 0.6511 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 7.71e-05/1.399, allocations: 114.5 kB / 1.007 GB, free: 9.523 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.28e-05/1.399, allocations: 4.062 kB / 1.007 GB, free: 9.52 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001246/1.4, allocations: 117 kB / 1.007 GB, free: 9.398 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.662e-05/1.4, allocations: 180.2 kB / 1.008 GB, free: 9.215 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.891e-05/1.4, allocations: 180 kB / 1.008 GB, free: 9.035 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.354e-05/1.4, allocations: 188.2 kB / 1.008 GB, free: 8.844 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002425/1.4, allocations: 405.2 kB / 1.008 GB, free: 8.391 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.148e-05/1.4, allocations: 108.7 kB / 1.008 GB, free: 8.281 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.937e-05/1.4, allocations: 104.9 kB / 1.009 GB, free: 8.172 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.512e-05/1.4, allocations: 176.5 kB / 1.009 GB, free: 7.992 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.502e-05/1.4, allocations: 180.2 kB / 1.009 GB, free: 7.809 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.344e-05/1.4, allocations: 180.3 kB / 1.009 GB, free: 7.625 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.607e-05/1.4, allocations: 184.2 kB / 1.009 GB, free: 7.438 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001352/1.401, allocations: 314.7 kB / 1.01 GB, free: 7.109 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001211/1.401, allocations: 195.6 kB / 1.01 GB, free: 6.898 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.406e-05/1.401, allocations: 180.3 kB / 1.01 GB, free: 6.715 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001338/1.401, allocations: 109 kB / 1.01 GB, free: 6.602 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.348e-05/1.401, allocations: 184.2 kB / 1.01 GB, free: 6.414 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.026e-05/1.401, allocations: 101 kB / 1.01 GB, free: 6.309 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 5.407e-05/1.401, allocations: 90.78 kB / 1.01 GB, free: 6.223 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.11e-07/1.401, allocations: 0 / 1.01 GB, free: 6.223 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002758/1.401, allocations: 15.94 kB / 1.01 GB, free: 6.207 MB / 0.6511 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.0002278/1.402, allocations: 210 kB / 1.011 GB, free: 5.992 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 6.373e-05/1.402, allocations: 7.938 kB / 1.011 GB, free: 5.984 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/1.402, allocations: 0 / 1.011 GB, free: 5.984 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 1.613e-06/1.402, allocations: 8.062 kB / 1.011 GB, free: 5.977 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000327/1.402, allocations: 0.5257 MB / 1.011 GB, free: 5.449 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002435/1.402, allocations: 195.8 kB / 1.011 GB, free: 5.23 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002526/1.403, allocations: 0.677 MB / 1.012 GB, free: 4.527 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.974e-05/1.403, allocations: 8 kB / 1.012 GB, free: 4.52 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.802e-05/1.403, allocations: 11.42 kB / 1.012 GB, free: 4.508 MB / 0.6511 GB Notification: Performance of SimCode: time 2.41e-07/1.403, allocations: 0 / 1.012 GB, free: 4.508 MB / 0.6511 GB Notification: Performance of Templates: time 0.002819/1.405, allocations: 0.8132 MB / 1.013 GB, free: 3.703 MB / 0.6511 GB make -j1 -f IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.makefile (rm -f IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1)