Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.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/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|der.hLiqSym.|der.hLiqCod.|der.hSteSym.|der.hSteCod.|der.hAirSym.|der.hAirCod.",fileNamePrefix="Buildings_9_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") translateModel(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|der.hLiqSym.|der.hLiqCod.|der.hSteSym.|der.hSteCod.|der.hAirSym.|der.hAirCod.",fileNamePrefix="Buildings_9_Buildings.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.001551/0.001551, allocations: 115.2 kB / 16.42 MB, free: 6.449 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.001779/0.001779, allocations: 183.9 kB / 17.35 MB, free: 5.738 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.302/1.302, allocations: 222.9 MB / 241.1 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.151/2.151, allocations: 390.3 MB / 0.6655 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00131/0.00131, allocations: 63.91 kB / 0.9515 GB, free: 7.695 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6829/0.6843, allocations: 140.4 MB / 1.089 GB, free: 5.535 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.001912/0.6862, allocations: 1.274 MB / 1.09 GB, free: 4.641 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1563/0.8426, allocations: 147 MB / 1.233 GB, free: 6.273 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.433e-05/0.8426, allocations: 7.938 kB / 1.233 GB, free: 6.266 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.266e-05/0.8427, allocations: 0 / 1.233 GB, free: 6.266 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.874e-05/0.8428, allocations: 9.453 kB / 1.233 GB, free: 6.258 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004164/0.8432, allocations: 94.05 kB / 1.233 GB, free: 6.188 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 6.831e-05/0.8433, allocations: 28.64 kB / 1.234 GB, free: 6.176 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.071e-05/0.8433, allocations: 2.25 kB / 1.234 GB, free: 6.176 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 4.183e-05/0.8434, allocations: 20.52 kB / 1.234 GB, free: 6.164 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.365e-05/0.8434, allocations: 13.08 kB / 1.234 GB, free: 6.156 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.2e-05/0.8434, allocations: 5.469 kB / 1.234 GB, free: 6.152 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002593/0.8437, allocations: 86.38 kB / 1.234 GB, free: 6.102 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.42e-05/0.8437, allocations: 6 kB / 1.234 GB, free: 6.098 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.987e-05/0.8438, allocations: 18.58 kB / 1.234 GB, free: 6.086 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001542/0.8439, allocations: 64.33 kB / 1.234 GB, free: 6.059 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.8439, allocations: 0 / 1.234 GB, free: 6.059 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.392e-06/0.8439, allocations: 4.969 kB / 1.234 GB, free: 6.055 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.308e-06/0.8439, allocations: 0 / 1.234 GB, free: 6.055 MB / 0.9669 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.000379/0.8443, allocations: 351.3 kB / 1.234 GB, free: 5.684 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.346e-05/0.8444, allocations: 12.84 kB / 1.234 GB, free: 5.68 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001862/0.8446, allocations: 8.562 kB / 1.234 GB, free: 5.68 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001011/0.8447, allocations: 169.2 kB / 1.234 GB, free: 5.477 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.287e-05/0.8447, allocations: 6.312 kB / 1.234 GB, free: 5.473 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.264e-05/0.8447, allocations: 7.312 kB / 1.234 GB, free: 5.469 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001079/0.8448, allocations: 49 kB / 1.234 GB, free: 5.426 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.772e-06/0.8448, allocations: 0 / 1.234 GB, free: 5.426 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.23e-05/0.8449, allocations: 5.156 kB / 1.234 GB, free: 5.422 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.461e-06/0.8449, allocations: 4.953 kB / 1.234 GB, free: 5.418 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.363e-05/0.8449, allocations: 16.77 kB / 1.234 GB, free: 5.41 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001611/0.8451, allocations: 169.4 kB / 1.234 GB, free: 5.203 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 8.929e-05/0.8452, allocations: 51.94 kB / 1.235 GB, free: 5.164 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.736e-05/0.8452, allocations: 15.33 kB / 1.235 GB, free: 5.152 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.132e-05/0.8452, allocations: 5.406 kB / 1.235 GB, free: 5.148 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.646e-05/0.8453, allocations: 39.72 kB / 1.235 GB, free: 5.102 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.293e-06/0.8453, allocations: 0 / 1.235 GB, free: 5.102 MB / 0.9669 GB Notification: Performance of matching and sorting (n=11): time 0.0006758/0.846, allocations: 374.8 kB / 1.235 GB, free: 4.773 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.862e-05/0.846, allocations: 52.69 kB / 1.235 GB, free: 4.711 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.844e-05/0.8461, allocations: 95.11 kB / 1.235 GB, free: 4.609 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.787e-05/0.8461, allocations: 26.89 kB / 1.235 GB, free: 4.578 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 2.444e-05/0.8461, allocations: 80.14 kB / 1.235 GB, free: 4.496 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.457e-05/0.8462, allocations: 44.45 kB / 1.235 GB, free: 4.457 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.412e-05/0.8462, allocations: 30.86 kB / 1.235 GB, free: 4.43 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 9.721e-05/0.8463, allocations: 315.8 kB / 1.236 GB, free: 4.113 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.62e-05/0.8464, allocations: 23.14 kB / 1.236 GB, free: 4.102 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.796e-05/0.8464, allocations: 35.98 kB / 1.236 GB, free: 4.074 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.501e-05/0.8465, allocations: 68.33 kB / 1.236 GB, free: 4.027 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.8465, allocations: 0 / 1.236 GB, free: 4.027 MB / 0.9669 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001381/0.8467, allocations: 96.95 kB / 1.236 GB, free: 3.965 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/0.8467, allocations: 9.875 kB / 1.236 GB, free: 3.961 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.8467, allocations: 0 / 1.236 GB, free: 3.961 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.8467, allocations: 2.375 kB / 1.236 GB, free: 3.961 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001092/0.8468, allocations: 18.44 kB / 1.236 GB, free: 3.961 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.038e-05/0.8468, allocations: 3.984 kB / 1.236 GB, free: 3.957 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.305e-05/0.8469, allocations: 1.375 kB / 1.236 GB, free: 3.957 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.375e-06/0.8469, allocations: 7.625 kB / 1.236 GB, free: 3.953 MB / 0.9669 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.23e-05/0.847, allocations: 120.2 kB / 1.236 GB, free: 3.828 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.514e-05/0.847, allocations: 6.75 kB / 1.236 GB, free: 3.824 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.277e-05/0.847, allocations: 9.5 kB / 1.236 GB, free: 3.816 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.847, allocations: 0 / 1.236 GB, free: 3.816 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.847, allocations: 0 / 1.236 GB, free: 3.816 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 7.2e-05/0.8471, allocations: 91.69 kB / 1.236 GB, free: 3.711 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.53e-05/0.8471, allocations: 5.062 kB / 1.236 GB, free: 3.707 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.383e-05/0.8472, allocations: 2.75 kB / 1.236 GB, free: 3.707 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.249e-05/0.8472, allocations: 15.86 kB / 1.236 GB, free: 3.695 MB / 0.9669 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002325/0.8475, allocations: 177.9 kB / 1.236 GB, free: 3.551 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002412/0.8477, allocations: 286.7 kB / 1.237 GB, free: 3.301 MB / 0.9669 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.545e-05/0.8478, allocations: 25.97 kB / 1.237 GB, free: 3.289 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.482e-05/0.8478, allocations: 83.22 kB / 1.237 GB, free: 3.207 MB / 0.9669 GB Notification: Performance of Backend: time 2.7e-07/0.8478, allocations: 1.469 kB / 1.237 GB, free: 3.207 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0004205/0.8483, allocations: 147.5 kB / 1.237 GB, free: 3.109 MB / 0.9669 GB Notification: Performance of SimCode: time 0.0006305/0.8489, allocations: 0.749 MB / 1.237 GB, free: 2.367 MB / 0.9669 GB Notification: Performance of Templates: time 0.003443/0.8524, allocations: 1.224 MB / 1.239 GB, free: 1.715 MB / 0.9669 GB make -j1 -f Buildings_9_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.makefile (rm -f Buildings_9_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; mkfifo Buildings_9_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe >> ../files/Buildings_9_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.sim & ./Buildings_9_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1)