Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.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.001855/0.001855, allocations: 119 kB / 19.69 MB, free: 2.199 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.002345/0.002345, allocations: 225.4 kB / 23.01 MB, free: 5.047 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.513/1.513, allocations: 230.6 MB / 256.7 MB, free: 7.996 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.9998/0.9998, allocations: 150 MB / 463.1 MB, free: 10.48 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.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") translateModel(IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") [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.002442/0.002442, allocations: 69.92 kB / 0.6417 GB, free: 9.906 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2398/0.2423, allocations: 89.17 MB / 0.7288 GB, free: 0.7852 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.7246/0.9668, allocations: 151.2 MB / 0.8764 GB, free: 15.96 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0001447/0.967, allocations: 55.8 kB / 0.8765 GB, free: 15.91 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.292e-05/0.967, allocations: 0 / 0.8765 GB, free: 15.91 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001225/0.9671, allocations: 4 kB / 0.8765 GB, free: 15.91 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 8.197e-05/0.9672, allocations: 15.91 kB / 0.8765 GB, free: 15.89 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005377/0.9678, allocations: 112.3 kB / 0.8766 GB, free: 15.79 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 9.787e-05/0.9678, allocations: 27.75 kB / 0.8766 GB, free: 15.76 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 3.987e-05/0.9679, allocations: 8 kB / 0.8766 GB, free: 15.75 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 5.85e-05/0.9679, allocations: 23.91 kB / 0.8767 GB, free: 15.73 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 7.3e-05/0.968, allocations: 8 kB / 0.8767 GB, free: 15.72 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.14e-05/0.968, allocations: 0 / 0.8767 GB, free: 15.72 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002825/0.9683, allocations: 95.69 kB / 0.8768 GB, free: 15.63 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 4.43e-05/0.9684, allocations: 7.938 kB / 0.8768 GB, free: 15.62 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.021e-05/0.9684, allocations: 17.56 kB / 0.8768 GB, free: 15.61 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001793/0.9686, allocations: 70.19 kB / 0.8769 GB, free: 15.54 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.694e-06/0.9686, allocations: 4 kB / 0.8769 GB, free: 15.54 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.723e-06/0.9686, allocations: 0 / 0.8769 GB, free: 15.54 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.201e-06/0.9686, allocations: 4 kB / 0.8769 GB, free: 15.54 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.0004274/0.969, allocations: 262.3 kB / 0.8771 GB, free: 15.25 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.618e-05/0.969, allocations: 8.031 kB / 0.8771 GB, free: 15.24 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000235/0.9693, allocations: 17.55 kB / 0.8771 GB, free: 15.23 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000105/0.9694, allocations: 106.7 kB / 0.8772 GB, free: 15.1 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.582e-05/0.9695, allocations: 55.34 kB / 0.8773 GB, free: 15.03 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.174e-05/0.9695, allocations: 8 kB / 0.8773 GB, free: 15.02 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001395/0.9696, allocations: 53.59 kB / 0.8773 GB, free: 14.96 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.9696, allocations: 0 / 0.8773 GB, free: 14.96 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.316e-05/0.9696, allocations: 0 / 0.8773 GB, free: 14.96 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.091e-05/0.9697, allocations: 4 kB / 0.8773 GB, free: 14.96 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.613e-05/0.9697, allocations: 19.98 kB / 0.8774 GB, free: 14.94 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004165/0.9701, allocations: 238.7 kB / 0.8776 GB, free: 14.67 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 4.882e-05/0.9702, allocations: 22.52 kB / 0.8776 GB, free: 14.64 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.833e-05/0.9702, allocations: 4.859 kB / 0.8776 GB, free: 14.63 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 5.44e-06/0.9702, allocations: 0 / 0.8776 GB, free: 14.63 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.338e-05/0.9702, allocations: 38.62 kB / 0.8777 GB, free: 14.58 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=1): time 8.12e-07/0.9702, allocations: 3.938 kB / 0.8777 GB, free: 14.58 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1): time 0.0001369/0.9704, allocations: 29.7 kB / 0.8777 GB, free: 14.54 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.758e-05/0.9704, allocations: 55.53 kB / 0.8777 GB, free: 14.48 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.293e-05/0.9705, allocations: 110.3 kB / 0.8778 GB, free: 14.36 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.078e-05/0.9705, allocations: 25.7 kB / 0.8779 GB, free: 14.33 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.768e-05/0.9706, allocations: 96.03 kB / 0.878 GB, free: 14.23 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 6.402e-06/0.9706, allocations: 3.953 kB / 0.878 GB, free: 14.23 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.415e-05/0.9706, allocations: 17.7 kB / 0.878 GB, free: 14.2 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001291/0.9708, allocations: 318.8 kB / 0.8783 GB, free: 13.88 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.77e-05/0.9708, allocations: 4 kB / 0.8783 GB, free: 13.88 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.772e-05/0.9708, allocations: 27.12 kB / 0.8783 GB, free: 13.84 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.43e-05/0.9709, allocations: 26.58 kB / 0.8783 GB, free: 13.81 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.9709, allocations: 0 / 0.8783 GB, free: 13.81 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.229e-05/0.971, allocations: 53.62 kB / 0.8784 GB, free: 13.75 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.971, allocations: 12.09 kB / 0.8784 GB, free: 13.74 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.971, allocations: 4.75 kB / 0.8784 GB, free: 13.73 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.971, allocations: 0 / 0.8784 GB, free: 13.73 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.842e-05/0.9711, allocations: 11.94 kB / 0.8784 GB, free: 13.72 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.9711, allocations: 3.938 kB / 0.8784 GB, free: 13.72 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.219e-05/0.9711, allocations: 7.953 kB / 0.8784 GB, free: 13.71 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.38e-06/0.9711, allocations: 4 kB / 0.8784 GB, free: 13.71 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 8.416e-05/0.9712, allocations: 111.8 kB / 0.8785 GB, free: 13.59 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.76e-05/0.9712, allocations: 4 kB / 0.8785 GB, free: 13.59 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.847e-05/0.9712, allocations: 7.156 kB / 0.8786 GB, free: 13.58 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.9712, allocations: 0.9688 kB / 0.8786 GB, free: 13.58 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.476e-06/0.9712, allocations: 3.938 kB / 0.8786 GB, free: 13.57 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.9713, allocations: 3.984 kB / 0.8786 GB, free: 13.57 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002735/0.9715, allocations: 317.8 kB / 0.8789 GB, free: 13.21 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.9715, allocations: 4 kB / 0.8789 GB, free: 13.2 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.573e-05/0.9715, allocations: 3.984 kB / 0.8789 GB, free: 13.2 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.9715, allocations: 4.75 kB / 0.8789 GB, free: 13.2 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.919e-06/0.9716, allocations: 4.031 kB / 0.8789 GB, free: 13.19 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.9716, allocations: 0 / 0.8789 GB, free: 13.19 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.9716, allocations: 0 / 0.8789 GB, free: 13.19 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001089/0.9717, allocations: 53.14 kB / 0.8789 GB, free: 13.12 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 1.084e-05/0.9717, allocations: 7.891 kB / 0.8789 GB, free: 13.11 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.163e-05/0.9717, allocations: 19.8 kB / 0.879 GB, free: 13.1 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.66e-05/0.9718, allocations: 0 / 0.879 GB, free: 13.1 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.362e-05/0.9718, allocations: 4.031 kB / 0.879 GB, free: 13.09 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.08e-06/0.9718, allocations: 7.938 kB / 0.879 GB, free: 13.09 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.937e-05/0.9718, allocations: 79.28 kB / 0.879 GB, free: 13.01 MB / 0.6544 GB Notification: Performance of sort global known variables: time 9e-08/0.9718, allocations: 0 / 0.879 GB, free: 13.01 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0001948/0.972, allocations: 7.984 kB / 0.8791 GB, free: 13 MB / 0.6544 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 (1): * Single equations (assignments): 1 * 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.0001027/0.9721, allocations: 103.2 kB / 0.8792 GB, free: 12.89 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 8.285e-05/0.9722, allocations: 8 kB / 0.8792 GB, free: 12.88 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.9722, allocations: 192 / 0.8792 GB, free: 12.88 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 8.546e-06/0.9722, allocations: 11.94 kB / 0.8792 GB, free: 12.87 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002264/0.9725, allocations: 4 kB / 0.8792 GB, free: 12.87 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002508/0.9727, allocations: 115.4 kB / 0.8793 GB, free: 12.73 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003241/0.973, allocations: 0.6768 MB / 0.8799 GB, free: 12.02 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 4.833e-05/0.9731, allocations: 12.05 kB / 0.88 GB, free: 12.01 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.193e-05/0.9731, allocations: 7.438 kB / 0.88 GB, free: 12 MB / 0.6544 GB Notification: Performance of SimCode: time 2.6e-07/0.9731, allocations: 0 / 0.88 GB, free: 12 MB / 0.6544 GB Notification: Performance of Templates: time 0.002797/0.9759, allocations: 0.5209 MB / 0.8805 GB, free: 11.52 MB / 0.6544 GB " [Timeout remaining time 659] make -j1 -f IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & ./IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.7640948966145515] Failed to read output from testmodel.py, exit status != 0: 0.9855925738811493 1.000282653 0.028505256000000003 Calling exit ...