Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.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.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007617/0.007617, 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.7852/0.7852, allocations: 135.2 MB / 151.1 MB, free: 13.8 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.661/1.661, allocations: 223.2 MB / 406.9 MB, free: 3.215 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.0009229/0.0009229, allocations: 97.81 kB / 489.9 MB, free: 10.92 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003768/0.000377, allocations: 12 kB / 0.5691 GB, free: 14.18 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5532/0.5536, allocations: 82.31 MB / 0.6495 GB, free: 36.16 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.478/2.031, allocations: 418 MB / 1.058 GB, free: 236.4 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002872/2.032, allocations: 75.84 kB / 1.058 GB, free: 236.4 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.04727/2.079, allocations: 23.49 MB / 1.081 GB, free: 230.7 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.265e-06/2.079, allocations: 0 / 1.081 GB, free: 230.7 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 9.859e-06/2.079, allocations: 0 / 1.081 GB, free: 230.7 MB / 0.6823 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.000477/2.079, allocations: 361.9 kB / 1.081 GB, free: 230.3 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.367e-05/2.08, allocations: 7.594 kB / 1.081 GB, free: 230.3 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.28e-05/2.08, allocations: 15.2 kB / 1.081 GB, free: 230.3 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001064/2.08, allocations: 159.1 kB / 1.081 GB, free: 230.1 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.749e-05/2.08, allocations: 33.52 kB / 1.081 GB, free: 230.1 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.134e-05/2.08, allocations: 3.938 kB / 1.081 GB, free: 230.1 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000167/2.08, allocations: 43.52 kB / 1.081 GB, free: 230.1 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/2.08, allocations: 3.938 kB / 1.081 GB, free: 230.1 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.428e-05/2.08, allocations: 0 / 1.081 GB, free: 230.1 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.24e-05/2.08, allocations: 3.969 kB / 1.081 GB, free: 230.1 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.022e-05/2.08, allocations: 23.09 kB / 1.081 GB, free: 230.1 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007416/2.081, allocations: 0.5886 MB / 1.082 GB, free: 229.4 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 4.553e-05/2.081, allocations: 21.95 kB / 1.082 GB, free: 229.4 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002865/2.081, allocations: 0.4898 MB / 1.082 GB, free: 228.8 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.528e-05/2.081, allocations: 38.5 kB / 1.082 GB, free: 228.8 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=1): time 1.363e-06/2.081, allocations: 0 / 1.082 GB, free: 228.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=1): time 0.0001717/2.081, allocations: 44.8 kB / 1.083 GB, free: 228.7 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.003e-05/2.081, allocations: 51.41 kB / 1.083 GB, free: 228.7 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.04e-05/2.082, allocations: 88.78 kB / 1.083 GB, free: 228.6 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.482e-05/2.082, allocations: 33.42 kB / 1.083 GB, free: 228.5 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.359e-05/2.082, allocations: 91.98 kB / 1.083 GB, free: 228.4 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 7.063e-06/2.082, allocations: 8.031 kB / 1.083 GB, free: 228.4 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.464e-06/2.082, allocations: 0 / 1.083 GB, free: 228.4 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.209e-05/2.082, allocations: 310.8 kB / 1.083 GB, free: 228.1 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.239e-05/2.082, allocations: 3.906 kB / 1.083 GB, free: 228.1 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.207e-05/2.082, allocations: 21.55 kB / 1.083 GB, free: 228.1 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.909e-05/2.082, allocations: 7.875 kB / 1.083 GB, free: 228.1 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/2.082, allocations: 0 / 1.083 GB, free: 228.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.126e-05/2.082, allocations: 49.12 kB / 1.083 GB, free: 228.1 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/2.082, allocations: 7.625 kB / 1.083 GB, free: 228.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.91e-06/2.082, allocations: 0 / 1.083 GB, free: 228.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/2.082, allocations: 0 / 1.083 GB, free: 228.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.839e-05/2.082, allocations: 7.906 kB / 1.083 GB, free: 228.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.814e-06/2.082, allocations: 7.922 kB / 1.083 GB, free: 228 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.791e-05/2.082, allocations: 0 / 1.083 GB, free: 228 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.538e-06/2.082, allocations: 0 / 1.083 GB, free: 228 MB / 0.6823 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 6.402e-05/2.082, allocations: 117.7 kB / 1.083 GB, free: 227.9 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.343e-05/2.082, allocations: 4 kB / 1.083 GB, free: 227.9 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000102/2.082, allocations: 112.9 kB / 1.083 GB, free: 227.8 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.152e-05/2.082, allocations: 184 kB / 1.084 GB, free: 227.6 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.722e-05/2.082, allocations: 180.2 kB / 1.084 GB, free: 227.4 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.539e-05/2.082, allocations: 192.2 kB / 1.084 GB, free: 227.2 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001707/2.083, allocations: 408.7 kB / 1.084 GB, free: 226.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.25e-05/2.083, allocations: 101 kB / 1.084 GB, free: 226.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.223e-05/2.083, allocations: 104.9 kB / 1.085 GB, free: 226.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.985e-05/2.083, allocations: 184.2 kB / 1.085 GB, free: 226.4 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.136e-05/2.083, allocations: 188.1 kB / 1.085 GB, free: 226.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.444e-05/2.083, allocations: 180.3 kB / 1.085 GB, free: 226 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.723e-05/2.083, allocations: 180.3 kB / 1.085 GB, free: 225.8 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.628e-05/2.083, allocations: 315.4 kB / 1.086 GB, free: 225.5 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.921e-05/2.083, allocations: 186 kB / 1.086 GB, free: 225.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.372e-05/2.083, allocations: 177.9 kB / 1.086 GB, free: 225.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000117/2.083, allocations: 112.5 kB / 1.086 GB, free: 225 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.801e-05/2.083, allocations: 184.2 kB / 1.086 GB, free: 224.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.097e-05/2.083, allocations: 101.3 kB / 1.086 GB, free: 224.7 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 3.549e-05/2.083, allocations: 87 kB / 1.086 GB, free: 224.7 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.3e-07/2.083, allocations: 0 / 1.086 GB, free: 224.7 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0004554/2.084, allocations: 89.27 kB / 1.086 GB, free: 224.6 MB / 0.6823 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.0008581/2.085, allocations: 0.6426 MB / 1.087 GB, free: 224.3 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 9.766e-05/2.085, allocations: 19.06 kB / 1.087 GB, free: 224.2 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/2.085, allocations: 0 / 1.087 GB, free: 224.2 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 2.385e-06/2.085, allocations: 0 / 1.087 GB, free: 224.2 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003351/2.085, allocations: 0.5243 MB / 1.088 GB, free: 223.7 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003544/2.085, allocations: 191.4 kB / 1.088 GB, free: 223.5 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000255/2.086, allocations: 0.6768 MB / 1.088 GB, free: 222.8 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 5.108e-05/2.086, allocations: 11.42 kB / 1.088 GB, free: 222.8 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.937e-05/2.086, allocations: 11.41 kB / 1.088 GB, free: 222.8 MB / 0.6823 GB Notification: Performance of SimCode: time 3.01e-07/2.086, allocations: 0 / 1.088 GB, free: 222.8 MB / 0.6823 GB Notification: Performance of Templates: time 0.01111/2.097, allocations: 7.329 MB / 1.096 GB, free: 221.8 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.makefile (rm -f IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.sim & ./IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1)