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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001183/0.001183, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001234/0.001234, allocations: 192.5 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.307/1.307, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7547/0.7547, allocations: 132.2 MB / 422.6 MB, free: 1.766 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 56.78 kB / 0.5018 GB, free: 8.773 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1516/0.1529, allocations: 80.2 MB / 0.5801 GB, free: 8.789 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.3885/0.5414, allocations: 135.4 MB / 0.7123 GB, free: 15.43 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0001755/0.5416, allocations: 52.84 kB / 0.7124 GB, free: 15.4 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.705e-05/0.5417, allocations: 1.375 kB / 0.7124 GB, free: 15.4 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001074/0.5418, allocations: 1.406 kB / 0.7124 GB, free: 15.4 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.775e-05/0.5419, allocations: 14.5 kB / 0.7124 GB, free: 15.39 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008699/0.5428, allocations: 246.6 kB / 0.7126 GB, free: 15.27 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 8.434e-05/0.5429, allocations: 29.84 kB / 0.7127 GB, free: 15.27 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.435e-05/0.5429, allocations: 1.953 kB / 0.7127 GB, free: 15.27 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.192e-05/0.543, allocations: 18.81 kB / 0.7127 GB, free: 15.26 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.446e-05/0.543, allocations: 8.766 kB / 0.7127 GB, free: 15.26 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.708e-05/0.5431, allocations: 1.281 kB / 0.7127 GB, free: 15.26 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000561/0.5436, allocations: 255 kB / 0.7129 GB, free: 15.16 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.684e-05/0.5437, allocations: 7.906 kB / 0.7129 GB, free: 15.15 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.328e-05/0.5437, allocations: 10.62 kB / 0.7129 GB, free: 15.15 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004612/0.5442, allocations: 191.6 kB / 0.7131 GB, free: 15.1 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.5442, allocations: 1.375 kB / 0.7131 GB, free: 15.1 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.343e-06/0.5442, allocations: 0 / 0.7131 GB, free: 15.1 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.427e-06/0.5442, allocations: 0 / 0.7131 GB, free: 15.1 MB / 0.545 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.0004428/0.5447, allocations: 356.7 kB / 0.7135 GB, free: 14.73 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.5447, allocations: 10.09 kB / 0.7135 GB, free: 14.73 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.376e-05/0.5448, allocations: 6.219 kB / 0.7135 GB, free: 14.73 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001106/0.5449, allocations: 165.3 kB / 0.7136 GB, free: 14.53 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.799e-05/0.545, allocations: 36.39 kB / 0.7137 GB, free: 14.49 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.232e-05/0.545, allocations: 5.062 kB / 0.7137 GB, free: 14.49 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001361/0.5451, allocations: 45.48 kB / 0.7137 GB, free: 14.45 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.674e-06/0.5452, allocations: 0.8906 kB / 0.7137 GB, free: 14.45 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.5452, allocations: 0 / 0.7137 GB, free: 14.45 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.77e-05/0.5452, allocations: 1.25 kB / 0.7137 GB, free: 14.45 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.134e-05/0.5453, allocations: 21.23 kB / 0.7137 GB, free: 14.45 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008071/0.5461, allocations: 0.5955 MB / 0.7143 GB, free: 13.79 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 4.615e-05/0.5462, allocations: 17.45 kB / 0.7143 GB, free: 13.77 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.618e-05/0.5462, allocations: 13.86 kB / 0.7144 GB, free: 13.75 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002016/0.5464, allocations: 334.4 kB / 0.7147 GB, free: 13.37 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.192e-05/0.5464, allocations: 38.72 kB / 0.7147 GB, free: 13.33 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 1.092e-06/0.5464, allocations: 0 / 0.7147 GB, free: 13.33 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.0001403/0.5466, allocations: 37.16 kB / 0.7147 GB, free: 13.3 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.113e-05/0.5466, allocations: 52.25 kB / 0.7148 GB, free: 13.23 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.071e-05/0.5467, allocations: 106.9 kB / 0.7149 GB, free: 13.13 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.359e-05/0.5467, allocations: 25.7 kB / 0.7149 GB, free: 13.1 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.578e-05/0.5468, allocations: 90.94 kB / 0.715 GB, free: 13.01 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.293e-06/0.5468, allocations: 4.062 kB / 0.715 GB, free: 13 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.114e-05/0.5468, allocations: 23.23 kB / 0.715 GB, free: 12.98 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001017/0.5469, allocations: 321.2 kB / 0.7153 GB, free: 12.66 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.812e-05/0.547, allocations: 7.281 kB / 0.7153 GB, free: 12.66 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.477e-05/0.547, allocations: 14.92 kB / 0.7154 GB, free: 12.64 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.614e-05/0.547, allocations: 21.91 kB / 0.7154 GB, free: 12.62 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.547, allocations: 4 kB / 0.7154 GB, free: 12.62 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.904e-05/0.5471, allocations: 49.16 kB / 0.7154 GB, free: 12.58 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/0.5471, allocations: 5 kB / 0.7154 GB, free: 12.58 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.5471, allocations: 1.875 kB / 0.7154 GB, free: 12.58 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.5472, allocations: 1.406 kB / 0.7154 GB, free: 12.58 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.436e-05/0.5472, allocations: 4.578 kB / 0.7154 GB, free: 12.58 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.491e-06/0.5472, allocations: 2.203 kB / 0.7154 GB, free: 12.58 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.219e-05/0.5473, allocations: 5.156 kB / 0.7155 GB, free: 12.57 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.797e-06/0.5473, allocations: 1.375 kB / 0.7155 GB, free: 12.57 MB / 0.545 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.083e-05/0.5474, allocations: 120.5 kB / 0.7156 GB, free: 12.45 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.26e-05/0.5474, allocations: 1.922 kB / 0.7156 GB, free: 12.45 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001109/0.5475, allocations: 121.8 kB / 0.7157 GB, free: 12.33 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.925e-05/0.5476, allocations: 178 kB / 0.7159 GB, free: 12.15 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.387e-05/0.5476, allocations: 182.9 kB / 0.716 GB, free: 11.97 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001181/0.5478, allocations: 184.6 kB / 0.7162 GB, free: 11.79 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002165/0.548, allocations: 415.2 kB / 0.7166 GB, free: 11.33 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.002e-05/0.548, allocations: 105.6 kB / 0.7167 GB, free: 11.22 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.999e-05/0.5481, allocations: 103.8 kB / 0.7168 GB, free: 11.11 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.883e-05/0.5481, allocations: 181.4 kB / 0.717 GB, free: 10.93 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.393e-05/0.5482, allocations: 178.9 kB / 0.7171 GB, free: 10.75 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.857e-05/0.5483, allocations: 184.8 kB / 0.7173 GB, free: 10.56 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.05e-05/0.5483, allocations: 182.5 kB / 0.7175 GB, free: 10.38 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000137/0.5485, allocations: 305.4 kB / 0.7178 GB, free: 10.06 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.416e-05/0.5485, allocations: 185 kB / 0.718 GB, free: 9.859 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.191e-05/0.5486, allocations: 190.1 kB / 0.7181 GB, free: 9.668 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001565/0.5488, allocations: 108.8 kB / 0.7183 GB, free: 9.562 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.426e-05/0.5489, allocations: 176.8 kB / 0.7184 GB, free: 9.383 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.847e-05/0.5489, allocations: 107 kB / 0.7185 GB, free: 9.273 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.538e-05/0.549, allocations: 89.56 kB / 0.7186 GB, free: 9.195 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.3e-07/0.549, allocations: 0 / 0.7186 GB, free: 9.195 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004119/0.5494, allocations: 57.52 kB / 0.7187 GB, free: 9.18 MB / 0.545 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004276/0.5498, allocations: 252.7 kB / 0.7189 GB, free: 8.992 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 8.82e-05/0.5499, allocations: 8.203 kB / 0.7189 GB, free: 8.992 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.5499, allocations: 6 kB / 0.7189 GB, free: 8.988 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 4.859e-06/0.5499, allocations: 5.188 kB / 0.7189 GB, free: 8.984 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004379/0.5504, allocations: 460.5 kB / 0.7194 GB, free: 8.535 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003338/0.5507, allocations: 177.5 kB / 0.7195 GB, free: 8.359 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002827/0.551, allocations: 0.679 MB / 0.7202 GB, free: 7.66 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 5.37e-05/0.5511, allocations: 9.062 kB / 0.7202 GB, free: 7.656 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.733e-05/0.5511, allocations: 10.69 kB / 0.7202 GB, free: 7.652 MB / 0.545 GB Notification: Performance of SimCode: time 6.82e-07/0.5511, allocations: 0 / 0.7202 GB, free: 7.652 MB / 0.545 GB Notification: Performance of Templates: time 0.004581/0.5557, allocations: 1.285 MB / 0.7215 GB, free: 7.48 MB / 0.545 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)