Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") translateModel(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.588/1.588, allocations: 288.4 MB / 304.3 MB, free: 8.02 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008809/0.0008809, allocations: 179.5 kB / 372.9 MB, free: 10.14 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.536/1.536, allocations: 205.4 MB / 0.6316 GB, free: 9.918 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009038/0.0009038, allocations: 104.2 kB / 0.745 GB, free: 5.809 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003549/0.000355, allocations: 15.78 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1662/0.1666, allocations: 115.3 MB / 0.9807 GB, free: 27.34 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.001038/0.1677, allocations: 0.9862 MB / 0.9817 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.4817/0.6494, allocations: 133.5 MB / 1.112 GB, free: 2.754 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.836e-05/0.6495, allocations: 0 / 1.112 GB, free: 2.754 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 2.556e-05/0.6495, allocations: 1.312 kB / 1.112 GB, free: 2.754 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 6.645e-05/0.6496, allocations: 10.33 kB / 1.112 GB, free: 2.746 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.000374/0.6499, allocations: 80.14 kB / 1.112 GB, free: 2.727 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 7.428e-05/0.65, allocations: 33.34 kB / 1.112 GB, free: 2.719 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 5.888e-05/0.6501, allocations: 3.203 kB / 1.112 GB, free: 2.719 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 4.846e-05/0.6501, allocations: 13.16 kB / 1.112 GB, free: 2.719 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 6.398e-05/0.6502, allocations: 21.95 kB / 1.112 GB, free: 2.711 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 1.313e-05/0.6502, allocations: 1.031 kB / 1.112 GB, free: 2.711 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002483/0.6505, allocations: 73.94 kB / 1.112 GB, free: 2.699 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 1.794e-05/0.6505, allocations: 10.73 kB / 1.112 GB, free: 2.695 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001466/0.6507, allocations: 42.03 kB / 1.112 GB, free: 18.66 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001258/0.6508, allocations: 41.02 kB / 1.112 GB, free: 18.66 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.6508, allocations: 0 / 1.112 GB, free: 18.66 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.543e-06/0.6508, allocations: 2.828 kB / 1.112 GB, free: 18.66 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.049e-06/0.6508, allocations: 0 / 1.112 GB, free: 18.66 MB / 0.698 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.0003846/0.6512, allocations: 341.1 kB / 1.113 GB, free: 18.3 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.774e-05/0.6513, allocations: 9.547 kB / 1.113 GB, free: 18.3 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001874/0.6515, allocations: 19.81 kB / 1.113 GB, free: 18.29 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.965e-05/0.6516, allocations: 172.4 kB / 1.113 GB, free: 18.09 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.312e-05/0.6516, allocations: 5.844 kB / 1.113 GB, free: 18.09 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.764e-05/0.6516, allocations: 8.078 kB / 1.113 GB, free: 18.09 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001134/0.6518, allocations: 50.33 kB / 1.113 GB, free: 18.05 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.6518, allocations: 0 / 1.113 GB, free: 18.05 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/0.6518, allocations: 3 kB / 1.113 GB, free: 18.05 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.6518, allocations: 2.109 kB / 1.113 GB, free: 18.05 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.616e-05/0.6518, allocations: 15.64 kB / 1.113 GB, free: 18.05 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001461/0.652, allocations: 164.8 kB / 1.113 GB, free: 17.86 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.19e-05/0.6521, allocations: 59.12 kB / 1.113 GB, free: 17.83 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.317e-05/0.6521, allocations: 12.44 kB / 1.113 GB, free: 17.82 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.13e-05/0.6521, allocations: 1.75 kB / 1.113 GB, free: 17.82 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.069e-05/0.6521, allocations: 36.11 kB / 1.113 GB, free: 17.79 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.112e-06/0.6522, allocations: 0 / 1.113 GB, free: 17.79 MB / 0.698 GB Notification: Performance of matching and sorting (n=11): time 0.0006235/0.6528, allocations: 368.6 kB / 1.114 GB, free: 17.52 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.538e-05/0.6528, allocations: 56.72 kB / 1.114 GB, free: 17.46 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.375e-05/0.6529, allocations: 96.98 kB / 1.114 GB, free: 17.36 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.315e-05/0.6529, allocations: 26.8 kB / 1.114 GB, free: 17.33 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.671e-05/0.6529, allocations: 83.08 kB / 1.114 GB, free: 17.25 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.333e-05/0.653, allocations: 37.88 kB / 1.114 GB, free: 17.22 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.498e-06/0.653, allocations: 5.844 kB / 1.114 GB, free: 17.22 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000116/0.6531, allocations: 324.4 kB / 1.114 GB, free: 16.9 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.59e-05/0.6531, allocations: 18.95 kB / 1.114 GB, free: 16.9 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.435e-05/0.6532, allocations: 33.75 kB / 1.114 GB, free: 16.89 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.66e-05/0.6533, allocations: 57.09 kB / 1.114 GB, free: 16.87 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.6533, allocations: 0 / 1.114 GB, free: 16.87 MB / 0.698 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001248/0.6534, allocations: 101.8 kB / 1.114 GB, free: 16.83 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/0.6534, allocations: 4.062 kB / 1.114 GB, free: 16.83 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.6534, allocations: 2.234 kB / 1.114 GB, free: 16.83 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.6535, allocations: 5.188 kB / 1.114 GB, free: 16.82 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00011/0.6536, allocations: 27.95 kB / 1.114 GB, free: 16.82 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.6536, allocations: 1.25 kB / 1.114 GB, free: 16.82 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.281e-05/0.6536, allocations: 5.922 kB / 1.114 GB, free: 16.82 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.613e-06/0.6536, allocations: 3.719 kB / 1.114 GB, free: 16.82 MB / 0.698 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.941e-05/0.6537, allocations: 119 kB / 1.115 GB, free: 16.7 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.221e-05/0.6537, allocations: 3.688 kB / 1.115 GB, free: 16.7 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.024e-05/0.6538, allocations: 11.69 kB / 1.115 GB, free: 16.7 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.6538, allocations: 5.75 kB / 1.115 GB, free: 16.69 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.6538, allocations: 1.859 kB / 1.115 GB, free: 16.69 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.646e-05/0.6539, allocations: 86.78 kB / 1.115 GB, free: 16.59 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.354e-05/0.6539, allocations: 1.75 kB / 1.115 GB, free: 16.59 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.336e-05/0.654, allocations: 10.45 kB / 1.115 GB, free: 16.59 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.835e-05/0.654, allocations: 5.781 kB / 1.115 GB, free: 16.59 MB / 0.698 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002298/0.6542, allocations: 174.8 kB / 1.115 GB, free: 16.48 MB / 0.698 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002258/0.6545, allocations: 291.1 kB / 1.115 GB, free: 16.27 MB / 0.698 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.299e-05/0.6545, allocations: 26.2 kB / 1.115 GB, free: 16.27 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.314e-05/0.6546, allocations: 76.84 kB / 1.115 GB, free: 16.2 MB / 0.698 GB Notification: Performance of Backend: time 2.21e-07/0.6546, allocations: 0 / 1.115 GB, free: 16.2 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003864/0.655, allocations: 146.7 kB / 1.115 GB, free: 16.12 MB / 0.698 GB Notification: Performance of SimCode: time 0.0006425/0.6556, allocations: 0.8272 MB / 1.116 GB, free: 15.36 MB / 0.698 GB Notification: Performance of Templates: time 0.003276/0.6589, allocations: 1.129 MB / 1.117 GB, free: 15.22 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.makefile (rm -f Buildings_maint.8.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.sim & ./Buildings_maint.8.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1)