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.001334/0.001334, allocations: 119.2 kB / 19.7 MB, free: 2.188 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.001501/0.001501, allocations: 219.7 kB / 23 MB, free: 5.004 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.614/1.614, allocations: 230.6 MB / 256.8 MB, free: 8.008 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 1.052/1.052, allocations: 150 MB / 463.1 MB, free: 10.55 MB / 366.1 MB " [Timeout remaining time 178] 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.002097/0.002097, allocations: 61.84 kB / 0.6417 GB, free: 10.03 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2671/0.2692, allocations: 89.18 MB / 0.7288 GB, free: 0.9141 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.708/0.9772, allocations: 138.7 MB / 0.8642 GB, free: 10.5 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.000225/0.9774, allocations: 61.19 kB / 0.8643 GB, free: 10.45 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.035e-05/0.9775, allocations: 0 / 0.8643 GB, free: 10.45 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0001484/0.9776, allocations: 0 / 0.8643 GB, free: 10.45 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 9.063e-05/0.9777, allocations: 12.64 kB / 0.8643 GB, free: 10.45 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.001151/0.9789, allocations: 260.8 kB / 0.8645 GB, free: 10.27 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0001022/0.979, allocations: 37.44 kB / 0.8645 GB, free: 10.25 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 4.755e-05/0.979, allocations: 2.5 kB / 0.8646 GB, free: 10.25 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 4.099e-05/0.9791, allocations: 15.89 kB / 0.8646 GB, free: 10.24 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 8.456e-05/0.9791, allocations: 11.36 kB / 0.8646 GB, free: 10.23 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 1.34e-05/0.9792, allocations: 0 / 0.8646 GB, free: 10.23 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000547/0.9797, allocations: 266.9 kB / 0.8648 GB, free: 10.07 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 5.267e-05/0.9798, allocations: 2.406 kB / 0.8648 GB, free: 10.07 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 2.978e-05/0.9798, allocations: 14.41 kB / 0.8648 GB, free: 10.06 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0003649/0.9801, allocations: 191.8 kB / 0.865 GB, free: 9.973 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.9802, allocations: 0 / 0.865 GB, free: 9.973 MB / 0.6387 GB Notification: Performance of FrontEnd: time 3.065e-06/0.9802, allocations: 2.312 kB / 0.865 GB, free: 9.973 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 5.541e-06/0.9802, allocations: 0 / 0.865 GB, free: 9.973 MB / 0.6387 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.0004735/0.9806, allocations: 284.4 kB / 0.8653 GB, free: 9.684 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.9807, allocations: 9.656 kB / 0.8653 GB, free: 9.684 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.984e-05/0.9807, allocations: 3.75 kB / 0.8653 GB, free: 9.684 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001269/0.9808, allocations: 104.9 kB / 0.8654 GB, free: 9.559 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.354e-05/0.9809, allocations: 56.16 kB / 0.8655 GB, free: 9.492 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.505e-05/0.9809, allocations: 6.406 kB / 0.8655 GB, free: 9.488 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001363/0.9811, allocations: 47.5 kB / 0.8655 GB, free: 9.445 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.836e-06/0.9811, allocations: 0 / 0.8655 GB, free: 9.445 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/0.9811, allocations: 2.281 kB / 0.8655 GB, free: 9.445 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.792e-05/0.9811, allocations: 0 / 0.8655 GB, free: 9.445 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.972e-05/0.9812, allocations: 14.08 kB / 0.8655 GB, free: 9.441 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007656/0.9819, allocations: 287.3 kB / 0.8658 GB, free: 9.16 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001299/0.9821, allocations: 14.58 kB / 0.8658 GB, free: 9.137 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.869e-05/0.9821, allocations: 7.641 kB / 0.8658 GB, free: 9.129 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 7.652e-05/0.9822, allocations: 34.69 kB / 0.8659 GB, free: 9.109 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.141e-05/0.9822, allocations: 37.81 kB / 0.8659 GB, free: 9.066 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=1): time 1.323e-06/0.9822, allocations: 0 / 0.8659 GB, free: 9.066 MB / 0.6387 GB Notification: Performance of matching and sorting (n=1): time 0.0001708/0.9824, allocations: 38.78 kB / 0.8659 GB, free: 9.027 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.129e-05/0.9824, allocations: 54.16 kB / 0.866 GB, free: 8.965 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001344/0.9826, allocations: 102.2 kB / 0.8661 GB, free: 8.859 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 2.459e-05/0.9826, allocations: 25.7 kB / 0.8661 GB, free: 8.828 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 7.339e-05/0.9827, allocations: 91.06 kB / 0.8662 GB, free: 8.738 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 5.771e-06/0.9827, allocations: 0 / 0.8662 GB, free: 8.738 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.519e-05/0.9827, allocations: 16.42 kB / 0.8662 GB, free: 8.719 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0004257/0.9831, allocations: 321.2 kB / 0.8665 GB, free: 8.398 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.02e-05/0.9831, allocations: 6.75 kB / 0.8665 GB, free: 8.395 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.173e-05/0.9832, allocations: 19.97 kB / 0.8665 GB, free: 8.375 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.718e-05/0.9832, allocations: 22.86 kB / 0.8666 GB, free: 8.352 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.706e-06/0.9832, allocations: 0 / 0.8666 GB, free: 8.352 MB / 0.6387 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.83e-05/0.9833, allocations: 46.11 kB / 0.8666 GB, free: 8.312 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.274e-05/0.9833, allocations: 15.11 kB / 0.8666 GB, free: 8.305 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-06/0.9833, allocations: 3.375 kB / 0.8666 GB, free: 8.305 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.9834, allocations: 0 / 0.8666 GB, free: 8.305 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.211e-05/0.9834, allocations: 4.938 kB / 0.8666 GB, free: 8.305 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.9834, allocations: 0 / 0.8666 GB, free: 8.305 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.472e-05/0.9834, allocations: 6.953 kB / 0.8666 GB, free: 8.301 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.988e-06/0.9835, allocations: 0 / 0.8666 GB, free: 8.301 MB / 0.6387 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 0.0001152/0.9836, allocations: 112.9 kB / 0.8667 GB, free: 8.184 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.639e-05/0.9836, allocations: 3 kB / 0.8668 GB, free: 8.184 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001468/0.9837, allocations: 128.6 kB / 0.8669 GB, free: 8.055 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001388/0.9839, allocations: 180.2 kB / 0.867 GB, free: 7.871 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001093/0.984, allocations: 183.2 kB / 0.8672 GB, free: 7.688 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001003/0.9841, allocations: 184.3 kB / 0.8674 GB, free: 7.5 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004134/0.9845, allocations: 376.8 kB / 0.8678 GB, free: 7.086 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.00011/0.9846, allocations: 113.4 kB / 0.8679 GB, free: 6.969 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.132e-05/0.9847, allocations: 101 kB / 0.868 GB, free: 6.863 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.852e-05/0.9848, allocations: 183.3 kB / 0.8681 GB, free: 6.68 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002224/0.985, allocations: 180.8 kB / 0.8683 GB, free: 6.496 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.779e-05/0.9851, allocations: 180.3 kB / 0.8685 GB, free: 6.312 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001063/0.9852, allocations: 190.5 kB / 0.8687 GB, free: 6.121 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002443/0.9854, allocations: 302.2 kB / 0.8689 GB, free: 5.805 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 6.218e-05/0.9855, allocations: 111.6 kB / 0.8691 GB, free: 5.691 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001188/0.9856, allocations: 183.2 kB / 0.8692 GB, free: 5.508 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001651/0.9858, allocations: 111.6 kB / 0.8693 GB, free: 5.395 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001081/0.9859, allocations: 180.3 kB / 0.8695 GB, free: 5.211 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.289e-05/0.9859, allocations: 107.9 kB / 0.8696 GB, free: 5.102 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 6.356e-05/0.986, allocations: 88.58 kB / 0.8697 GB, free: 5.02 MB / 0.6387 GB Notification: Performance of sort global known variables: time 8.1e-08/0.986, allocations: 0 / 0.8697 GB, free: 5.02 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0003626/0.9864, allocations: 58.97 kB / 0.8698 GB, free: 4.996 MB / 0.6387 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.0003661/0.9867, allocations: 256.7 kB / 0.87 GB, free: 4.793 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 8.777e-05/0.9868, allocations: 9.828 kB / 0.87 GB, free: 4.789 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.9868, allocations: 0 / 0.87 GB, free: 4.789 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 5.21e-06/0.9868, allocations: 6.031 kB / 0.87 GB, free: 4.785 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004827/0.9873, allocations: 462.7 kB / 0.8705 GB, free: 4.332 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003407/0.9876, allocations: 180.8 kB / 0.8706 GB, free: 4.145 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004608/0.9881, allocations: 0.6737 MB / 0.8713 GB, free: 3.449 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 4.407e-05/0.9882, allocations: 11.12 kB / 0.8713 GB, free: 3.441 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.445e-05/0.9882, allocations: 10.16 kB / 0.8713 GB, free: 3.434 MB / 0.6387 GB Notification: Performance of SimCode: time 3.01e-07/0.9882, allocations: 0 / 0.8713 GB, free: 3.434 MB / 0.6387 GB Notification: Performance of Templates: time 0.004531/0.9927, allocations: 1.288 MB / 0.8726 GB, free: 2.758 MB / 0.6387 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: 7.041659186128527] Failed to read output from testmodel.py, exit status != 0: 1.0019006109796464 1.018133274 0.034514677 Calling exit ...