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.001301/0.001301, allocations: 71.77 kB / 20.51 MB, free: 1.125 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.001527/0.001527, allocations: 160.8 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.409/1.409, allocations: 177.2 MB / 204.1 MB, free: 8.902 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.9724/0.9724, allocations: 113.9 MB / 374.5 MB, free: 12.86 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.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.002173/0.002173, allocations: 67.64 kB / 0.555 GB, free: 2.738 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.161/0.1631, allocations: 89.15 MB / 0.6421 GB, free: 9.551 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.002644/0.1658, allocations: 1.265 MB / 0.6433 GB, free: 8.277 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.5842/0.75, allocations: 129 MB / 0.7693 GB, free: 8.941 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.486e-05/0.7501, allocations: 0 / 0.7693 GB, free: 8.941 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 2.411e-05/0.7501, allocations: 0 / 0.7693 GB, free: 8.941 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 5.26e-05/0.7501, allocations: 7.922 kB / 0.7693 GB, free: 8.934 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004918/0.7506, allocations: 95.48 kB / 0.7694 GB, free: 8.863 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 7.634e-05/0.7507, allocations: 40.16 kB / 0.7695 GB, free: 8.84 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 3.819e-05/0.7507, allocations: 4 kB / 0.7695 GB, free: 8.836 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 4.264e-05/0.7508, allocations: 14.5 kB / 0.7695 GB, free: 8.832 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 5.899e-05/0.7508, allocations: 13.7 kB / 0.7695 GB, free: 8.824 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 1.171e-05/0.7509, allocations: 0 / 0.7695 GB, free: 8.824 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002497/0.7511, allocations: 82.31 kB / 0.7696 GB, free: 8.777 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 1.581e-05/0.7511, allocations: 2.812 kB / 0.7696 GB, free: 8.777 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 3.784e-05/0.7512, allocations: 19.36 kB / 0.7696 GB, free: 8.766 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0001669/0.7513, allocations: 67.27 kB / 0.7697 GB, free: 8.738 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.7513, allocations: 0 / 0.7697 GB, free: 8.738 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.623e-06/0.7513, allocations: 0 / 0.7697 GB, free: 8.738 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 6.452e-06/0.7513, allocations: 4 kB / 0.7697 GB, free: 8.734 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004256/0.7518, allocations: 276.5 kB / 0.7699 GB, free: 8.453 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.7518, allocations: 14.64 kB / 0.7699 GB, free: 8.449 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000191/0.752, allocations: 8.438 kB / 0.77 GB, free: 8.449 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001362/0.7521, allocations: 110 kB / 0.7701 GB, free: 8.32 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.717e-05/0.7521, allocations: 7.938 kB / 0.7701 GB, free: 8.312 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.829e-05/0.7522, allocations: 5.281 kB / 0.7701 GB, free: 8.312 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001924/0.7524, allocations: 129.7 kB / 0.7702 GB, free: 8.172 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.797e-06/0.7524, allocations: 0 / 0.7702 GB, free: 8.172 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.254e-05/0.7524, allocations: 6.688 kB / 0.7702 GB, free: 8.168 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.7524, allocations: 0 / 0.7702 GB, free: 8.168 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.904e-05/0.7524, allocations: 12.23 kB / 0.7702 GB, free: 8.164 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001781/0.7526, allocations: 121.8 kB / 0.7703 GB, free: 8.023 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001065/0.7527, allocations: 50.75 kB / 0.7704 GB, free: 7.984 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.158e-05/0.7528, allocations: 14.77 kB / 0.7704 GB, free: 7.973 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 1.253e-05/0.7528, allocations: 2.062 kB / 0.7704 GB, free: 7.973 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.739e-05/0.7528, allocations: 38.5 kB / 0.7704 GB, free: 7.926 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=7): time 9.31e-07/0.7528, allocations: 2.938 kB / 0.7704 GB, free: 7.926 MB / 0.6231 GB Notification: Performance of matching and sorting (n=11): time 0.00076/0.7536, allocations: 295.1 kB / 0.7707 GB, free: 7.695 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.477e-05/0.7536, allocations: 54.31 kB / 0.7708 GB, free: 7.633 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.235e-05/0.7537, allocations: 93.8 kB / 0.7709 GB, free: 7.531 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.377e-05/0.7537, allocations: 32.58 kB / 0.7709 GB, free: 7.496 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001053/0.7538, allocations: 80.14 kB / 0.771 GB, free: 7.414 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 4.778e-05/0.7539, allocations: 40.55 kB / 0.771 GB, free: 7.379 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.561e-05/0.7539, allocations: 30.05 kB / 0.771 GB, free: 7.352 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001814/0.7541, allocations: 321.2 kB / 0.7713 GB, free: 7.031 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.46e-05/0.7541, allocations: 18.89 kB / 0.7714 GB, free: 7.023 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.185e-05/0.7542, allocations: 41.23 kB / 0.7714 GB, free: 6.992 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.547e-05/0.7543, allocations: 61.02 kB / 0.7715 GB, free: 6.957 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.7543, allocations: 3 kB / 0.7715 GB, free: 6.957 MB / 0.6231 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000133/0.7544, allocations: 94.81 kB / 0.7715 GB, free: 6.895 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.7544, allocations: 11.52 kB / 0.7716 GB, free: 6.891 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.7544, allocations: 0 / 0.7716 GB, free: 6.891 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.7544, allocations: 0 / 0.7716 GB, free: 6.891 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001176/0.7546, allocations: 26.94 kB / 0.7716 GB, free: 6.883 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.149e-06/0.7546, allocations: 3.938 kB / 0.7716 GB, free: 6.879 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.255e-05/0.7546, allocations: 2.719 kB / 0.7716 GB, free: 6.879 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.583e-06/0.7546, allocations: 2.219 kB / 0.7716 GB, free: 6.879 MB / 0.6231 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.0001035/0.7547, allocations: 128.6 kB / 0.7717 GB, free: 6.746 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.831e-05/0.7547, allocations: 10.86 kB / 0.7717 GB, free: 6.738 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.819e-05/0.7548, allocations: 10.59 kB / 0.7717 GB, free: 6.73 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.7548, allocations: 0 / 0.7717 GB, free: 6.73 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.7548, allocations: 0 / 0.7717 GB, free: 6.73 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.7548, allocations: 0 / 0.7717 GB, free: 6.73 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001207/0.7549, allocations: 120.1 kB / 0.7718 GB, free: 6.594 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.7549, allocations: 0 / 0.7718 GB, free: 6.594 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001226/0.755, allocations: 22.25 kB / 0.7719 GB, free: 6.59 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.755, allocations: 0 / 0.7719 GB, free: 6.59 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.606e-06/0.755, allocations: 0 / 0.7719 GB, free: 6.59 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.755, allocations: 10.66 kB / 0.7719 GB, free: 6.582 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.755, allocations: 0 / 0.7719 GB, free: 6.582 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002127/0.7552, allocations: 139.5 kB / 0.772 GB, free: 6.477 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 4.958e-05/0.7553, allocations: 6.203 kB / 0.772 GB, free: 6.473 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.856e-05/0.7553, allocations: 11.25 kB / 0.772 GB, free: 6.465 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.395e-05/0.7554, allocations: 0 / 0.772 GB, free: 6.465 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.799e-05/0.7554, allocations: 6.766 kB / 0.772 GB, free: 6.461 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.095e-05/0.7554, allocations: 10.22 kB / 0.772 GB, free: 6.457 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 3.966e-05/0.7555, allocations: 75.28 kB / 0.7721 GB, free: 6.383 MB / 0.6231 GB Notification: Performance of sort global known variables: time 8.1e-08/0.7555, allocations: 0 / 0.7721 GB, free: 6.383 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0001964/0.7557, allocations: 17.5 kB / 0.7721 GB, free: 6.379 MB / 0.6231 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.0001169/0.7558, allocations: 104.6 kB / 0.7722 GB, free: 6.277 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.000124/0.7559, allocations: 55.31 kB / 0.7723 GB, free: 6.258 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.7559, allocations: 0 / 0.7723 GB, free: 6.258 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 3.934e-05/0.7559, allocations: 30.44 kB / 0.7723 GB, free: 6.246 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002287/0.7562, allocations: 6.125 kB / 0.7723 GB, free: 6.242 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006304/0.7568, allocations: 328.3 kB / 0.7726 GB, free: 5.961 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.885e-05/0.7569, allocations: 66.22 kB / 0.7727 GB, free: 5.887 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 6.838e-05/0.7569, allocations: 10.2 kB / 0.7727 GB, free: 5.883 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.01e-05/0.757, allocations: 11.31 kB / 0.7727 GB, free: 5.875 MB / 0.6231 GB Notification: Performance of SimCode: time 4.51e-07/0.757, allocations: 2.594 kB / 0.7727 GB, free: 5.875 MB / 0.6231 GB Notification: Performance of Templates: time 0.003266/0.7602, allocations: 0.6182 MB / 0.7733 GB, free: 5.551 MB / 0.6231 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 -s ida -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.956073067034595] Failed to read output from testmodel.py, exit status != 0: 0.7690423070453107 0.794644098 0.038529432 Calling exit ...