Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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(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_latest_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_latest_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.001608/0.001608, allocations: 110.2 kB / 16.41 MB, free: 6.488 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.001748/0.001748, allocations: 187.9 kB / 17.35 MB, free: 5.746 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.304/1.304, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.487/2.487, allocations: 461.7 MB / 0.7352 GB, free: 11 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 71.89 kB / 1.054 GB, free: 7.75 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6421/0.6434, allocations: 157.4 MB / 1.208 GB, free: 13.67 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.002106/0.6455, allocations: 1.274 MB / 1.209 GB, free: 12.39 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.1381/0.7837, allocations: 147 MB / 1.353 GB, free: 8.801 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.263e-05/0.7837, allocations: 0 / 1.353 GB, free: 8.801 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 2.162e-05/0.7838, allocations: 0 / 1.353 GB, free: 8.801 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 4.495e-05/0.7839, allocations: 3.938 kB / 1.353 GB, free: 8.797 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004425/0.7843, allocations: 95.56 kB / 1.353 GB, free: 8.703 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 8.568e-05/0.7844, allocations: 35.8 kB / 1.353 GB, free: 8.668 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 3.991e-05/0.7845, allocations: 11.97 kB / 1.353 GB, free: 8.656 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 4.152e-05/0.7845, allocations: 12 kB / 1.353 GB, free: 8.645 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 6.259e-05/0.7846, allocations: 11.92 kB / 1.353 GB, free: 8.633 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.262e-05/0.7846, allocations: 4 kB / 1.353 GB, free: 8.629 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002626/0.7849, allocations: 79.81 kB / 1.353 GB, free: 8.551 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 1.399e-05/0.7849, allocations: 4 kB / 1.353 GB, free: 8.547 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 3.161e-05/0.7849, allocations: 19.92 kB / 1.353 GB, free: 8.527 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0001536/0.7851, allocations: 67.67 kB / 1.353 GB, free: 8.465 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.7851, allocations: 4 kB / 1.353 GB, free: 8.461 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.082e-06/0.7851, allocations: 0 / 1.353 GB, free: 8.461 MB / 1.076 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.7851, allocations: 0 / 1.353 GB, free: 8.461 MB / 1.076 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.0003677/0.7855, allocations: 345.4 kB / 1.354 GB, free: 8.078 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.7855, allocations: 8.031 kB / 1.354 GB, free: 8.07 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001923/0.7857, allocations: 12.84 kB / 1.354 GB, free: 8.059 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.65e-05/0.7858, allocations: 172.4 kB / 1.354 GB, free: 7.852 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.345e-05/0.7859, allocations: 7.938 kB / 1.354 GB, free: 7.844 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.286e-05/0.7859, allocations: 7.938 kB / 1.354 GB, free: 7.836 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001101/0.786, allocations: 49.69 kB / 1.354 GB, free: 7.781 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.786, allocations: 0 / 1.354 GB, free: 7.781 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.786, allocations: 0 / 1.354 GB, free: 7.781 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.898e-06/0.786, allocations: 0 / 1.354 GB, free: 7.781 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.508e-05/0.7861, allocations: 15.98 kB / 1.354 GB, free: 7.766 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001686/0.7863, allocations: 169.5 kB / 1.354 GB, free: 7.551 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 7.951e-05/0.7863, allocations: 58.5 kB / 1.354 GB, free: 7.484 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.081e-05/0.7864, allocations: 17.08 kB / 1.354 GB, free: 7.465 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.345e-05/0.7864, allocations: 7.938 kB / 1.354 GB, free: 7.457 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.809e-05/0.7864, allocations: 34.55 kB / 1.354 GB, free: 7.414 MB / 1.076 GB Notification: Performance of pre-optimization done (n=7): time 1.212e-06/0.7864, allocations: 0 / 1.354 GB, free: 7.414 MB / 1.076 GB Notification: Performance of matching and sorting (n=11): time 0.0006887/0.7871, allocations: 370.6 kB / 1.355 GB, free: 7 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.767e-05/0.7872, allocations: 51.41 kB / 1.355 GB, free: 6.938 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.709e-05/0.7872, allocations: 97.86 kB / 1.355 GB, free: 6.832 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.503e-05/0.7873, allocations: 25.7 kB / 1.355 GB, free: 6.801 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 2.737e-05/0.7873, allocations: 80.14 kB / 1.355 GB, free: 6.719 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 4.044e-05/0.7873, allocations: 43.44 kB / 1.355 GB, free: 6.676 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.453e-05/0.7874, allocations: 37.64 kB / 1.355 GB, free: 6.633 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 9.153e-05/0.7875, allocations: 318.9 kB / 1.355 GB, free: 6.312 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.133e-05/0.7875, allocations: 23.98 kB / 1.355 GB, free: 6.289 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.853e-05/0.7876, allocations: 37.64 kB / 1.355 GB, free: 6.246 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.485e-05/0.7877, allocations: 61.78 kB / 1.355 GB, free: 6.18 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.7877, allocations: 0 / 1.355 GB, free: 6.18 MB / 1.076 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001329/0.7878, allocations: 101.5 kB / 1.355 GB, free: 6.074 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.7878, allocations: 6.031 kB / 1.355 GB, free: 6.07 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.147e-06/0.7879, allocations: 0 / 1.355 GB, free: 6.07 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.7879, allocations: 8 kB / 1.355 GB, free: 6.062 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001067/0.788, allocations: 19.94 kB / 1.355 GB, free: 6.043 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.937e-06/0.788, allocations: 0 / 1.355 GB, free: 6.043 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.255e-05/0.788, allocations: 8 kB / 1.355 GB, free: 6.035 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.731e-06/0.7881, allocations: 0 / 1.355 GB, free: 6.035 MB / 1.076 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.5e-05/0.7881, allocations: 127.5 kB / 1.356 GB, free: 5.902 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.503e-05/0.7882, allocations: 4 kB / 1.356 GB, free: 5.898 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.315e-05/0.7882, allocations: 11.97 kB / 1.356 GB, free: 5.887 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.7882, allocations: 0 / 1.356 GB, free: 5.887 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.7882, allocations: 4 kB / 1.356 GB, free: 5.883 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 6.398e-05/0.7883, allocations: 89 kB / 1.356 GB, free: 5.777 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.532e-05/0.7883, allocations: 3.938 kB / 1.356 GB, free: 5.773 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.503e-05/0.7884, allocations: 4 kB / 1.356 GB, free: 5.77 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.045e-05/0.7884, allocations: 11.98 kB / 1.356 GB, free: 5.758 MB / 1.076 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002292/0.7887, allocations: 169 kB / 1.356 GB, free: 5.586 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002457/0.7889, allocations: 290.6 kB / 1.356 GB, free: 5.285 MB / 1.076 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.689e-05/0.789, allocations: 28.03 kB / 1.356 GB, free: 5.258 MB / 1.076 GB Notification: Performance of sorting global known variables: time 2.671e-05/0.789, allocations: 83.22 kB / 1.356 GB, free: 5.176 MB / 1.076 GB Notification: Performance of Backend: time 2.8e-07/0.789, allocations: 0 / 1.356 GB, free: 5.176 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0004381/0.7894, allocations: 150 kB / 1.356 GB, free: 5.023 MB / 1.076 GB Notification: Performance of SimCode: time 0.0006075/0.7901, allocations: 0.7598 MB / 1.357 GB, free: 4.215 MB / 1.076 GB Notification: Performance of Templates: time 0.003528/0.7936, allocations: 1.21 MB / 1.358 GB, free: 3.004 MB / 1.076 GB make -j1 -f Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.makefile (rm -f Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.sim & ./Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1)