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.001644/0.001644, allocations: 72.22 kB / 20.51 MB, free: 1.129 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.002248/0.002248, allocations: 165.1 kB / 23.76 MB, free: 4.195 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.44/1.44, allocations: 177.2 MB / 204.1 MB, free: 8.98 MB / 190.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.9314/0.9314, allocations: 113.9 MB / 374.5 MB, free: 12.96 MB / 350.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.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.002879/0.002879, allocations: 72.94 kB / 0.5551 GB, free: 2.773 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2252/0.2281, allocations: 89.14 MB / 0.6421 GB, free: 9.578 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.5164/0.7444, allocations: 129.9 MB / 0.769 GB, free: 9.281 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.0001401/0.7446, allocations: 51.97 kB / 0.769 GB, free: 9.246 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.03e-05/0.7446, allocations: 0.75 kB / 0.769 GB, free: 9.246 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0001019/0.7447, allocations: 0 / 0.769 GB, free: 9.246 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 7.11e-05/0.7448, allocations: 15.19 kB / 0.769 GB, free: 9.234 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004471/0.7452, allocations: 109.9 kB / 0.7692 GB, free: 9.16 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 7.589e-05/0.7453, allocations: 38.53 kB / 0.7692 GB, free: 9.141 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 3.482e-05/0.7453, allocations: 3.984 kB / 0.7692 GB, free: 9.137 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 3.384e-05/0.7454, allocations: 18.42 kB / 0.7692 GB, free: 9.129 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 7.029e-05/0.7454, allocations: 13.7 kB / 0.7692 GB, free: 9.121 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 1.102e-05/0.7455, allocations: 1.312 kB / 0.7692 GB, free: 9.121 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002178/0.7457, allocations: 68.84 kB / 0.7693 GB, free: 9.082 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 4.934e-05/0.7457, allocations: 14.34 kB / 0.7693 GB, free: 9.07 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 3.137e-05/0.7458, allocations: 9.844 kB / 0.7693 GB, free: 9.066 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0001707/0.7459, allocations: 67.45 kB / 0.7694 GB, free: 9.035 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.7459, allocations: 2 kB / 0.7694 GB, free: 9.035 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.482e-06/0.7459, allocations: 0 / 0.7694 GB, free: 9.035 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 8.425e-06/0.7459, allocations: 3.984 kB / 0.7694 GB, free: 9.031 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.0003869/0.7463, allocations: 262.6 kB / 0.7696 GB, free: 8.762 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 2.934e-05/0.7464, allocations: 11.31 kB / 0.7696 GB, free: 8.762 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002176/0.7466, allocations: 19.48 kB / 0.7697 GB, free: 8.754 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001035/0.7467, allocations: 105.4 kB / 0.7698 GB, free: 8.629 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.061e-05/0.7468, allocations: 55.34 kB / 0.7698 GB, free: 8.562 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.694e-06/0.7468, allocations: 4.375 kB / 0.7698 GB, free: 8.562 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001493/0.7469, allocations: 82.48 kB / 0.7699 GB, free: 8.48 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.7469, allocations: 3.938 kB / 0.7699 GB, free: 8.477 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.7469, allocations: 0 / 0.7699 GB, free: 8.477 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.488e-05/0.7469, allocations: 2.281 kB / 0.7699 GB, free: 8.477 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.104e-05/0.747, allocations: 19.02 kB / 0.7699 GB, free: 8.469 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003619/0.7474, allocations: 211.9 kB / 0.7701 GB, free: 8.246 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 4.084e-05/0.7474, allocations: 17.52 kB / 0.7701 GB, free: 8.223 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.765e-05/0.7474, allocations: 8.859 kB / 0.7702 GB, free: 8.211 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 5.411e-06/0.7474, allocations: 2.953 kB / 0.7702 GB, free: 8.211 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.392e-05/0.7475, allocations: 39.23 kB / 0.7702 GB, free: 8.164 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=1): time 9.81e-07/0.7475, allocations: 0 / 0.7702 GB, free: 8.164 MB / 0.6231 GB Notification: Performance of matching and sorting (n=1): time 0.0001199/0.7476, allocations: 30.95 kB / 0.7702 GB, free: 8.133 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.518e-05/0.7476, allocations: 53.75 kB / 0.7703 GB, free: 8.07 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.288e-05/0.7477, allocations: 110.1 kB / 0.7704 GB, free: 7.961 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 1.712e-05/0.7477, allocations: 29.7 kB / 0.7704 GB, free: 7.926 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 6.537e-05/0.7478, allocations: 94.77 kB / 0.7705 GB, free: 7.832 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 3.967e-06/0.7478, allocations: 0 / 0.7705 GB, free: 7.832 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.06e-05/0.7478, allocations: 12.28 kB / 0.7705 GB, free: 7.816 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001474/0.748, allocations: 325.7 kB / 0.7708 GB, free: 7.492 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.501e-05/0.748, allocations: 5.938 kB / 0.7708 GB, free: 7.492 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.239e-05/0.748, allocations: 27.42 kB / 0.7708 GB, free: 7.461 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.136e-05/0.7481, allocations: 30.97 kB / 0.7709 GB, free: 7.43 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.7481, allocations: 7.938 kB / 0.7709 GB, free: 7.422 MB / 0.6231 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.9e-05/0.7482, allocations: 57.25 kB / 0.7709 GB, free: 7.375 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 9.729e-06/0.7482, allocations: 5.469 kB / 0.7709 GB, free: 7.375 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.536e-06/0.7482, allocations: 2.812 kB / 0.7709 GB, free: 7.375 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/0.7482, allocations: 96 / 0.7709 GB, free: 7.375 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.846e-05/0.7482, allocations: 9.094 kB / 0.771 GB, free: 7.371 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/0.7483, allocations: 2.375 kB / 0.771 GB, free: 7.371 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.489e-05/0.7483, allocations: 14.97 kB / 0.771 GB, free: 7.359 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.917e-06/0.7483, allocations: 0 / 0.771 GB, free: 7.359 MB / 0.6231 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 7.408e-05/0.7484, allocations: 112.7 kB / 0.7711 GB, free: 7.242 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.473e-05/0.7484, allocations: 2.531 kB / 0.7711 GB, free: 7.242 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.387e-05/0.7484, allocations: 11.14 kB / 0.7711 GB, free: 7.23 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.042e-06/0.7484, allocations: 0 / 0.7711 GB, free: 7.23 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.965e-06/0.7484, allocations: 0 / 0.7711 GB, free: 7.23 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.7484, allocations: 6.594 kB / 0.7711 GB, free: 7.227 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002485/0.7487, allocations: 290.7 kB / 0.7714 GB, free: 6.91 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.7487, allocations: 3.938 kB / 0.7714 GB, free: 6.906 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.339e-05/0.7487, allocations: 2.25 kB / 0.7714 GB, free: 6.906 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.7487, allocations: 0 / 0.7714 GB, free: 6.906 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.518e-06/0.7487, allocations: 4.031 kB / 0.7714 GB, free: 6.902 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-05/0.7487, allocations: 3.938 kB / 0.7714 GB, free: 6.898 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.7487, allocations: 0 / 0.7714 GB, free: 6.898 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.257e-05/0.7488, allocations: 61.44 kB / 0.7715 GB, free: 6.828 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 1.101e-05/0.7488, allocations: 6.797 kB / 0.7715 GB, free: 6.824 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.407e-05/0.7488, allocations: 1 kB / 0.7715 GB, free: 6.824 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.334e-05/0.7489, allocations: 6.125 kB / 0.7715 GB, free: 6.82 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.305e-06/0.7489, allocations: 0 / 0.7715 GB, free: 6.82 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.412e-06/0.7489, allocations: 0 / 0.7715 GB, free: 6.82 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 4.954e-05/0.749, allocations: 91.08 kB / 0.7716 GB, free: 6.742 MB / 0.6231 GB Notification: Performance of sort global known variables: time 9e-08/0.749, allocations: 4.031 kB / 0.7716 GB, free: 6.738 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0001925/0.7491, allocations: 9.25 kB / 0.7716 GB, free: 6.734 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 (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 8.773e-05/0.7492, allocations: 95.31 kB / 0.7717 GB, free: 6.648 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 7.062e-05/0.7493, allocations: 16.17 kB / 0.7717 GB, free: 6.641 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.7493, allocations: 0 / 0.7717 GB, free: 6.641 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 5.029e-06/0.7493, allocations: 2.5 kB / 0.7717 GB, free: 6.641 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002173/0.7495, allocations: 12.81 kB / 0.7717 GB, free: 6.633 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002307/0.7498, allocations: 120.7 kB / 0.7718 GB, free: 6.508 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.06e-05/0.7498, allocations: 60.66 kB / 0.7719 GB, free: 6.434 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 3.931e-05/0.7498, allocations: 5.188 kB / 0.7719 GB, free: 6.434 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.909e-05/0.7499, allocations: 8.5 kB / 0.7719 GB, free: 6.426 MB / 0.6231 GB Notification: Performance of SimCode: time 3.4e-07/0.7499, allocations: 3.938 kB / 0.7719 GB, free: 6.422 MB / 0.6231 GB Notification: Performance of Templates: time 0.002585/0.7525, allocations: 0.5273 MB / 0.7724 GB, free: 6.148 MB / 0.6231 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 -s ida -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.0210111800115556] Failed to read output from testmodel.py, exit status != 0: 0.7618456579511985 0.77318139 0.024454949 Calling exit ...