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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) 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=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") translateModel(IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001034/0.001034, allocations: 112.8 kB / 17.04 MB, free: 5.812 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.0009989/0.0009989, allocations: 195 kB / 17.98 MB, free: 5.027 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.321/1.321, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7212/0.7212, allocations: 115.1 MB / 407 MB, free: 6.324 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 71.88 kB / 494.8 MB, free: 15.84 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3101/0.3114, allocations: 76.14 MB / 0.5576 GB, free: 36.61 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.00211/0.3136, allocations: 1.273 MB / 0.5588 GB, free: 35.73 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1502/0.4638, allocations: 147 MB / 0.7024 GB, free: 15.77 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.268e-05/0.4639, allocations: 0 / 0.7024 GB, free: 15.77 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.96e-05/0.4639, allocations: 0 / 0.7024 GB, free: 15.77 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.765e-05/0.464, allocations: 7.938 kB / 0.7024 GB, free: 15.77 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003795/0.4644, allocations: 91.56 kB / 0.7025 GB, free: 15.68 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.862e-05/0.4644, allocations: 31.91 kB / 0.7025 GB, free: 15.64 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.326e-05/0.4645, allocations: 4 kB / 0.7025 GB, free: 15.64 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.879e-05/0.4645, allocations: 19.92 kB / 0.7025 GB, free: 15.62 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.406e-05/0.4646, allocations: 11.92 kB / 0.7025 GB, free: 15.61 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.014e-05/0.4646, allocations: 0 / 0.7025 GB, free: 15.61 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002448/0.4649, allocations: 87.75 kB / 0.7026 GB, free: 15.52 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.366e-05/0.4649, allocations: 8 kB / 0.7026 GB, free: 15.52 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.639e-05/0.4649, allocations: 19.91 kB / 0.7026 GB, free: 15.5 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000138/0.4651, allocations: 61.72 kB / 0.7027 GB, free: 15.44 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.4651, allocations: 0 / 0.7027 GB, free: 15.44 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.172e-06/0.4651, allocations: 0 / 0.7027 GB, free: 15.44 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.564e-06/0.4651, allocations: 3.938 kB / 0.7027 GB, free: 15.43 MB / 0.545 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.0003594/0.4654, allocations: 355.4 kB / 0.703 GB, free: 15.04 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.111e-05/0.4655, allocations: 8.031 kB / 0.7031 GB, free: 15.04 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001747/0.4657, allocations: 12.84 kB / 0.7031 GB, free: 15.02 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.614e-05/0.4658, allocations: 172.4 kB / 0.7032 GB, free: 14.82 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.286e-05/0.4658, allocations: 7.938 kB / 0.7032 GB, free: 14.81 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.005e-05/0.4658, allocations: 4 kB / 0.7032 GB, free: 14.8 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.972e-05/0.4659, allocations: 53.62 kB / 0.7033 GB, free: 14.75 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.241e-06/0.4659, allocations: 0 / 0.7033 GB, free: 14.75 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.648e-06/0.4659, allocations: 0 / 0.7033 GB, free: 14.75 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.027e-06/0.4659, allocations: 0 / 0.7033 GB, free: 14.75 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.614e-05/0.466, allocations: 19.97 kB / 0.7033 GB, free: 14.73 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001485/0.4662, allocations: 169.5 kB / 0.7035 GB, free: 14.51 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 7.96e-05/0.4662, allocations: 50.56 kB / 0.7035 GB, free: 14.45 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.599e-05/0.4663, allocations: 13.09 kB / 0.7035 GB, free: 14.44 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.01e-05/0.4663, allocations: 4 kB / 0.7035 GB, free: 14.43 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.478e-05/0.4663, allocations: 38.48 kB / 0.7036 GB, free: 14.39 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.032e-06/0.4663, allocations: 0 / 0.7036 GB, free: 14.39 MB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.0006419/0.467, allocations: 378.6 kB / 0.7039 GB, free: 13.96 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.308e-05/0.467, allocations: 51.41 kB / 0.704 GB, free: 13.9 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.139e-05/0.4671, allocations: 97.86 kB / 0.7041 GB, free: 13.8 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.465e-05/0.4671, allocations: 25.7 kB / 0.7041 GB, free: 13.77 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 2.743e-05/0.4671, allocations: 80.14 kB / 0.7042 GB, free: 13.68 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.682e-05/0.4672, allocations: 43.44 kB / 0.7042 GB, free: 13.64 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.136e-05/0.4672, allocations: 29.7 kB / 0.7042 GB, free: 13.61 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 8.66e-05/0.4673, allocations: 322.9 kB / 0.7046 GB, free: 13.28 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.969e-05/0.4674, allocations: 23.98 kB / 0.7046 GB, free: 13.26 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.383e-05/0.4674, allocations: 29.7 kB / 0.7046 GB, free: 13.22 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.052e-05/0.4675, allocations: 61.66 kB / 0.7047 GB, free: 13.16 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.4675, allocations: 0 / 0.7047 GB, free: 13.16 MB / 0.545 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000187/0.4677, allocations: 101.5 kB / 0.7048 GB, free: 13.05 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/0.4677, allocations: 4 kB / 0.7048 GB, free: 13.05 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.4677, allocations: 4 kB / 0.7048 GB, free: 13.04 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.4678, allocations: 4 kB / 0.7048 GB, free: 13.04 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001167/0.4679, allocations: 16 kB / 0.7048 GB, free: 13.02 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/0.4679, allocations: 3.984 kB / 0.7048 GB, free: 13.02 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.398e-05/0.4679, allocations: 8 kB / 0.7048 GB, free: 13.01 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.44e-06/0.4679, allocations: 0 / 0.7048 GB, free: 13.01 MB / 0.545 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 7.221e-05/0.468, allocations: 121.7 kB / 0.7049 GB, free: 12.88 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.599e-05/0.468, allocations: 4 kB / 0.7049 GB, free: 12.88 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.901e-05/0.4681, allocations: 15.91 kB / 0.7049 GB, free: 12.86 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.4681, allocations: 8 kB / 0.7049 GB, free: 12.86 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.4681, allocations: 7.938 kB / 0.705 GB, free: 12.85 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.4681, allocations: 0 / 0.705 GB, free: 12.85 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001107/0.4682, allocations: 169.6 kB / 0.7051 GB, free: 12.63 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.4682, allocations: 0 / 0.7051 GB, free: 12.63 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001205/0.4684, allocations: 23.98 kB / 0.7051 GB, free: 12.61 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.4684, allocations: 0 / 0.7051 GB, free: 12.61 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.684e-06/0.4684, allocations: 0 / 0.7051 GB, free: 12.61 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.4684, allocations: 0 / 0.7051 GB, free: 12.61 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.4684, allocations: 0 / 0.7051 GB, free: 12.61 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000187/0.4686, allocations: 145.8 kB / 0.7053 GB, free: 12.45 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.357e-05/0.4687, allocations: 89.08 kB / 0.7054 GB, free: 12.34 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.626e-05/0.4687, allocations: 4 kB / 0.7054 GB, free: 12.34 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.977e-05/0.4688, allocations: 4 kB / 0.7054 GB, free: 12.34 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.945e-05/0.4688, allocations: 7.984 kB / 0.7054 GB, free: 12.33 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.326e-06/0.4688, allocations: 4 kB / 0.7054 GB, free: 12.32 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.144e-05/0.4688, allocations: 79.28 kB / 0.7055 GB, free: 12.25 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4688, allocations: 96 / 0.7055 GB, free: 12.25 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001965/0.469, allocations: 19.94 kB / 0.7055 GB, free: 12.23 MB / 0.545 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 8.676e-05/0.4691, allocations: 99.25 kB / 0.7056 GB, free: 12.12 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001201/0.4693, allocations: 59.91 kB / 0.7056 GB, free: 12.06 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.4693, allocations: 0 / 0.7056 GB, free: 12.06 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 3.791e-05/0.4693, allocations: 34 kB / 0.7057 GB, free: 12.03 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002013/0.4695, allocations: 9.875 kB / 0.7057 GB, free: 12.02 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005004/0.47, allocations: 318.2 kB / 0.706 GB, free: 11.68 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002169/0.4703, allocations: 0.6885 MB / 0.7066 GB, free: 10.97 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.181e-05/0.4703, allocations: 20.53 kB / 0.7067 GB, free: 10.95 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.679e-05/0.4704, allocations: 11.44 kB / 0.7067 GB, free: 10.94 MB / 0.545 GB Notification: Performance of SimCode: time 2.4e-07/0.4704, allocations: 0 / 0.7067 GB, free: 10.94 MB / 0.545 GB Notification: Performance of Templates: time 0.002517/0.4729, allocations: 0.6404 MB / 0.7073 GB, free: 10.31 MB / 0.545 GB make -j1 -f IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.makefile (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 gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1)