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.001401/0.001401, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001516/0.001516, allocations: 221.9 kB / 23.01 MB, free: 4.609 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.451/1.451, allocations: 230.6 MB / 256.8 MB, free: 8.031 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.904/0.904, allocations: 134 MB / 447.2 MB, free: 10.26 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.003/0.003, allocations: 70.17 kB / 0.6197 GB, free: 6.754 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2058/0.2088, allocations: 85.91 MB / 0.7036 GB, free: 0.9219 MB / 0.5138 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.5414/0.7502, allocations: 138.7 MB / 0.8391 GB, free: 9.34 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0001804/0.7504, allocations: 55.84 kB / 0.8391 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.549e-05/0.7504, allocations: 0 / 0.8391 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001131/0.7505, allocations: 7.984 kB / 0.8392 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.958e-05/0.7506, allocations: 14.48 kB / 0.8392 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009449/0.7515, allocations: 257.6 kB / 0.8394 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.15e-05/0.7516, allocations: 35.36 kB / 0.8394 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.535e-05/0.7517, allocations: 2.125 kB / 0.8395 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.434e-05/0.7517, allocations: 26.33 kB / 0.8395 GB, free: 9.078 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.877e-05/0.7518, allocations: 4.438 kB / 0.8395 GB, free: 9.078 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.14e-05/0.7518, allocations: 7.219 kB / 0.8395 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005684/0.7524, allocations: 260.5 kB / 0.8397 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.751e-05/0.7524, allocations: 10.86 kB / 0.8397 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.896e-05/0.7524, allocations: 16.52 kB / 0.8398 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003253/0.7528, allocations: 178.8 kB / 0.8399 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.7528, allocations: 7.938 kB / 0.8399 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.313e-06/0.7528, allocations: 4 kB / 0.8399 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.368e-06/0.7528, allocations: 0 / 0.8399 GB, free: 8.812 MB / 0.6075 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.0004545/0.7532, allocations: 289.2 kB / 0.8402 GB, free: 8.523 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.7533, allocations: 7.719 kB / 0.8402 GB, free: 8.523 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.93e-05/0.7533, allocations: 2.781 kB / 0.8402 GB, free: 8.523 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001197/0.7534, allocations: 109.2 kB / 0.8403 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.273e-05/0.7535, allocations: 56.14 kB / 0.8404 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.562e-05/0.7535, allocations: 7 kB / 0.8404 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001453/0.7537, allocations: 51.45 kB / 0.8404 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/0.7537, allocations: 0 / 0.8404 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/0.7537, allocations: 0 / 0.8404 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.144e-05/0.7537, allocations: 0 / 0.8404 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.194e-05/0.7538, allocations: 14.17 kB / 0.8405 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006478/0.7544, allocations: 282.9 kB / 0.8407 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 5.004e-05/0.7545, allocations: 28.8 kB / 0.8408 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.574e-05/0.7545, allocations: 4.859 kB / 0.8408 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 6.888e-05/0.7545, allocations: 30.42 kB / 0.8408 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.915e-05/0.7546, allocations: 30.56 kB / 0.8408 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 9.62e-07/0.7546, allocations: 0 / 0.8408 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.0001478/0.7547, allocations: 38.66 kB / 0.8409 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.861e-05/0.7548, allocations: 53.31 kB / 0.8409 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.579e-05/0.7548, allocations: 108.8 kB / 0.841 GB, free: 7.691 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.979e-05/0.7549, allocations: 25.7 kB / 0.841 GB, free: 7.66 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.514e-05/0.7549, allocations: 86.41 kB / 0.8411 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 9.087e-06/0.7549, allocations: 7.984 kB / 0.8411 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.317e-05/0.755, allocations: 18.72 kB / 0.8411 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001569/0.7551, allocations: 314.8 kB / 0.8414 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.628e-05/0.7551, allocations: 6.766 kB / 0.8414 GB, free: 7.227 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.037e-05/0.7552, allocations: 20.34 kB / 0.8415 GB, free: 7.203 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.562e-05/0.7552, allocations: 21.34 kB / 0.8415 GB, free: 7.184 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.7552, allocations: 3.938 kB / 0.8415 GB, free: 7.18 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.948e-05/0.7553, allocations: 45.92 kB / 0.8415 GB, free: 7.141 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.7553, allocations: 5.375 kB / 0.8415 GB, free: 7.141 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.349e-06/0.7553, allocations: 2.469 kB / 0.8415 GB, free: 7.141 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.7553, allocations: 0.8438 kB / 0.8415 GB, free: 7.141 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.874e-05/0.7554, allocations: 13.08 kB / 0.8416 GB, free: 7.133 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.581e-06/0.7554, allocations: 0 / 0.8416 GB, free: 7.133 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.24e-05/0.7554, allocations: 14.53 kB / 0.8416 GB, free: 7.125 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.017e-06/0.7554, allocations: 0 / 0.8416 GB, free: 7.125 MB / 0.6075 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 9.434e-05/0.7555, allocations: 111.9 kB / 0.8417 GB, free: 7.008 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.633e-05/0.7555, allocations: 2.594 kB / 0.8417 GB, free: 7.008 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001295/0.7557, allocations: 118.3 kB / 0.8418 GB, free: 6.887 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001033/0.7558, allocations: 188.2 kB / 0.842 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.333e-05/0.7559, allocations: 183 kB / 0.8421 GB, free: 6.512 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.446e-05/0.7559, allocations: 176.3 kB / 0.8423 GB, free: 6.332 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002792/0.7562, allocations: 385.2 kB / 0.8427 GB, free: 5.91 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.405e-05/0.7563, allocations: 101 kB / 0.8428 GB, free: 5.805 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.55e-05/0.7563, allocations: 104.9 kB / 0.8429 GB, free: 5.695 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.714e-05/0.7564, allocations: 186.1 kB / 0.8431 GB, free: 5.508 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.67e-05/0.7565, allocations: 180.3 kB / 0.8432 GB, free: 5.324 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.971e-05/0.7566, allocations: 183.5 kB / 0.8434 GB, free: 5.141 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.857e-05/0.7567, allocations: 180.3 kB / 0.8436 GB, free: 4.957 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001786/0.7568, allocations: 310.8 kB / 0.8439 GB, free: 4.633 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.084e-05/0.7569, allocations: 107 kB / 0.844 GB, free: 4.523 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000106/0.757, allocations: 190.8 kB / 0.8442 GB, free: 4.332 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001633/0.7572, allocations: 107.1 kB / 0.8443 GB, free: 4.223 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.836e-05/0.7573, allocations: 182.7 kB / 0.8444 GB, free: 4.039 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.361e-05/0.7573, allocations: 105 kB / 0.8445 GB, free: 3.93 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.677e-05/0.7574, allocations: 88.64 kB / 0.8446 GB, free: 3.848 MB / 0.6075 GB Notification: Performance of sort global known variables: time 7e-08/0.7574, allocations: 0 / 0.8446 GB, free: 3.848 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003507/0.7577, allocations: 58 kB / 0.8447 GB, free: 3.828 MB / 0.6075 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.0003612/0.7581, allocations: 260.1 kB / 0.8449 GB, free: 3.621 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 9.618e-05/0.7582, allocations: 9.625 kB / 0.8449 GB, free: 3.617 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.7582, allocations: 2.094 kB / 0.8449 GB, free: 3.617 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.313e-06/0.7582, allocations: 0 / 0.8449 GB, free: 3.617 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000487/0.7587, allocations: 466.2 kB / 0.8454 GB, free: 3.16 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003264/0.759, allocations: 202.2 kB / 0.8456 GB, free: 2.949 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003475/0.7593, allocations: 0.6793 MB / 0.8462 GB, free: 2.246 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.526e-05/0.7594, allocations: 9.5 kB / 0.8462 GB, free: 2.242 MB / 0.6075 GB Notification: Performance of SimCode: time 4.11e-07/0.7594, allocations: 0 / 0.8462 GB, free: 2.242 MB / 0.6075 GB Notification: Performance of Templates: time 0.003391/0.7628, allocations: 1.23 MB / 0.8474 GB, free: 1.613 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.722491982858628] Failed to read output from testmodel.py, exit status != 0: 0.7724026478827 0.7971949429999999 0.038513418 Calling exit ...