Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.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.001787/0.001787, allocations: 109.2 kB / 20.45 MB, free: 1.52 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.001496/0.001496, allocations: 215.9 kB / 23.76 MB, free: 4.746 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.453/1.453, allocations: 230.6 MB / 257.5 MB, free: 8.035 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.9962/0.9962, allocations: 150 MB / 463.9 MB, free: 10.56 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.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") translateModel(IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") [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.0022/0.0022, allocations: 71.02 kB / 0.6425 GB, free: 10.04 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1854/0.1876, allocations: 89.17 MB / 0.7296 GB, free: 0.9336 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.002775/0.1903, allocations: 1.29 MB / 0.7308 GB, free: 15.63 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.5752/0.7655, allocations: 150.3 MB / 0.8776 GB, free: 15.62 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.184e-05/0.7656, allocations: 0 / 0.8776 GB, free: 15.62 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.193e-05/0.7656, allocations: 3.938 kB / 0.8776 GB, free: 15.61 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 5.52e-05/0.7656, allocations: 3.984 kB / 0.8776 GB, free: 15.61 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005677/0.7662, allocations: 92.55 kB / 0.8777 GB, free: 15.52 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001032/0.7663, allocations: 39.84 kB / 0.8777 GB, free: 15.48 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.71e-05/0.7664, allocations: 4 kB / 0.8777 GB, free: 15.48 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 5.413e-05/0.7664, allocations: 15.92 kB / 0.8778 GB, free: 15.46 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 6.998e-05/0.7665, allocations: 15.98 kB / 0.8778 GB, free: 15.45 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.484e-05/0.7665, allocations: 4 kB / 0.8778 GB, free: 15.44 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003152/0.7668, allocations: 77.98 kB / 0.8778 GB, free: 15.37 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.199e-05/0.7668, allocations: 15.92 kB / 0.8779 GB, free: 15.35 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.56e-05/0.7669, allocations: 15.92 kB / 0.8779 GB, free: 15.34 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001851/0.7671, allocations: 62 kB / 0.8779 GB, free: 15.28 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.319e-06/0.7671, allocations: 0 / 0.8779 GB, free: 15.28 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.322e-06/0.7671, allocations: 3.938 kB / 0.8779 GB, free: 15.28 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.683e-06/0.7671, allocations: 0 / 0.8779 GB, free: 15.28 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004633/0.7675, allocations: 286.1 kB / 0.8782 GB, free: 14.97 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.7676, allocations: 12.03 kB / 0.8782 GB, free: 14.96 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002104/0.7678, allocations: 12.92 kB / 0.8782 GB, free: 14.95 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001047/0.7679, allocations: 102.7 kB / 0.8783 GB, free: 14.82 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.506e-05/0.7679, allocations: 8.438 kB / 0.8783 GB, free: 14.81 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.465e-05/0.7679, allocations: 8 kB / 0.8784 GB, free: 14.8 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001289/0.7681, allocations: 41.69 kB / 0.8784 GB, free: 14.76 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.7681, allocations: 0 / 0.8784 GB, free: 14.76 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.539e-05/0.7681, allocations: 11.98 kB / 0.8784 GB, free: 14.75 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.199e-06/0.7681, allocations: 4 kB / 0.8784 GB, free: 14.74 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.06e-05/0.7682, allocations: 19.91 kB / 0.8784 GB, free: 14.72 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001889/0.7683, allocations: 137.6 kB / 0.8786 GB, free: 14.55 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001042/0.7684, allocations: 50.5 kB / 0.8786 GB, free: 14.49 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.149e-05/0.7685, allocations: 8.859 kB / 0.8786 GB, free: 14.48 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.129e-05/0.7685, allocations: 4 kB / 0.8786 GB, free: 14.47 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.148e-05/0.7685, allocations: 42.55 kB / 0.8787 GB, free: 14.42 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 1.122e-06/0.7685, allocations: 3.938 kB / 0.8787 GB, free: 14.42 MB / 0.6544 GB Notification: Performance of matching and sorting (n=11): time 0.0007689/0.7693, allocations: 300.4 kB / 0.8789 GB, free: 14.09 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.497e-05/0.7693, allocations: 55.41 kB / 0.879 GB, free: 14.03 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.599e-05/0.7694, allocations: 89.86 kB / 0.8791 GB, free: 13.93 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.148e-05/0.7694, allocations: 29.7 kB / 0.8791 GB, free: 13.89 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.132e-05/0.7695, allocations: 84.27 kB / 0.8792 GB, free: 13.81 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.567e-05/0.7695, allocations: 39.69 kB / 0.8792 GB, free: 13.77 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.879e-05/0.7696, allocations: 29.7 kB / 0.8793 GB, free: 13.73 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001396/0.7697, allocations: 318.8 kB / 0.8796 GB, free: 13.41 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.876e-05/0.7697, allocations: 19.98 kB / 0.8796 GB, free: 13.39 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.231e-05/0.7698, allocations: 33.7 kB / 0.8796 GB, free: 13.36 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.712e-05/0.7699, allocations: 58.47 kB / 0.8797 GB, free: 13.29 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.7699, allocations: 4 kB / 0.8797 GB, free: 13.29 MB / 0.6544 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001494/0.77, allocations: 101.6 kB / 0.8798 GB, free: 13.18 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.7701, allocations: 4 kB / 0.8798 GB, free: 13.18 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.93e-06/0.7701, allocations: 0 / 0.8798 GB, free: 13.18 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.117e-05/0.7701, allocations: 4 kB / 0.8798 GB, free: 13.18 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001193/0.7702, allocations: 19.94 kB / 0.8798 GB, free: 13.16 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.194e-05/0.7702, allocations: 9.625 kB / 0.8798 GB, free: 13.15 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.18e-05/0.7702, allocations: 0.6875 kB / 0.8798 GB, free: 13.15 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.705e-06/0.7703, allocations: 4 kB / 0.8798 GB, free: 13.14 MB / 0.6544 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 (14): * Single equations (assignments): 14 * 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.0001033/0.7704, allocations: 131.7 kB / 0.8799 GB, free: 13.01 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.826e-05/0.7704, allocations: 7.953 kB / 0.8799 GB, free: 13 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.983e-05/0.7704, allocations: 7.906 kB / 0.88 GB, free: 12.99 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.274e-05/0.7704, allocations: 4 kB / 0.88 GB, free: 12.99 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.7704, allocations: 0 / 0.88 GB, free: 12.99 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.247e-06/0.7704, allocations: 0 / 0.88 GB, free: 12.99 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001428/0.7706, allocations: 145.4 kB / 0.8801 GB, free: 12.8 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.7706, allocations: 4 kB / 0.8801 GB, free: 12.8 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001254/0.7707, allocations: 27.86 kB / 0.8801 GB, free: 12.77 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.7707, allocations: 0 / 0.8801 GB, free: 12.77 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.202e-05/0.7707, allocations: 11.88 kB / 0.8801 GB, free: 12.77 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.7707, allocations: 4 kB / 0.8801 GB, free: 12.76 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.7707, allocations: 0 / 0.8801 GB, free: 12.76 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002253/0.771, allocations: 136.1 kB / 0.8803 GB, free: 12.61 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 5.178e-05/0.771, allocations: 8.078 kB / 0.8803 GB, free: 12.61 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.715e-05/0.771, allocations: 4 kB / 0.8803 GB, free: 12.6 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.64e-05/0.7711, allocations: 7.984 kB / 0.8803 GB, free: 12.59 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.559e-05/0.7711, allocations: 7.984 kB / 0.8803 GB, free: 12.59 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.676e-06/0.7711, allocations: 8 kB / 0.8803 GB, free: 12.58 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.624e-05/0.7712, allocations: 79.22 kB / 0.8804 GB, free: 12.5 MB / 0.6544 GB Notification: Performance of sort global known variables: time 8.1e-08/0.7712, allocations: 3.938 kB / 0.8804 GB, free: 12.5 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002025/0.7714, allocations: 19.94 kB / 0.8804 GB, free: 12.48 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,hSteSym,hAirSym) * 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 (11): * Single equations (assignments): 11 * 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.0001148/0.7715, allocations: 107.2 kB / 0.8805 GB, free: 12.36 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001448/0.7716, allocations: 47.92 kB / 0.8806 GB, free: 12.31 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.7716, allocations: 0 / 0.8806 GB, free: 12.31 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 4.2e-05/0.7717, allocations: 32.08 kB / 0.8806 GB, free: 12.28 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002364/0.7719, allocations: 8 kB / 0.8806 GB, free: 12.27 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006418/0.7726, allocations: 335.1 kB / 0.8809 GB, free: 11.92 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003339/0.7729, allocations: 0.6846 MB / 0.8816 GB, free: 11.21 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.717e-05/0.7729, allocations: 11.44 kB / 0.8816 GB, free: 11.2 MB / 0.6544 GB Notification: Performance of SimCode: time 3e-07/0.7729, allocations: 4 kB / 0.8816 GB, free: 11.19 MB / 0.6544 GB Notification: Performance of Templates: time 0.002522/0.7755, allocations: 0.8444 MB / 0.8824 GB, free: 10.35 MB / 0.6544 GB " [Timeout remaining time 659] make -j1 -f IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.sim & ./IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.745430537033826] Failed to read output from testmodel.py, exit status != 0: 0.7846794871147722 0.7995493889999999 0.029272745000000003 Calling exit ...