Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.0138/0.0138, 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/package.mo): time 1.009/1.009, allocations: 132.3 MB / 148.1 MB, free: 244 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.675/1.675, allocations: 223.2 MB / 403.2 MB, free: 6.766 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.0009093/0.000909, allocations: 98.77 kB / 485.5 MB, free: 14.16 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004468/0.0004469, allocations: 8 kB / 0.5641 GB, free: 2.137 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.459/0.4595, allocations: 81.57 MB / 0.6437 GB, free: 39.41 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.314/1.774, allocations: 417.8 MB / 1.052 GB, free: 165.5 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002544/1.774, allocations: 75.16 kB / 1.052 GB, free: 165.5 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.05018/1.824, allocations: 23.51 MB / 1.075 GB, free: 163.3 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.805e-06/1.824, allocations: 3.938 kB / 1.075 GB, free: 163.3 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.386e-06/1.824, allocations: 0 / 1.075 GB, free: 163.3 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.0005062/1.825, allocations: 360.8 kB / 1.075 GB, free: 162.9 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.433e-05/1.825, allocations: 7.844 kB / 1.075 GB, free: 162.9 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.94e-05/1.825, allocations: 15.73 kB / 1.075 GB, free: 162.9 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001001/1.825, allocations: 159.1 kB / 1.075 GB, free: 162.7 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.619e-05/1.825, allocations: 29.03 kB / 1.075 GB, free: 162.7 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.401e-05/1.825, allocations: 3.906 kB / 1.075 GB, free: 162.7 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001558/1.825, allocations: 40.52 kB / 1.075 GB, free: 162.7 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/1.826, allocations: 0 / 1.075 GB, free: 162.7 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.346e-05/1.826, allocations: 0 / 1.075 GB, free: 162.7 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.357e-05/1.826, allocations: 7.281 kB / 1.075 GB, free: 162.7 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.777e-05/1.826, allocations: 27.05 kB / 1.075 GB, free: 162.6 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006371/1.826, allocations: 0.5836 MB / 1.076 GB, free: 162 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 3.945e-05/1.826, allocations: 25.36 kB / 1.076 GB, free: 162 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002599/1.827, allocations: 499.7 kB / 1.076 GB, free: 161.4 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.301e-05/1.827, allocations: 37.98 kB / 1.077 GB, free: 161.4 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/1.827, allocations: 3.906 kB / 1.077 GB, free: 161.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=1): time 0.000153/1.827, allocations: 40.81 kB / 1.077 GB, free: 161.3 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.114e-05/1.827, allocations: 51.41 kB / 1.077 GB, free: 161.3 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.621e-05/1.827, allocations: 103.7 kB / 1.077 GB, free: 161.2 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.246e-05/1.827, allocations: 25.7 kB / 1.077 GB, free: 161.2 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.21e-05/1.827, allocations: 87.98 kB / 1.077 GB, free: 161.1 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 5.771e-06/1.827, allocations: 8.031 kB / 1.077 GB, free: 161.1 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.745e-06/1.827, allocations: 0 / 1.077 GB, free: 161.1 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.767e-05/1.827, allocations: 318.4 kB / 1.077 GB, free: 160.7 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.391e-05/1.827, allocations: 3.281 kB / 1.077 GB, free: 160.7 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.989e-05/1.827, allocations: 13.62 kB / 1.077 GB, free: 160.7 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.078e-05/1.827, allocations: 7.594 kB / 1.077 GB, free: 160.7 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/1.827, allocations: 0 / 1.077 GB, free: 160.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.979e-05/1.827, allocations: 52.64 kB / 1.077 GB, free: 160.7 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/1.827, allocations: 3.906 kB / 1.077 GB, free: 160.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/1.827, allocations: 0 / 1.077 GB, free: 160.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.725e-05/1.827, allocations: 7.469 kB / 1.077 GB, free: 160.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.065e-05/1.827, allocations: 11.62 kB / 1.077 GB, free: 160.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/1.827, allocations: 0 / 1.077 GB, free: 160.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.648e-05/1.827, allocations: 0 / 1.077 GB, free: 160.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.143e-05/1.827, allocations: 0 / 1.077 GB, free: 160.7 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.364e-05/1.827, allocations: 109.8 kB / 1.077 GB, free: 160.6 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.218e-05/1.827, allocations: 7.938 kB / 1.077 GB, free: 160.6 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001002/1.828, allocations: 120 kB / 1.077 GB, free: 160.4 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.963e-05/1.828, allocations: 176.3 kB / 1.078 GB, free: 160.3 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.864e-05/1.828, allocations: 188.1 kB / 1.078 GB, free: 160.1 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.173e-05/1.828, allocations: 179.7 kB / 1.078 GB, free: 159.9 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001481/1.828, allocations: 412.1 kB / 1.078 GB, free: 159.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.999e-05/1.828, allocations: 104.9 kB / 1.078 GB, free: 159.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.236e-05/1.828, allocations: 101 kB / 1.079 GB, free: 159.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.042e-05/1.828, allocations: 180.2 kB / 1.079 GB, free: 159.1 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.684e-05/1.828, allocations: 187.3 kB / 1.079 GB, free: 158.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.593e-05/1.828, allocations: 180.2 kB / 1.079 GB, free: 158.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.493e-05/1.828, allocations: 188.3 kB / 1.079 GB, free: 158.5 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.381e-05/1.828, allocations: 318.5 kB / 1.08 GB, free: 158.2 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.183e-05/1.828, allocations: 182 kB / 1.08 GB, free: 158 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.024e-05/1.828, allocations: 180.2 kB / 1.08 GB, free: 157.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001209/1.828, allocations: 113.8 kB / 1.08 GB, free: 157.7 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.635e-05/1.828, allocations: 183.9 kB / 1.08 GB, free: 157.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.317e-05/1.829, allocations: 104.9 kB / 1.08 GB, free: 157.4 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 3.55e-05/1.829, allocations: 86.33 kB / 1.08 GB, free: 157.3 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.4e-07/1.829, allocations: 0 / 1.08 GB, free: 157.3 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0004986/1.829, allocations: 91.8 kB / 1.08 GB, free: 157.3 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.0007674/1.83, allocations: 0.633 MB / 1.081 GB, free: 157 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 7.437e-05/1.83, allocations: 19.2 kB / 1.081 GB, free: 157 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/1.83, allocations: 0 / 1.081 GB, free: 157 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 2.956e-06/1.83, allocations: 3.812 kB / 1.081 GB, free: 157 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002448/1.83, allocations: 0.5152 MB / 1.082 GB, free: 156.5 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002392/1.83, allocations: 196.7 kB / 1.082 GB, free: 156.3 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001549/1.831, allocations: 0.6763 MB / 1.082 GB, free: 155.6 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.959e-05/1.831, allocations: 3.906 kB / 1.082 GB, free: 155.6 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.568e-05/1.831, allocations: 11.34 kB / 1.082 GB, free: 155.6 MB / 0.6823 GB Notification: Performance of SimCode: time 2.2e-07/1.831, allocations: 0 / 1.082 GB, free: 155.6 MB / 0.6823 GB Notification: Performance of Templates: time 0.009748/1.84, allocations: 7.339 MB / 1.09 GB, free: 154.8 MB / 0.6823 GB make -j1 -f IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.makefile (rm -f IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.sim & ./IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1)