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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001568/0.001568, allocations: 104.3 kB / 19.7 MB, free: 2.004 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001739/0.001739, allocations: 221 kB / 23 MB, free: 4.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.437/1.437, allocations: 230.6 MB / 256.8 MB, free: 7.973 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8493/0.8493, allocations: 134 MB / 447.2 MB, free: 9.926 MB / 350.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002376/0.002376, allocations: 70.89 kB / 0.6197 GB, free: 6.402 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1627/0.1651, allocations: 85.92 MB / 0.7036 GB, free: 0.5781 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.4864/0.6515, allocations: 119 MB / 0.8198 GB, free: 6.312 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0001749/0.6517, allocations: 45.94 kB / 0.8199 GB, free: 6.281 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.948e-05/0.6517, allocations: 2.719 kB / 0.8199 GB, free: 6.281 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0001132/0.6518, allocations: 7.922 kB / 0.8199 GB, free: 6.273 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 7.441e-05/0.6519, allocations: 6.688 kB / 0.8199 GB, free: 6.27 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.000913/0.6528, allocations: 257.9 kB / 0.8201 GB, free: 6.09 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 9.646e-05/0.6529, allocations: 34.23 kB / 0.8202 GB, free: 6.074 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 4.754e-05/0.6529, allocations: 6.797 kB / 0.8202 GB, free: 6.07 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 4.324e-05/0.653, allocations: 20.22 kB / 0.8202 GB, free: 6.059 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 7.278e-05/0.6531, allocations: 12.14 kB / 0.8202 GB, free: 6.055 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.379e-05/0.6531, allocations: 4 kB / 0.8202 GB, free: 6.051 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004274/0.6535, allocations: 176.7 kB / 0.8204 GB, free: 5.953 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 4.828e-05/0.6536, allocations: 10.88 kB / 0.8204 GB, free: 5.945 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 3.256e-05/0.6536, allocations: 12.75 kB / 0.8204 GB, free: 5.938 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0004035/0.654, allocations: 171.6 kB / 0.8206 GB, free: 5.867 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.654, allocations: 0 / 0.8206 GB, free: 5.867 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.463e-06/0.654, allocations: 0 / 0.8206 GB, free: 5.867 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.441e-06/0.654, allocations: 0 / 0.8206 GB, free: 5.867 MB / 0.5919 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.0004956/0.6545, allocations: 287.7 kB / 0.8208 GB, free: 5.578 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/0.6545, allocations: 10.62 kB / 0.8208 GB, free: 5.578 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.156e-05/0.6546, allocations: 4.938 kB / 0.8208 GB, free: 5.574 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001102/0.6547, allocations: 105.2 kB / 0.8209 GB, free: 5.449 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.057e-05/0.6548, allocations: 54.81 kB / 0.821 GB, free: 5.387 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.463e-05/0.6548, allocations: 3.938 kB / 0.821 GB, free: 5.383 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001665/0.655, allocations: 74.06 kB / 0.8211 GB, free: 5.309 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.655, allocations: 3.938 kB / 0.8211 GB, free: 5.305 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.112e-05/0.655, allocations: 0 / 0.8211 GB, free: 5.305 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.811e-05/0.655, allocations: 2.719 kB / 0.8211 GB, free: 5.305 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.612e-05/0.655, allocations: 16.14 kB / 0.8211 GB, free: 5.297 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006531/0.6557, allocations: 269.9 kB / 0.8214 GB, free: 5.047 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 5.604e-05/0.6558, allocations: 14.58 kB / 0.8214 GB, free: 5.023 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.582e-05/0.6558, allocations: 7.953 kB / 0.8214 GB, free: 5.016 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 7.068e-05/0.6558, allocations: 32.19 kB / 0.8214 GB, free: 5 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.214e-05/0.6559, allocations: 37 kB / 0.8214 GB, free: 4.957 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=1): time 1.172e-06/0.6559, allocations: 0 / 0.8214 GB, free: 4.957 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1): time 0.0001553/0.656, allocations: 30.52 kB / 0.8215 GB, free: 4.926 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.008e-05/0.6561, allocations: 56.16 kB / 0.8215 GB, free: 4.863 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.506e-05/0.6562, allocations: 103.6 kB / 0.8216 GB, free: 4.758 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.896e-05/0.6562, allocations: 29.83 kB / 0.8217 GB, free: 4.723 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 5.71e-05/0.6562, allocations: 92.03 kB / 0.8217 GB, free: 4.629 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.37e-06/0.6563, allocations: 2.906 kB / 0.8217 GB, free: 4.629 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.216e-05/0.6563, allocations: 16.14 kB / 0.8218 GB, free: 4.609 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001492/0.6564, allocations: 325.5 kB / 0.8221 GB, free: 4.285 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.31e-05/0.6564, allocations: 0 / 0.8221 GB, free: 4.285 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.24e-05/0.6565, allocations: 19 kB / 0.8221 GB, free: 4.266 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.784e-05/0.6565, allocations: 25.52 kB / 0.8221 GB, free: 4.242 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.6565, allocations: 0 / 0.8221 GB, free: 4.242 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.963e-05/0.6566, allocations: 51.05 kB / 0.8222 GB, free: 4.199 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/0.6566, allocations: 5.531 kB / 0.8222 GB, free: 4.199 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.6566, allocations: 3.984 kB / 0.8222 GB, free: 4.195 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.6566, allocations: 0 / 0.8222 GB, free: 4.195 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.252e-05/0.6567, allocations: 7.031 kB / 0.8222 GB, free: 4.195 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.6567, allocations: 0 / 0.8222 GB, free: 4.195 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.882e-05/0.6567, allocations: 2.531 kB / 0.8222 GB, free: 4.195 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.438e-06/0.6567, allocations: 2.938 kB / 0.8222 GB, free: 4.195 MB / 0.5919 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.141e-05/0.6568, allocations: 109.8 kB / 0.8223 GB, free: 4.078 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.546e-05/0.6568, allocations: 6.844 kB / 0.8223 GB, free: 4.074 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001363/0.657, allocations: 123.5 kB / 0.8224 GB, free: 3.945 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.244e-05/0.657, allocations: 178.8 kB / 0.8226 GB, free: 3.766 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.441e-05/0.6571, allocations: 184.2 kB / 0.8228 GB, free: 3.578 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.589e-05/0.6572, allocations: 178.6 kB / 0.8229 GB, free: 3.398 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002671/0.6575, allocations: 359.9 kB / 0.8233 GB, free: 3.012 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.838e-05/0.6575, allocations: 111.6 kB / 0.8234 GB, free: 2.902 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.266e-05/0.6576, allocations: 101 kB / 0.8235 GB, free: 2.797 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.628e-05/0.6577, allocations: 186.8 kB / 0.8236 GB, free: 2.609 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.646e-05/0.6578, allocations: 180.3 kB / 0.8238 GB, free: 2.426 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001032/0.6579, allocations: 188 kB / 0.824 GB, free: 2.238 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.399e-05/0.658, allocations: 180.2 kB / 0.8242 GB, free: 2.055 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002005/0.6582, allocations: 317.1 kB / 0.8245 GB, free: 1.727 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 6.095e-05/0.6582, allocations: 107.8 kB / 0.8246 GB, free: 1.617 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.697e-05/0.6583, allocations: 178.7 kB / 0.8247 GB, free: 1.438 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001677/0.6585, allocations: 111.7 kB / 0.8249 GB, free: 1.324 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.214e-05/0.6586, allocations: 176.3 kB / 0.825 GB, free: 1.145 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.739e-05/0.6586, allocations: 107 kB / 0.8251 GB, free: 1.035 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 5.617e-05/0.6587, allocations: 89.45 kB / 0.8252 GB, free: 0.9531 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.6587, allocations: 3.938 kB / 0.8252 GB, free: 0.9492 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003588/0.6591, allocations: 60.59 kB / 0.8253 GB, free: 0.9258 MB / 0.5919 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.0003523/0.6594, allocations: 245.1 kB / 0.8255 GB, free: 0.7305 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 7.603e-05/0.6595, allocations: 11.94 kB / 0.8255 GB, free: 0.7266 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 7.033e-06/0.6595, allocations: 4.125 kB / 0.8255 GB, free: 0.7227 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.673e-06/0.6595, allocations: 0 / 0.8255 GB, free: 0.7227 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004513/0.6599, allocations: 472.7 kB / 0.826 GB, free: 268 kB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003133/0.6603, allocations: 204.2 kB / 0.8262 GB, free: 48 kB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.819e-05/0.6603, allocations: 61.09 kB / 0.8262 GB, free: 15.97 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.342e-05/0.6604, allocations: 7.438 kB / 0.8262 GB, free: 15.96 MB / 0.6075 GB Notification: Performance of SimCode: time 3.91e-07/0.6604, allocations: 2.219 kB / 0.8262 GB, free: 15.96 MB / 0.6075 GB Notification: Performance of Templates: time 0.003196/0.6636, allocations: 1.241 MB / 0.8274 GB, free: 15.34 MB / 0.6075 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.279787406791002] Failed to read output from testmodel.py, exit status != 0: 0.671787547878921 0.687072826 0.029765007000000003 Calling exit ...