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.001684/0.001684, 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.002107/0.002107, allocations: 212.7 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.523/1.523, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.9929/0.9929, allocations: 149.9 MB / 463.8 MB, free: 10.32 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.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.002193/0.002193, allocations: 66.73 kB / 0.6423 GB, free: 9.66 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1948/0.197, allocations: 89.18 MB / 0.7294 GB, free: 0.543 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.AirTemperatureEnthalpyInversion): time 0.5501/0.7471, allocations: 130.3 MB / 0.8566 GB, free: 1.781 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.0001523/0.7472, allocations: 55.77 kB / 0.8567 GB, free: 1.742 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.783e-05/0.7472, allocations: 0 / 0.8567 GB, free: 1.742 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0001228/0.7474, allocations: 3.938 kB / 0.8567 GB, free: 1.738 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 7.869e-05/0.7474, allocations: 10.28 kB / 0.8567 GB, free: 1.73 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007849/0.7482, allocations: 213.5 kB / 0.8569 GB, free: 1.586 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 8.308e-05/0.7483, allocations: 38.02 kB / 0.8569 GB, free: 1.566 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 4.476e-05/0.7483, allocations: 2.781 kB / 0.8569 GB, free: 1.566 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 3.356e-05/0.7484, allocations: 14.56 kB / 0.857 GB, free: 1.562 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 6.946e-05/0.7484, allocations: 16.91 kB / 0.857 GB, free: 1.551 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 1.243e-05/0.7485, allocations: 0 / 0.857 GB, free: 1.551 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003687/0.7488, allocations: 166.4 kB / 0.8571 GB, free: 1.453 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 4.274e-05/0.7489, allocations: 6.719 kB / 0.8571 GB, free: 1.449 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 2.96e-05/0.7489, allocations: 16.94 kB / 0.8572 GB, free: 1.438 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.00025/0.7492, allocations: 103.8 kB / 0.8573 GB, free: 1.395 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.177e-06/0.7492, allocations: 0 / 0.8573 GB, free: 1.395 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.633e-06/0.7492, allocations: 0 / 0.8573 GB, free: 1.395 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 5.16e-06/0.7492, allocations: 0 / 0.8573 GB, free: 1.395 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004427/0.7496, allocations: 266.3 kB / 0.8575 GB, free: 1.121 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.598e-05/0.7496, allocations: 7.938 kB / 0.8575 GB, free: 1.121 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003382/0.75, allocations: 29.12 kB / 0.8575 GB, free: 1.109 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001266/0.7501, allocations: 113.2 kB / 0.8576 GB, free: 0.9766 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001013/0.7502, allocations: 55.34 kB / 0.8577 GB, free: 0.9102 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.851e-05/0.7502, allocations: 9.094 kB / 0.8577 GB, free: 0.9062 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001505/0.7504, allocations: 69.83 kB / 0.8578 GB, free: 0.8359 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.7504, allocations: 2.969 kB / 0.8578 GB, free: 0.8359 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.402e-05/0.7504, allocations: 3.984 kB / 0.8578 GB, free: 0.832 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.463e-05/0.7504, allocations: 0 / 0.8578 GB, free: 0.832 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.134e-05/0.7505, allocations: 25.36 kB / 0.8578 GB, free: 0.8203 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000364/0.7508, allocations: 214.8 kB / 0.858 GB, free: 0.5977 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 6.478e-05/0.7509, allocations: 25.53 kB / 0.858 GB, free: 0.5664 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.636e-05/0.7509, allocations: 11.95 kB / 0.858 GB, free: 0.5547 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001239/0.751, allocations: 14.83 kB / 0.8581 GB, free: 0.5508 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.387e-05/0.7511, allocations: 33.12 kB / 0.8581 GB, free: 0.5117 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.7511, allocations: 0 / 0.8581 GB, free: 0.5117 MB / 0.6231 GB Notification: Performance of matching and sorting (n=2): time 0.0002414/0.7513, allocations: 46.97 kB / 0.8581 GB, free: 484 kB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.345e-05/0.7514, allocations: 55.53 kB / 0.8582 GB, free: 416 kB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.987e-05/0.7515, allocations: 113.4 kB / 0.8583 GB, free: 300 kB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.291e-05/0.7515, allocations: 25.7 kB / 0.8583 GB, free: 268 kB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 6.475e-05/0.7516, allocations: 87.03 kB / 0.8584 GB, free: 180 kB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 7.514e-06/0.7516, allocations: 3.953 kB / 0.8584 GB, free: 176 kB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.79e-05/0.7516, allocations: 16.31 kB / 0.8584 GB, free: 156 kB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001754/0.7518, allocations: 317.4 kB / 0.8587 GB, free: 15.84 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.99e-05/0.7518, allocations: 10.3 kB / 0.8587 GB, free: 15.83 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.839e-05/0.7518, allocations: 20.61 kB / 0.8588 GB, free: 15.8 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.423e-05/0.7519, allocations: 37.92 kB / 0.8588 GB, free: 15.77 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.7519, allocations: 0 / 0.8588 GB, free: 15.77 MB / 0.6387 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.755e-05/0.752, allocations: 53.94 kB / 0.8588 GB, free: 15.72 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/0.752, allocations: 4.906 kB / 0.8589 GB, free: 15.72 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.752, allocations: 4.031 kB / 0.8589 GB, free: 15.72 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.851e-05/0.752, allocations: 6.703 kB / 0.8589 GB, free: 15.71 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.118e-05/0.7521, allocations: 9.734 kB / 0.8589 GB, free: 15.71 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.942e-06/0.7521, allocations: 0 / 0.8589 GB, free: 15.71 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.096e-05/0.7521, allocations: 10.89 kB / 0.8589 GB, free: 15.7 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.937e-06/0.7521, allocations: 10.59 kB / 0.8589 GB, free: 15.7 MB / 0.6387 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 8.748e-05/0.7522, allocations: 108.7 kB / 0.859 GB, free: 15.58 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.35e-05/0.7522, allocations: 0 / 0.859 GB, free: 15.58 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.579e-05/0.7523, allocations: 7.312 kB / 0.859 GB, free: 15.57 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.7523, allocations: 2.781 kB / 0.859 GB, free: 15.57 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.7523, allocations: 0 / 0.859 GB, free: 15.57 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.7523, allocations: 3.984 kB / 0.859 GB, free: 15.57 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003185/0.7526, allocations: 309.6 kB / 0.8593 GB, free: 15.23 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.7526, allocations: 0 / 0.8593 GB, free: 15.23 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.447e-05/0.7526, allocations: 13.16 kB / 0.8593 GB, free: 15.23 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.7526, allocations: 0 / 0.8593 GB, free: 15.23 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.781e-06/0.7526, allocations: 0 / 0.8593 GB, free: 15.23 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.599e-06/0.7526, allocations: 6.312 kB / 0.8593 GB, free: 15.22 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.7526, allocations: 0.6875 kB / 0.8593 GB, free: 15.22 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001033/0.7527, allocations: 77.45 kB / 0.8594 GB, free: 15.14 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 9.027e-06/0.7527, allocations: 6.203 kB / 0.8594 GB, free: 15.13 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.561e-05/0.7528, allocations: 0 / 0.8594 GB, free: 15.13 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.1e-05/0.7528, allocations: 6.5 kB / 0.8594 GB, free: 15.13 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.778e-05/0.7529, allocations: 7.391 kB / 0.8594 GB, free: 15.12 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.234e-06/0.7529, allocations: 4.031 kB / 0.8594 GB, free: 15.12 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 4.717e-05/0.7529, allocations: 80.72 kB / 0.8595 GB, free: 15.05 MB / 0.6387 GB Notification: Performance of sort global known variables: time 9e-08/0.7529, allocations: 0 / 0.8595 GB, free: 15.05 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0001967/0.7531, allocations: 8.875 kB / 0.8595 GB, free: 15.04 MB / 0.6387 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.0001402/0.7532, allocations: 99.72 kB / 0.8596 GB, free: 14.95 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 8.396e-05/0.7533, allocations: 17.95 kB / 0.8596 GB, free: 14.95 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.7533, allocations: 192 / 0.8596 GB, free: 14.95 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 1.317e-05/0.7533, allocations: 15.34 kB / 0.8596 GB, free: 14.93 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002534/0.7536, allocations: 8.438 kB / 0.8596 GB, free: 14.93 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003161/0.7539, allocations: 145.7 kB / 0.8598 GB, free: 14.78 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.991e-05/0.754, allocations: 62.08 kB / 0.8598 GB, free: 14.71 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.963e-05/0.754, allocations: 10.28 kB / 0.8598 GB, free: 14.7 MB / 0.6387 GB Notification: Performance of SimCode: time 3.21e-07/0.754, allocations: 0 / 0.8598 GB, free: 14.7 MB / 0.6387 GB Notification: Performance of Templates: time 0.002038/0.7561, allocations: 0.6415 MB / 0.8605 GB, free: 14.38 MB / 0.6387 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: 8.76402280991897] Failed to read output from testmodel.py, exit status != 0: 0.7654373059049249 0.780618126 0.028063466000000002 Calling exit ...