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.001365/0.001365, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.001552/0.001552, allocations: 211.5 kB / 22.99 MB, free: 4.609 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.526/1.526, allocations: 230.6 MB / 256.8 MB, free: 7.793 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 1.014/1.014, allocations: 149.9 MB / 463 MB, free: 10.36 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.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.002741/0.002741, allocations: 70.3 kB / 0.6415 GB, free: 9.625 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2327/0.2354, allocations: 89.18 MB / 0.7286 GB, free: 0.5273 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.002537/0.238, allocations: 1.28 MB / 0.7299 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.6279/0.8659, allocations: 129 MB / 0.8559 GB, free: 1.77 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.299e-05/0.8659, allocations: 0 / 0.8559 GB, free: 1.77 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 3.075e-05/0.866, allocations: 6.75 kB / 0.8559 GB, free: 1.766 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 5.471e-05/0.866, allocations: 7.922 kB / 0.8559 GB, free: 1.758 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004585/0.8665, allocations: 89.19 kB / 0.856 GB, free: 1.691 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 9.045e-05/0.8666, allocations: 27.55 kB / 0.856 GB, free: 1.68 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 5.338e-05/0.8666, allocations: 4.562 kB / 0.856 GB, free: 1.68 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 5.132e-05/0.8667, allocations: 24.09 kB / 0.856 GB, free: 1.664 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 6.835e-05/0.8667, allocations: 9.125 kB / 0.856 GB, free: 1.66 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 1.28e-05/0.8667, allocations: 2.281 kB / 0.856 GB, free: 1.66 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002596/0.867, allocations: 86.72 kB / 0.8561 GB, free: 1.609 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 1.723e-05/0.867, allocations: 6.656 kB / 0.8561 GB, free: 1.605 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 2.533e-05/0.867, allocations: 13.17 kB / 0.8561 GB, free: 1.598 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0001785/0.8672, allocations: 68.86 kB / 0.8562 GB, free: 1.57 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.8672, allocations: 0 / 0.8562 GB, free: 1.57 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.423e-06/0.8672, allocations: 0 / 0.8562 GB, free: 1.57 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 6.042e-06/0.8672, allocations: 0 / 0.8562 GB, free: 1.57 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.0004669/0.8677, allocations: 285.1 kB / 0.8565 GB, free: 1.281 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.8677, allocations: 10.62 kB / 0.8565 GB, free: 1.281 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001916/0.8679, allocations: 8.906 kB / 0.8565 GB, free: 1.281 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001023/0.868, allocations: 106.7 kB / 0.8566 GB, free: 1.152 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.173e-05/0.8681, allocations: 10.28 kB / 0.8566 GB, free: 1.145 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.94e-05/0.8681, allocations: 3.125 kB / 0.8566 GB, free: 1.145 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001881/0.8683, allocations: 132.2 kB / 0.8567 GB, free: 1.004 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.8683, allocations: 0 / 0.8567 GB, free: 1.004 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.224e-05/0.8683, allocations: 1.969 kB / 0.8567 GB, free: 1.004 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.8683, allocations: 0 / 0.8567 GB, free: 1.004 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.722e-05/0.8683, allocations: 21.86 kB / 0.8568 GB, free: 0.9922 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001845/0.8685, allocations: 115.5 kB / 0.8569 GB, free: 0.8555 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001112/0.8686, allocations: 47.12 kB / 0.8569 GB, free: 0.8203 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.882e-05/0.8687, allocations: 14.73 kB / 0.8569 GB, free: 0.8086 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 1.391e-05/0.8687, allocations: 0 / 0.8569 GB, free: 0.8086 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.932e-05/0.8687, allocations: 41.95 kB / 0.857 GB, free: 0.7617 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=7): time 8.92e-07/0.8687, allocations: 0 / 0.857 GB, free: 0.7617 MB / 0.6231 GB Notification: Performance of matching and sorting (n=11): time 0.0007381/0.8695, allocations: 294.9 kB / 0.8573 GB, free: 0.5312 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.041e-05/0.8695, allocations: 58.03 kB / 0.8573 GB, free: 476 kB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.541e-05/0.8696, allocations: 89.86 kB / 0.8574 GB, free: 376 kB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.29e-05/0.8696, allocations: 32.23 kB / 0.8574 GB, free: 340 kB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 3.611e-05/0.8696, allocations: 80.14 kB / 0.8575 GB, free: 256 kB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 4.46e-05/0.8697, allocations: 37.16 kB / 0.8575 GB, free: 224 kB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.314e-05/0.8697, allocations: 29.67 kB / 0.8576 GB, free: 196 kB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001715/0.8699, allocations: 321 kB / 0.8579 GB, free: 15.87 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.268e-05/0.8699, allocations: 23.11 kB / 0.8579 GB, free: 15.86 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.26e-05/0.87, allocations: 39.11 kB / 0.8579 GB, free: 15.83 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.8e-05/0.8701, allocations: 62.27 kB / 0.858 GB, free: 15.79 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.8701, allocations: 4.125 kB / 0.858 GB, free: 15.78 MB / 0.6387 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001318/0.8702, allocations: 101.5 kB / 0.8581 GB, free: 15.71 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.221e-05/0.8702, allocations: 5.094 kB / 0.8581 GB, free: 15.71 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.8702, allocations: 4.469 kB / 0.8581 GB, free: 15.71 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.8702, allocations: 0 / 0.8581 GB, free: 15.71 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001159/0.8704, allocations: 29.23 kB / 0.8581 GB, free: 15.71 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.8704, allocations: 0 / 0.8581 GB, free: 15.71 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.249e-05/0.8704, allocations: 2.406 kB / 0.8581 GB, free: 15.71 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.143e-06/0.8704, allocations: 2.938 kB / 0.8581 GB, free: 15.71 MB / 0.6387 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.0001013/0.8705, allocations: 124.6 kB / 0.8583 GB, free: 15.58 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.582e-05/0.8705, allocations: 10.17 kB / 0.8583 GB, free: 15.57 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.866e-05/0.8706, allocations: 10.62 kB / 0.8583 GB, free: 15.56 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.8706, allocations: 3.984 kB / 0.8583 GB, free: 15.56 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.8706, allocations: 3.938 kB / 0.8583 GB, free: 15.55 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.8706, allocations: 0 / 0.8583 GB, free: 15.55 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001173/0.8707, allocations: 121.7 kB / 0.8584 GB, free: 15.41 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.8707, allocations: 2.188 kB / 0.8584 GB, free: 15.41 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001118/0.8708, allocations: 22.89 kB / 0.8584 GB, free: 15.41 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.8708, allocations: 0 / 0.8584 GB, free: 15.41 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.907e-06/0.8708, allocations: 0 / 0.8584 GB, free: 15.41 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.8708, allocations: 0 / 0.8584 GB, free: 15.41 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.8708, allocations: 6.781 kB / 0.8584 GB, free: 15.41 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002046/0.871, allocations: 133.5 kB / 0.8586 GB, free: 15.3 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 4.887e-05/0.8711, allocations: 15.3 kB / 0.8586 GB, free: 15.29 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.892e-05/0.8711, allocations: 4 kB / 0.8586 GB, free: 15.29 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.955e-05/0.8712, allocations: 2.906 kB / 0.8586 GB, free: 15.29 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.434e-05/0.8712, allocations: 6.172 kB / 0.8586 GB, free: 15.29 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.868e-06/0.8712, allocations: 7.875 kB / 0.8586 GB, free: 15.28 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 4.858e-05/0.8712, allocations: 77.25 kB / 0.8587 GB, free: 15.21 MB / 0.6387 GB Notification: Performance of sort global known variables: time 6.1e-08/0.8712, allocations: 0 / 0.8587 GB, free: 15.21 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0001924/0.8714, allocations: 15.25 kB / 0.8587 GB, free: 15.2 MB / 0.6387 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.0001008/0.8715, allocations: 98.91 kB / 0.8588 GB, free: 15.11 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.000146/0.8717, allocations: 61.55 kB / 0.8588 GB, free: 15.09 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 9.839e-06/0.8717, allocations: 4 kB / 0.8588 GB, free: 15.08 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 3.696e-05/0.8717, allocations: 27.98 kB / 0.8589 GB, free: 15.07 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002248/0.872, allocations: 10.94 kB / 0.8589 GB, free: 15.07 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006013/0.8726, allocations: 318.9 kB / 0.8592 GB, free: 14.79 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.539e-05/0.8726, allocations: 68.53 kB / 0.8592 GB, free: 14.72 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 5.191e-05/0.8727, allocations: 12.03 kB / 0.8593 GB, free: 14.71 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.974e-05/0.8727, allocations: 12.41 kB / 0.8593 GB, free: 14.7 MB / 0.6387 GB Notification: Performance of SimCode: time 3.51e-07/0.8727, allocations: 4 kB / 0.8593 GB, free: 14.7 MB / 0.6387 GB Notification: Performance of Templates: time 0.003211/0.8759, allocations: 0.6445 MB / 0.8599 GB, free: 14.25 MB / 0.6387 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: 6.749780626967549] Failed to read output from testmodel.py, exit status != 0: 0.8867738917469978 0.90154147 0.030644789000000002 Calling exit ...