Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.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.002016/0.002016, allocations: 119.4 kB / 19.7 MB, free: 2.035 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.002536/0.002536, allocations: 224.1 kB / 23.01 MB, free: 4.895 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.677/1.677, allocations: 230.6 MB / 256.8 MB, free: 7.953 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.122/1.122, allocations: 150 MB / 463.1 MB, free: 10.45 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.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion") translateModel(IBPSA.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion") [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.002078/0.002078, allocations: 67.52 kB / 0.6417 GB, free: 9.875 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2183/0.2203, allocations: 89.17 MB / 0.7288 GB, free: 0.7656 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.AirTemperatureEnthalpyInversion): time 0.6427/0.863, allocations: 151.6 MB / 0.8768 GB, free: 15.46 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0001772/0.8632, allocations: 56.66 kB / 0.8769 GB, free: 15.41 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.198e-05/0.8632, allocations: 0 / 0.8769 GB, free: 15.41 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001253/0.8633, allocations: 0 / 0.8769 GB, free: 15.41 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 8.6e-05/0.8634, allocations: 11.92 kB / 0.8769 GB, free: 15.4 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009052/0.8643, allocations: 224.8 kB / 0.8771 GB, free: 15.18 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 9.392e-05/0.8644, allocations: 31.84 kB / 0.8771 GB, free: 15.15 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.732e-05/0.8645, allocations: 4 kB / 0.8772 GB, free: 15.15 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 4.547e-05/0.8645, allocations: 23.91 kB / 0.8772 GB, free: 15.12 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 7.766e-05/0.8646, allocations: 8 kB / 0.8772 GB, free: 15.12 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.31e-05/0.8646, allocations: 0 / 0.8772 GB, free: 15.12 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004687/0.8651, allocations: 219.3 kB / 0.8774 GB, free: 14.9 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 5.449e-05/0.8651, allocations: 11.97 kB / 0.8774 GB, free: 14.89 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.125e-05/0.8652, allocations: 15.94 kB / 0.8774 GB, free: 14.88 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002645/0.8654, allocations: 118 kB / 0.8775 GB, free: 14.77 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.8654, allocations: 0 / 0.8775 GB, free: 14.77 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.292e-06/0.8654, allocations: 1.969 kB / 0.8775 GB, free: 14.77 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.521e-06/0.8654, allocations: 0 / 0.8775 GB, free: 14.77 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004522/0.8659, allocations: 270.2 kB / 0.8778 GB, free: 14.47 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.8659, allocations: 8.031 kB / 0.8778 GB, free: 14.46 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003209/0.8663, allocations: 24.91 kB / 0.8778 GB, free: 14.44 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001154/0.8664, allocations: 118.7 kB / 0.8779 GB, free: 14.3 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.954e-05/0.8665, allocations: 55.34 kB / 0.878 GB, free: 14.23 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.586e-06/0.8665, allocations: 0 / 0.878 GB, free: 14.23 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001527/0.8666, allocations: 49.62 kB / 0.878 GB, free: 14.18 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.787e-06/0.8666, allocations: 0 / 0.878 GB, free: 14.18 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.209e-05/0.8666, allocations: 0 / 0.878 GB, free: 14.18 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.96e-05/0.8667, allocations: 7.984 kB / 0.878 GB, free: 14.17 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.873e-05/0.8667, allocations: 19.98 kB / 0.8781 GB, free: 14.15 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004077/0.8671, allocations: 232 kB / 0.8783 GB, free: 13.88 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 5.664e-05/0.8672, allocations: 18.58 kB / 0.8783 GB, free: 13.86 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.757e-05/0.8672, allocations: 16.91 kB / 0.8783 GB, free: 13.84 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001243/0.8673, allocations: 15.94 kB / 0.8783 GB, free: 13.82 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.861e-05/0.8674, allocations: 38.55 kB / 0.8784 GB, free: 13.77 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 1.103e-06/0.8674, allocations: 0 / 0.8784 GB, free: 13.77 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2): time 0.0002606/0.8676, allocations: 45.69 kB / 0.8784 GB, free: 13.72 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.519e-05/0.8677, allocations: 55.41 kB / 0.8785 GB, free: 13.66 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001011/0.8678, allocations: 104 kB / 0.8786 GB, free: 13.55 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.919e-05/0.8678, allocations: 25.7 kB / 0.8786 GB, free: 13.52 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 6.255e-05/0.8679, allocations: 96.02 kB / 0.8787 GB, free: 13.42 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.092e-05/0.8679, allocations: 8.078 kB / 0.8787 GB, free: 13.41 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.478e-05/0.8679, allocations: 17.72 kB / 0.8787 GB, free: 13.39 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001484/0.8681, allocations: 314.8 kB / 0.879 GB, free: 13.07 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.786e-05/0.8681, allocations: 11.94 kB / 0.879 GB, free: 13.06 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.868e-05/0.8681, allocations: 22.56 kB / 0.879 GB, free: 13.03 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.242e-05/0.8682, allocations: 30.58 kB / 0.8791 GB, free: 12.99 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.8682, allocations: 0 / 0.8791 GB, free: 12.99 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.157e-05/0.8683, allocations: 54.56 kB / 0.8791 GB, free: 12.93 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.8683, allocations: 8 kB / 0.8791 GB, free: 12.92 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.8683, allocations: 0 / 0.8791 GB, free: 12.92 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.8683, allocations: 0 / 0.8791 GB, free: 12.92 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.538e-05/0.8684, allocations: 11.94 kB / 0.8791 GB, free: 12.91 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.74e-06/0.8684, allocations: 0 / 0.8791 GB, free: 12.91 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.145e-05/0.8684, allocations: 8.016 kB / 0.8791 GB, free: 12.9 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.307e-06/0.8684, allocations: 12 kB / 0.8792 GB, free: 12.89 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (4): * Single equations (assignments): 4 * 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.0001037/0.8685, allocations: 107.8 kB / 0.8793 GB, free: 12.78 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.18e-05/0.8686, allocations: 7.953 kB / 0.8793 GB, free: 12.77 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.517e-05/0.8686, allocations: 7.312 kB / 0.8793 GB, free: 12.76 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.8686, allocations: 0.5 kB / 0.8793 GB, free: 12.76 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.8686, allocations: 0 / 0.8793 GB, free: 12.76 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/0.8686, allocations: 7.875 kB / 0.8793 GB, free: 12.75 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003498/0.869, allocations: 334.7 kB / 0.8796 GB, free: 12.37 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.869, allocations: 2.125 kB / 0.8796 GB, free: 12.37 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.735e-05/0.869, allocations: 4 kB / 0.8796 GB, free: 12.37 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.869, allocations: 3.938 kB / 0.8796 GB, free: 12.36 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.783e-06/0.869, allocations: 0 / 0.8796 GB, free: 12.36 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.869, allocations: 0 / 0.8796 GB, free: 12.36 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/0.869, allocations: 4.281 kB / 0.8796 GB, free: 12.36 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000111/0.8691, allocations: 77.98 kB / 0.8797 GB, free: 12.26 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 1.062e-05/0.8691, allocations: 7.938 kB / 0.8797 GB, free: 12.25 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.789e-05/0.8691, allocations: 7.938 kB / 0.8797 GB, free: 12.25 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.168e-05/0.8692, allocations: 3.984 kB / 0.8797 GB, free: 12.24 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.793e-05/0.8692, allocations: 4 kB / 0.8797 GB, free: 12.24 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.084e-06/0.8692, allocations: 0 / 0.8797 GB, free: 12.24 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 6.088e-05/0.8693, allocations: 83.28 kB / 0.8798 GB, free: 12.16 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/0.8693, allocations: 4.031 kB / 0.8798 GB, free: 12.15 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002001/0.8695, allocations: 8 kB / 0.8798 GB, free: 12.14 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.0001559/0.8697, allocations: 107.2 kB / 0.8799 GB, free: 12.03 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 9.253e-05/0.8698, allocations: 19.88 kB / 0.8799 GB, free: 12.01 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.8698, allocations: 0 / 0.8799 GB, free: 12.01 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 1.133e-05/0.8698, allocations: 4 kB / 0.8799 GB, free: 12.01 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002617/0.87, allocations: 10.91 kB / 0.8799 GB, free: 12 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003392/0.8704, allocations: 132.2 kB / 0.8801 GB, free: 11.84 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000429/0.8708, allocations: 0.6729 MB / 0.8807 GB, free: 11.14 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 5.234e-05/0.8708, allocations: 11.98 kB / 0.8807 GB, free: 11.13 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.718e-05/0.8709, allocations: 7.438 kB / 0.8807 GB, free: 11.12 MB / 0.6544 GB Notification: Performance of SimCode: time 3.21e-07/0.8709, allocations: 0 / 0.8807 GB, free: 11.12 MB / 0.6544 GB Notification: Performance of Templates: time 0.003322/0.8742, allocations: 0.5958 MB / 0.8813 GB, free: 10.54 MB / 0.6544 GB " [Timeout remaining time 659] make -j1 -f IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.sim & ./IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.067790524102747] Failed to read output from testmodel.py, exit status != 0: 0.8836901248432696 0.89884387 0.030210174000000003 Calling exit ...