Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.01125/0.01125, allocations: 171.2 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/package.mo): time 0.7575/0.7575, allocations: 132.3 MB / 148.1 MB, free: 240 kB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.544/1.544, allocations: 223.2 MB / 403.2 MB, free: 6.676 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.001219/0.001219, allocations: 88.3 kB / 485.5 MB, free: 14.18 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003474/0.0003474, allocations: 11.98 kB / 0.5641 GB, free: 2.164 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4519/0.4523, allocations: 81.58 MB / 0.6437 GB, free: 39.25 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9151/1.367, allocations: 351 MB / 0.9865 GB, free: 13.61 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002634/1.368, allocations: 68.28 kB / 0.9865 GB, free: 13.58 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02942/1.397, allocations: 13.32 MB / 0.9995 GB, free: 3.051 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.226e-06/1.397, allocations: 0 / 0.9995 GB, free: 3.051 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.991e-06/1.397, allocations: 0 / 0.9995 GB, free: 3.051 MB / 0.6355 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.0003809/1.398, allocations: 339.2 kB / 0.9999 GB, free: 2.676 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.269e-05/1.398, allocations: 8.031 kB / 0.9999 GB, free: 2.668 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.405e-05/1.398, allocations: 11.86 kB / 0.9999 GB, free: 2.656 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001125/1.398, allocations: 163.1 kB / 1 GB, free: 2.457 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.758e-05/1.398, allocations: 33.69 kB / 1 GB, free: 2.418 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.978e-06/1.398, allocations: 0 / 1 GB, free: 2.418 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001494/1.398, allocations: 49.42 kB / 1 GB, free: 2.367 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.314e-06/1.398, allocations: 0 / 1 GB, free: 2.367 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/1.398, allocations: 0 / 1 GB, free: 2.367 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.75e-05/1.398, allocations: 4 kB / 1 GB, free: 2.363 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.171e-05/1.398, allocations: 11.86 kB / 1 GB, free: 2.355 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004869/1.399, allocations: 341.7 kB / 1 GB, free: 1.961 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 3.785e-05/1.399, allocations: 14.58 kB / 1 GB, free: 1.938 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 8.213e-05/1.399, allocations: 89.16 kB / 1.001 GB, free: 1.832 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.508e-05/1.399, allocations: 38.5 kB / 1.001 GB, free: 1.785 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 1.442e-06/1.399, allocations: 0 / 1.001 GB, free: 1.785 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.000146/1.399, allocations: 45.39 kB / 1.001 GB, free: 1.738 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.306e-05/1.399, allocations: 55.41 kB / 1.001 GB, free: 1.672 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.078e-05/1.399, allocations: 89 kB / 1.001 GB, free: 1.578 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.633e-05/1.399, allocations: 25.7 kB / 1.001 GB, free: 1.547 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.818e-05/1.399, allocations: 91.91 kB / 1.001 GB, free: 1.457 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 8.255e-06/1.399, allocations: 7.906 kB / 1.001 GB, free: 1.449 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.665e-06/1.399, allocations: 3.938 kB / 1.001 GB, free: 1.445 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001134/1.399, allocations: 310.8 kB / 1.001 GB, free: 1.133 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.659e-05/1.399, allocations: 11.94 kB / 1.001 GB, free: 1.125 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.149e-05/1.399, allocations: 17.64 kB / 1.001 GB, free: 1.102 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.631e-05/1.399, allocations: 4 kB / 1.001 GB, free: 1.098 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/1.399, allocations: 4 kB / 1.001 GB, free: 1.094 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.086e-05/1.4, allocations: 45.56 kB / 1.001 GB, free: 1.047 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/1.4, allocations: 4 kB / 1.001 GB, free: 1.043 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/1.4, allocations: 3.938 kB / 1.001 GB, free: 1.039 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.107e-05/1.4, allocations: 64 / 1.001 GB, free: 1.039 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.046e-05/1.4, allocations: 15.94 kB / 1.001 GB, free: 1.023 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.704e-06/1.4, allocations: 3.953 kB / 1.001 GB, free: 1.02 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.659e-05/1.4, allocations: 0 / 1.001 GB, free: 1.02 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.708e-06/1.4, allocations: 4 kB / 1.001 GB, free: 1.016 MB / 0.6355 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.361e-05/1.4, allocations: 109.7 kB / 1.001 GB, free: 0.9023 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.475e-05/1.4, allocations: 3.984 kB / 1.001 GB, free: 0.8984 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001092/1.4, allocations: 113 kB / 1.002 GB, free: 0.7812 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.201e-05/1.4, allocations: 184.2 kB / 1.002 GB, free: 0.5938 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.179e-05/1.4, allocations: 184.1 kB / 1.002 GB, free: 420 kB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.55e-05/1.4, allocations: 188.1 kB / 1.002 GB, free: 224 kB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002284/1.4, allocations: 405 kB / 1.002 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.397e-05/1.4, allocations: 101 kB / 1.003 GB, free: 15.66 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.195e-05/1.4, allocations: 108.9 kB / 1.003 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.15e-05/1.401, allocations: 176.3 kB / 1.003 GB, free: 15.37 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.357e-05/1.401, allocations: 184.2 kB / 1.003 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.65e-05/1.401, allocations: 180.2 kB / 1.003 GB, free: 15 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.272e-05/1.401, allocations: 176.3 kB / 1.003 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001394/1.401, allocations: 319.6 kB / 1.004 GB, free: 14.49 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 7.652e-05/1.401, allocations: 190 kB / 1.004 GB, free: 14.28 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.544e-05/1.401, allocations: 180 kB / 1.004 GB, free: 14.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001332/1.401, allocations: 106.5 kB / 1.004 GB, free: 13.99 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.819e-05/1.401, allocations: 184.2 kB / 1.004 GB, free: 13.8 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.188e-05/1.401, allocations: 109 kB / 1.004 GB, free: 13.69 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 5.067e-05/1.401, allocations: 83.22 kB / 1.004 GB, free: 13.61 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.4e-07/1.401, allocations: 0 / 1.004 GB, free: 13.61 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002453/1.402, allocations: 15.94 kB / 1.004 GB, free: 13.59 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.0002637/1.402, allocations: 217.6 kB / 1.005 GB, free: 13.37 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 8.009e-05/1.402, allocations: 15.69 kB / 1.005 GB, free: 13.36 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/1.402, allocations: 0 / 1.005 GB, free: 13.36 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 1.453e-06/1.402, allocations: 0 / 1.005 GB, free: 13.36 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003969/1.402, allocations: 0.5246 MB / 1.005 GB, free: 12.83 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000348/1.403, allocations: 199.7 kB / 1.005 GB, free: 12.61 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003182/1.403, allocations: 0.677 MB / 1.006 GB, free: 11.91 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 5.139e-05/1.403, allocations: 11.98 kB / 1.006 GB, free: 11.89 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.033e-05/1.403, allocations: 7.438 kB / 1.006 GB, free: 11.89 MB / 0.6511 GB Notification: Performance of SimCode: time 2.4e-07/1.403, allocations: 0 / 1.006 GB, free: 11.89 MB / 0.6511 GB Notification: Performance of Templates: time 0.00321/1.406, allocations: 0.8098 MB / 1.007 GB, free: 11.09 MB / 0.6511 GB make -j1 -f IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.makefile (rm -f IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1)