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.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 90] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") translateModel(IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001421/0.001421, allocations: 109.8 kB / 17.33 MB, free: 5.043 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001334/0.001334, allocations: 202.6 kB / 18.33 MB, free: 4.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.5/1.5, allocations: 225.6 MB / 244.8 MB, free: 13.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8853/0.8853, allocations: 128.4 MB / 426.1 MB, free: 7.238 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001983/0.001983, allocations: 67.17 kB / 0.5911 GB, free: 21.58 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1935/0.1955, allocations: 83.26 MB / 0.6724 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.002805/0.1983, allocations: 1.284 MB / 0.6737 GB, free: 2.637 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.6436/0.8419, allocations: 147.4 MB / 0.8177 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.666e-05/0.8419, allocations: 0 / 0.8177 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 2.529e-05/0.8419, allocations: 3.938 kB / 0.8177 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 6.381e-05/0.842, allocations: 3.875 kB / 0.8177 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005547/0.8426, allocations: 89.33 kB / 0.8178 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0001037/0.8427, allocations: 35.84 kB / 0.8178 GB, free: 10.83 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 4.829e-05/0.8427, allocations: 5.375 kB / 0.8178 GB, free: 10.83 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 6.018e-05/0.8428, allocations: 18.8 kB / 0.8178 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 8.027e-05/0.8428, allocations: 13.42 kB / 0.8178 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.429e-05/0.8429, allocations: 1.375 kB / 0.8178 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003176/0.8432, allocations: 81.52 kB / 0.8179 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 1.881e-05/0.8432, allocations: 10.22 kB / 0.8179 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 3.773e-05/0.8432, allocations: 21.11 kB / 0.8179 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0002127/0.8434, allocations: 62.22 kB / 0.818 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.8435, allocations: 0 / 0.818 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.623e-06/0.8435, allocations: 0 / 0.818 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.993e-06/0.8435, allocations: 0.6562 kB / 0.818 GB, free: 10.79 MB / 0.5919 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.0006589/0.8441, allocations: 366.3 kB / 0.8184 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.474e-05/0.8442, allocations: 9.625 kB / 0.8184 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002557/0.8444, allocations: 10.44 kB / 0.8184 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001523/0.8446, allocations: 167.3 kB / 0.8185 GB, free: 10.22 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.781e-05/0.8446, allocations: 5.312 kB / 0.8185 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.892e-05/0.8446, allocations: 7.875 kB / 0.8185 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001448/0.8448, allocations: 47.38 kB / 0.8186 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.8448, allocations: 4 kB / 0.8186 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.588e-05/0.8448, allocations: 5.062 kB / 0.8186 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.8448, allocations: 1.375 kB / 0.8186 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.708e-05/0.8449, allocations: 13.17 kB / 0.8186 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002501/0.8451, allocations: 169 kB / 0.8188 GB, free: 9.984 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001043/0.8452, allocations: 49 kB / 0.8188 GB, free: 9.957 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.458e-05/0.8452, allocations: 16.22 kB / 0.8188 GB, free: 9.949 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 1.791e-05/0.8453, allocations: 7.984 kB / 0.8188 GB, free: 9.941 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.711e-05/0.8453, allocations: 35.56 kB / 0.8189 GB, free: 9.902 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=7): time 1.112e-06/0.8453, allocations: 1.375 kB / 0.8189 GB, free: 9.902 MB / 0.5919 GB Notification: Performance of matching and sorting (n=11): time 0.000882/0.8462, allocations: 373.7 kB / 0.8192 GB, free: 9.637 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.494e-05/0.8462, allocations: 52.78 kB / 0.8193 GB, free: 9.574 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.61e-05/0.8463, allocations: 98.55 kB / 0.8194 GB, free: 9.473 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.372e-05/0.8464, allocations: 27.08 kB / 0.8194 GB, free: 9.441 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 4.727e-05/0.8464, allocations: 83.7 kB / 0.8195 GB, free: 9.359 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.488e-05/0.8465, allocations: 47.19 kB / 0.8195 GB, free: 9.324 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.217e-05/0.8465, allocations: 28.84 kB / 0.8196 GB, free: 9.309 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002054/0.8467, allocations: 321.9 kB / 0.8199 GB, free: 8.992 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.257e-05/0.8468, allocations: 19.69 kB / 0.8199 GB, free: 8.992 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.837e-05/0.8468, allocations: 34.16 kB / 0.8199 GB, free: 8.977 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001199/0.847, allocations: 62.7 kB / 0.82 GB, free: 8.953 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.847, allocations: 0 / 0.82 GB, free: 8.953 MB / 0.5919 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001842/0.8471, allocations: 97.89 kB / 0.8201 GB, free: 8.914 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.045e-05/0.8472, allocations: 5.438 kB / 0.8201 GB, free: 8.914 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.347e-06/0.8472, allocations: 1.312 kB / 0.8201 GB, free: 8.914 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.256e-05/0.8472, allocations: 1.312 kB / 0.8201 GB, free: 8.914 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001447/0.8473, allocations: 23.66 kB / 0.8201 GB, free: 8.91 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.041e-05/0.8474, allocations: 2.469 kB / 0.8201 GB, free: 8.91 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.379e-05/0.8474, allocations: 3.625 kB / 0.8201 GB, free: 8.91 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.192e-05/0.8474, allocations: 11.72 kB / 0.8201 GB, free: 8.902 MB / 0.5919 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.0001421/0.8475, allocations: 117.4 kB / 0.8202 GB, free: 8.785 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2e-05/0.8476, allocations: 2.719 kB / 0.8202 GB, free: 8.785 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.274e-05/0.8476, allocations: 12.12 kB / 0.8202 GB, free: 8.785 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/0.8476, allocations: 1.375 kB / 0.8202 GB, free: 8.785 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.195e-06/0.8476, allocations: 0 / 0.8202 GB, free: 8.785 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.838e-06/0.8476, allocations: 1.281 kB / 0.8202 GB, free: 8.785 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002053/0.8478, allocations: 179.4 kB / 0.8204 GB, free: 8.59 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.8478, allocations: 0 / 0.8204 GB, free: 8.59 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000136/0.848, allocations: 28.11 kB / 0.8204 GB, free: 8.582 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.07e-06/0.848, allocations: 1.656 kB / 0.8204 GB, free: 8.582 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.241e-05/0.848, allocations: 1.062 kB / 0.8204 GB, free: 8.582 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/0.848, allocations: 1.344 kB / 0.8204 GB, free: 8.582 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.848, allocations: 0 / 0.8204 GB, free: 8.582 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002907/0.8483, allocations: 136.5 kB / 0.8206 GB, free: 8.508 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 9.826e-05/0.8484, allocations: 87.06 kB / 0.8207 GB, free: 8.41 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.007e-05/0.8484, allocations: 6.516 kB / 0.8207 GB, free: 8.41 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.262e-05/0.8485, allocations: 5.719 kB / 0.8207 GB, free: 8.406 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.913e-05/0.8485, allocations: 10.25 kB / 0.8207 GB, free: 8.402 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.132e-05/0.8485, allocations: 10.19 kB / 0.8207 GB, free: 8.402 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 5.65e-05/0.8486, allocations: 81.61 kB / 0.8208 GB, free: 8.324 MB / 0.5919 GB Notification: Performance of sort global known variables: time 6.1e-08/0.8486, allocations: 1.844 kB / 0.8208 GB, free: 8.324 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000245/0.8488, allocations: 14.69 kB / 0.8208 GB, free: 8.324 MB / 0.5919 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.000142/0.849, allocations: 100.2 kB / 0.8209 GB, free: 8.23 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001864/0.8491, allocations: 61.36 kB / 0.8209 GB, free: 8.223 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.8491, allocations: 0 / 0.8209 GB, free: 8.223 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 4.806e-05/0.8492, allocations: 25.28 kB / 0.821 GB, free: 8.223 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002681/0.8495, allocations: 7.375 kB / 0.821 GB, free: 8.223 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007105/0.8502, allocations: 314.6 kB / 0.8213 GB, free: 7.977 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004235/0.8506, allocations: 0.6884 MB / 0.8219 GB, free: 7.277 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 6.25e-05/0.8507, allocations: 10.31 kB / 0.822 GB, free: 7.273 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.51e-05/0.8507, allocations: 13.44 kB / 0.822 GB, free: 7.266 MB / 0.5919 GB Notification: Performance of SimCode: time 5.31e-07/0.8507, allocations: 0 / 0.822 GB, free: 7.266 MB / 0.5919 GB Notification: Performance of Templates: time 0.003786/0.8545, allocations: 0.6626 MB / 0.8226 GB, free: 7.145 MB / 0.5919 GB 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]