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.001722/0.001722, allocations: 105.4 kB / 16.94 MB, free: 6.191 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.001688/0.001688, allocations: 189.3 kB / 17.86 MB, free: 5.293 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.416/1.416, allocations: 222.9 MB / 241.6 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8107/0.8107, allocations: 125.4 MB / 417.1 MB, free: 13.62 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001972/0.001972, allocations: 63.91 kB / 0.4948 GB, free: 4.445 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3825/0.3844, allocations: 78.56 MB / 0.5715 GB, free: 31.45 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.002297/0.3868, allocations: 1.269 MB / 0.5728 GB, free: 30.57 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.172/0.5588, allocations: 147 MB / 0.7163 GB, free: 2.848 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.378e-05/0.5589, allocations: 4 kB / 0.7163 GB, free: 2.844 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.892e-05/0.5591, allocations: 3.938 kB / 0.7163 GB, free: 2.84 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.943e-05/0.5591, allocations: 7.922 kB / 0.7163 GB, free: 2.832 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004323/0.5596, allocations: 91.56 kB / 0.7164 GB, free: 2.742 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.17e-05/0.5596, allocations: 31.92 kB / 0.7164 GB, free: 2.711 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.979e-05/0.5597, allocations: 7.984 kB / 0.7164 GB, free: 2.703 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.292e-05/0.5597, allocations: 11.94 kB / 0.7165 GB, free: 2.691 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.021e-05/0.5598, allocations: 11.98 kB / 0.7165 GB, free: 2.68 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.418e-05/0.5598, allocations: 8 kB / 0.7165 GB, free: 2.672 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002858/0.5601, allocations: 79.75 kB / 0.7165 GB, free: 2.594 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.148e-05/0.5601, allocations: 11.94 kB / 0.7166 GB, free: 2.582 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.609e-05/0.5602, allocations: 19.91 kB / 0.7166 GB, free: 2.562 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001651/0.5604, allocations: 57.92 kB / 0.7166 GB, free: 2.508 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.5604, allocations: 3.938 kB / 0.7166 GB, free: 2.504 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.483e-06/0.5604, allocations: 4 kB / 0.7166 GB, free: 2.5 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.49e-06/0.5604, allocations: 0 / 0.7166 GB, free: 2.5 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.0004858/0.5609, allocations: 355.4 kB / 0.717 GB, free: 2.105 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/0.5609, allocations: 12.03 kB / 0.717 GB, free: 2.094 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001952/0.5611, allocations: 12.92 kB / 0.717 GB, free: 2.082 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001301/0.5613, allocations: 164.4 kB / 0.7172 GB, free: 1.883 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.414e-05/0.5613, allocations: 3.938 kB / 0.7172 GB, free: 1.879 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.054e-05/0.5613, allocations: 8 kB / 0.7172 GB, free: 1.871 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001367/0.5615, allocations: 49.67 kB / 0.7172 GB, free: 1.816 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/0.5615, allocations: 0 / 0.7172 GB, free: 1.816 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.5615, allocations: 0 / 0.7172 GB, free: 1.816 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/0.5615, allocations: 0 / 0.7172 GB, free: 1.816 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.651e-05/0.5616, allocations: 27.92 kB / 0.7172 GB, free: 1.789 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002054/0.5618, allocations: 173.5 kB / 0.7174 GB, free: 1.57 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 9.975e-05/0.5619, allocations: 46.64 kB / 0.7175 GB, free: 1.516 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.546e-05/0.562, allocations: 17 kB / 0.7175 GB, free: 1.496 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.684e-05/0.562, allocations: 11.97 kB / 0.7175 GB, free: 1.484 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.241e-05/0.562, allocations: 30.56 kB / 0.7175 GB, free: 1.445 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.012e-06/0.562, allocations: 4 kB / 0.7175 GB, free: 1.441 MB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.0007928/0.5628, allocations: 366.5 kB / 0.7179 GB, free: 1.031 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.923e-05/0.5629, allocations: 51.41 kB / 0.7179 GB, free: 0.9688 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.639e-05/0.563, allocations: 97.84 kB / 0.718 GB, free: 0.8633 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.145e-05/0.563, allocations: 29.7 kB / 0.718 GB, free: 0.8281 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.76e-05/0.563, allocations: 80.27 kB / 0.7181 GB, free: 0.7461 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.219e-05/0.5631, allocations: 43.36 kB / 0.7182 GB, free: 0.7031 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.725e-05/0.5631, allocations: 33.7 kB / 0.7182 GB, free: 0.6641 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001401/0.5633, allocations: 322.7 kB / 0.7185 GB, free: 348 kB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.942e-05/0.5633, allocations: 19.98 kB / 0.7185 GB, free: 328 kB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.037e-05/0.5634, allocations: 33.7 kB / 0.7185 GB, free: 288 kB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.848e-05/0.5635, allocations: 65.7 kB / 0.7186 GB, free: 216 kB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.5635, allocations: 0 / 0.7186 GB, free: 216 kB / 0.545 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001401/0.5637, allocations: 97.67 kB / 0.7187 GB, free: 112 kB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.5637, allocations: 4 kB / 0.7187 GB, free: 108 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.5637, allocations: 0 / 0.7187 GB, free: 108 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.5637, allocations: 4 kB / 0.7187 GB, free: 104 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000119/0.5638, allocations: 23.92 kB / 0.7187 GB, free: 80 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.149e-06/0.5638, allocations: 0 / 0.7187 GB, free: 80 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.209e-05/0.5639, allocations: 4 kB / 0.7187 GB, free: 76 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.598e-06/0.5639, allocations: 4 kB / 0.7187 GB, free: 72 kB / 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 0.0001092/0.564, allocations: 117.8 kB / 0.7189 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.99e-05/0.564, allocations: 11.91 kB / 0.7189 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.539e-05/0.5641, allocations: 7.969 kB / 0.7189 GB, free: 15.92 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.5641, allocations: 4 kB / 0.7189 GB, free: 15.92 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.5641, allocations: 3.938 kB / 0.7189 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.5641, allocations: 0 / 0.7189 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001541/0.5643, allocations: 169.6 kB / 0.719 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.5643, allocations: 7.938 kB / 0.719 GB, free: 15.69 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000123/0.5644, allocations: 27.98 kB / 0.7191 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.5644, allocations: 0 / 0.7191 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.854e-06/0.5644, allocations: 0 / 0.7191 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.5644, allocations: 4 kB / 0.7191 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.5644, allocations: 4 kB / 0.7191 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002142/0.5647, allocations: 125.6 kB / 0.7192 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.04e-05/0.5648, allocations: 92.98 kB / 0.7193 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.485e-05/0.5648, allocations: 0 / 0.7193 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.782e-05/0.5649, allocations: 11.98 kB / 0.7193 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.841e-05/0.5649, allocations: 4 kB / 0.7193 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.858e-06/0.5649, allocations: 4 kB / 0.7193 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.108e-05/0.565, allocations: 83.22 kB / 0.7194 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.565, allocations: 0 / 0.7194 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000197/0.5652, allocations: 19.94 kB / 0.7194 GB, free: 15.29 MB / 0.5606 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.0001081/0.5653, allocations: 103.2 kB / 0.7195 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001443/0.5654, allocations: 55.92 kB / 0.7196 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.5654, allocations: 0 / 0.7196 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 5.149e-05/0.5655, allocations: 33.45 kB / 0.7196 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002068/0.5657, allocations: 13.98 kB / 0.7196 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006115/0.5663, allocations: 354.6 kB / 0.7199 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000313/0.5667, allocations: 0.6923 MB / 0.7206 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.085e-05/0.5667, allocations: 11.44 kB / 0.7206 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of SimCode: time 2.31e-07/0.5667, allocations: 0 / 0.7206 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of Templates: time 0.00248/0.5692, allocations: 0.8243 MB / 0.7214 GB, free: 13.14 MB / 0.5606 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 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1)