Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001664/0.001664, allocations: 96.42 kB / 20.45 MB, free: 1.262 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.002112/0.002112, allocations: 212.3 kB / 23.75 MB, free: 4.445 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.468/1.468, allocations: 230.6 MB / 257.5 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9779/0.9779, allocations: 149.9 MB / 463.8 MB, free: 10.79 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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(IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion") translateModel(IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion") [Timeout 660] "Notification: IBPSA 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.002119/0.002119, allocations: 61.78 kB / 0.6423 GB, free: 9.758 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1768/0.1789, allocations: 89.17 MB / 0.7294 GB, free: 0.6484 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.5024/0.6814, allocations: 119 MB / 0.8456 GB, free: 10.16 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.0001623/0.6815, allocations: 42.7 kB / 0.8456 GB, free: 10.13 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.439e-05/0.6815, allocations: 0 / 0.8456 GB, free: 10.13 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0001052/0.6816, allocations: 6.953 kB / 0.8456 GB, free: 10.13 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 7.399e-05/0.6817, allocations: 7.922 kB / 0.8456 GB, free: 10.12 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008831/0.6826, allocations: 262.2 kB / 0.8459 GB, free: 9.941 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 8.461e-05/0.6827, allocations: 32.23 kB / 0.8459 GB, free: 9.926 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 4.209e-05/0.6827, allocations: 6.828 kB / 0.8459 GB, free: 9.922 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 3.04e-05/0.6828, allocations: 7.656 kB / 0.8459 GB, free: 9.922 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 7.28e-05/0.6828, allocations: 19.89 kB / 0.8459 GB, free: 9.91 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 1.206e-05/0.6828, allocations: 0 / 0.8459 GB, free: 9.91 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004111/0.6833, allocations: 181 kB / 0.8461 GB, free: 9.809 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 4.626e-05/0.6833, allocations: 6.828 kB / 0.8461 GB, free: 9.805 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 2.399e-05/0.6833, allocations: 8.984 kB / 0.8461 GB, free: 9.801 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0003197/0.6836, allocations: 168.7 kB / 0.8463 GB, free: 9.73 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.6836, allocations: 0 / 0.8463 GB, free: 9.73 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.322e-06/0.6837, allocations: 0 / 0.8463 GB, free: 9.73 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 8.365e-06/0.6837, allocations: 0 / 0.8463 GB, free: 9.73 MB / 0.6231 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.0004371/0.6841, allocations: 287.4 kB / 0.8466 GB, free: 9.441 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.302e-05/0.6841, allocations: 8.281 kB / 0.8466 GB, free: 9.441 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.794e-05/0.6842, allocations: 7.562 kB / 0.8466 GB, free: 9.438 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001191/0.6843, allocations: 105.1 kB / 0.8467 GB, free: 9.312 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.052e-05/0.6844, allocations: 52.16 kB / 0.8467 GB, free: 9.25 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.425e-05/0.6844, allocations: 6.312 kB / 0.8467 GB, free: 9.246 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001502/0.6845, allocations: 75.72 kB / 0.8468 GB, free: 9.168 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.854e-06/0.6845, allocations: 0 / 0.8468 GB, free: 9.168 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.307e-05/0.6846, allocations: 6.641 kB / 0.8468 GB, free: 9.164 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.634e-05/0.6846, allocations: 0 / 0.8468 GB, free: 9.164 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.49e-05/0.6846, allocations: 20.17 kB / 0.8468 GB, free: 9.152 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006272/0.6852, allocations: 257.5 kB / 0.8471 GB, free: 8.914 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 4.888e-05/0.6853, allocations: 16.89 kB / 0.8471 GB, free: 8.891 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.466e-05/0.6853, allocations: 8.797 kB / 0.8471 GB, free: 8.879 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 7.238e-05/0.6854, allocations: 35.12 kB / 0.8471 GB, free: 8.863 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.76e-05/0.6854, allocations: 30.56 kB / 0.8472 GB, free: 8.824 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=1): time 1.102e-06/0.6854, allocations: 0 / 0.8472 GB, free: 8.824 MB / 0.6231 GB Notification: Performance of matching and sorting (n=1): time 0.0001503/0.6856, allocations: 36.03 kB / 0.8472 GB, free: 8.789 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.135e-05/0.6856, allocations: 53.59 kB / 0.8472 GB, free: 8.727 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000102/0.6857, allocations: 103.6 kB / 0.8473 GB, free: 8.621 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 1.883e-05/0.6857, allocations: 29.7 kB / 0.8474 GB, free: 8.586 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 5.596e-05/0.6858, allocations: 86.69 kB / 0.8474 GB, free: 8.5 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 6.693e-06/0.6858, allocations: 4 kB / 0.8475 GB, free: 8.496 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.163e-05/0.6858, allocations: 14.69 kB / 0.8475 GB, free: 8.48 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001677/0.686, allocations: 322.7 kB / 0.8478 GB, free: 8.156 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.777e-05/0.686, allocations: 6.938 kB / 0.8478 GB, free: 8.152 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.64e-05/0.686, allocations: 15.41 kB / 0.8478 GB, free: 8.137 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.02e-05/0.6861, allocations: 22.7 kB / 0.8478 GB, free: 8.113 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.6861, allocations: 4.531 kB / 0.8478 GB, free: 8.113 MB / 0.6231 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.648e-05/0.6861, allocations: 44.23 kB / 0.8479 GB, free: 8.074 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/0.6862, allocations: 5.812 kB / 0.8479 GB, free: 8.074 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.297e-05/0.6862, allocations: 10.16 kB / 0.8479 GB, free: 8.066 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.6862, allocations: 0 / 0.8479 GB, free: 8.066 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.534e-05/0.6862, allocations: 9.438 kB / 0.8479 GB, free: 8.062 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.052e-06/0.6862, allocations: 0.625 kB / 0.8479 GB, free: 8.062 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.112e-05/0.6863, allocations: 6.859 kB / 0.8479 GB, free: 8.059 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.747e-06/0.6863, allocations: 0 / 0.8479 GB, free: 8.059 MB / 0.6231 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.353e-05/0.6864, allocations: 112.7 kB / 0.848 GB, free: 7.941 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.555e-05/0.6864, allocations: 4.062 kB / 0.848 GB, free: 7.938 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001259/0.6865, allocations: 128.3 kB / 0.8481 GB, free: 7.812 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9e-05/0.6866, allocations: 176.3 kB / 0.8483 GB, free: 7.633 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.89e-05/0.6867, allocations: 189.5 kB / 0.8485 GB, free: 7.445 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.128e-05/0.6868, allocations: 179.1 kB / 0.8486 GB, free: 7.266 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002586/0.687, allocations: 367.5 kB / 0.849 GB, free: 6.871 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.828e-05/0.6871, allocations: 101 kB / 0.8491 GB, free: 6.766 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.761e-05/0.6871, allocations: 103.3 kB / 0.8492 GB, free: 6.66 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.251e-05/0.6872, allocations: 184.2 kB / 0.8494 GB, free: 6.473 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.311e-05/0.6873, allocations: 182.7 kB / 0.8495 GB, free: 6.289 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.069e-05/0.6874, allocations: 187.2 kB / 0.8497 GB, free: 6.102 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-05/0.6875, allocations: 180.3 kB / 0.8499 GB, free: 5.918 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002005/0.6877, allocations: 309.1 kB / 0.8502 GB, free: 5.598 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 5.95e-05/0.6878, allocations: 103.5 kB / 0.8503 GB, free: 5.492 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001084/0.6879, allocations: 184.2 kB / 0.8505 GB, free: 5.305 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001576/0.688, allocations: 110.4 kB / 0.8506 GB, free: 5.195 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.374e-05/0.6881, allocations: 176.3 kB / 0.8507 GB, free: 5.016 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.003e-05/0.6882, allocations: 107.7 kB / 0.8508 GB, free: 4.906 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 6.802e-05/0.6882, allocations: 85.34 kB / 0.8509 GB, free: 4.828 MB / 0.6231 GB Notification: Performance of sort global known variables: time 6.1e-08/0.6882, allocations: 0 / 0.8509 GB, free: 4.828 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003654/0.6886, allocations: 58.64 kB / 0.851 GB, free: 4.805 MB / 0.6231 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.0003356/0.6889, allocations: 248.1 kB / 0.8512 GB, free: 4.605 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 7.685e-05/0.689, allocations: 9.094 kB / 0.8512 GB, free: 4.605 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.689, allocations: 4.125 kB / 0.8512 GB, free: 4.602 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 1.134e-05/0.689, allocations: 3.938 kB / 0.8512 GB, free: 4.598 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004625/0.6895, allocations: 473.4 kB / 0.8517 GB, free: 4.141 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000333/0.6898, allocations: 208.6 kB / 0.8519 GB, free: 3.922 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.329e-05/0.6899, allocations: 61.7 kB / 0.8519 GB, free: 3.844 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.912e-05/0.6899, allocations: 14.72 kB / 0.852 GB, free: 3.832 MB / 0.6231 GB Notification: Performance of SimCode: time 3e-07/0.6899, allocations: 0 / 0.852 GB, free: 3.832 MB / 0.6231 GB Notification: Performance of Templates: time 0.003173/0.6931, allocations: 1.245 MB / 0.8532 GB, free: 3.199 MB / 0.6231 GB " [Timeout remaining time 659] make -j1 -f IBPSA_latest_IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.sim & ./IBPSA_latest_IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.801361251156777] Failed to read output from testmodel.py, exit status != 0: 0.7018875163048506 0.716816503 0.029981984000000003 Calling exit ...