Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001595/0.001595, allocations: 114.5 kB / 16.42 MB, free: 6.496 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.001727/0.001727, allocations: 188.3 kB / 17.35 MB, free: 5.758 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.308/1.308, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.424/2.424, allocations: 437 MB / 0.7112 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 63.89 kB / 1.019 GB, free: 9.441 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6952/0.6965, allocations: 151.6 MB / 1.167 GB, free: 3.859 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.001953/0.6985, allocations: 1.28 MB / 1.169 GB, free: 2.57 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.1405/0.839, allocations: 147 MB / 1.312 GB, free: 15 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.175e-05/0.839, allocations: 0 / 1.312 GB, free: 15 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.401e-05/0.8391, allocations: 3.984 kB / 1.312 GB, free: 14.99 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 4.728e-05/0.8391, allocations: 7.938 kB / 1.312 GB, free: 14.98 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004258/0.8396, allocations: 95.56 kB / 1.312 GB, free: 14.89 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 7.506e-05/0.8397, allocations: 35.84 kB / 1.312 GB, free: 14.86 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 3.297e-05/0.8397, allocations: 3.938 kB / 1.312 GB, free: 14.85 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 4.21e-05/0.8398, allocations: 15.98 kB / 1.312 GB, free: 14.84 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 5.544e-05/0.8398, allocations: 19.91 kB / 1.312 GB, free: 14.82 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.061e-05/0.8398, allocations: 0 / 1.312 GB, free: 14.82 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002577/0.8401, allocations: 75.84 kB / 1.312 GB, free: 14.74 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.729e-05/0.8401, allocations: 15.97 kB / 1.312 GB, free: 14.73 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.696e-05/0.8402, allocations: 15.94 kB / 1.312 GB, free: 14.71 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001547/0.8403, allocations: 63.39 kB / 1.312 GB, free: 14.65 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.8403, allocations: 0 / 1.312 GB, free: 14.65 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.273e-06/0.8403, allocations: 3.938 kB / 1.312 GB, free: 14.65 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.699e-06/0.8404, allocations: 4 kB / 1.312 GB, free: 14.64 MB / 1.045 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.0003729/0.8407, allocations: 348.3 kB / 1.313 GB, free: 14.26 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.8408, allocations: 12.88 kB / 1.313 GB, free: 14.25 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001976/0.841, allocations: 16.92 kB / 1.313 GB, free: 14.23 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.005e-05/0.8411, allocations: 160.4 kB / 1.313 GB, free: 14.04 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.474e-05/0.8411, allocations: 7.938 kB / 1.313 GB, free: 14.03 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.603e-05/0.8411, allocations: 15.89 kB / 1.313 GB, free: 14.01 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001188/0.8413, allocations: 57.64 kB / 1.313 GB, free: 13.95 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.8413, allocations: 0 / 1.313 GB, free: 13.95 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.102e-05/0.8413, allocations: 0 / 1.313 GB, free: 13.95 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.8413, allocations: 0 / 1.313 GB, free: 13.95 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.553e-05/0.8414, allocations: 15.98 kB / 1.313 GB, free: 13.93 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000157/0.8415, allocations: 169.6 kB / 1.313 GB, free: 13.72 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 9.482e-05/0.8416, allocations: 58.48 kB / 1.313 GB, free: 13.65 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.616e-05/0.8417, allocations: 8.859 kB / 1.313 GB, free: 13.64 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.519e-05/0.8417, allocations: 4 kB / 1.313 GB, free: 13.64 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.388e-05/0.8417, allocations: 38.5 kB / 1.313 GB, free: 13.59 MB / 1.045 GB Notification: Performance of pre-optimization done (n=7): time 1.262e-06/0.8417, allocations: 0 / 1.313 GB, free: 13.59 MB / 1.045 GB Notification: Performance of matching and sorting (n=11): time 0.0006958/0.8424, allocations: 374.4 kB / 1.314 GB, free: 13.17 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.412e-05/0.8424, allocations: 51.41 kB / 1.314 GB, free: 13.11 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.541e-05/0.8425, allocations: 93.86 kB / 1.314 GB, free: 13.01 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.667e-05/0.8425, allocations: 29.7 kB / 1.314 GB, free: 12.97 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 2.562e-05/0.8426, allocations: 80.14 kB / 1.314 GB, free: 12.89 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.934e-05/0.8426, allocations: 43.58 kB / 1.314 GB, free: 12.85 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.128e-05/0.8427, allocations: 29.84 kB / 1.314 GB, free: 12.81 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 9.289e-05/0.8428, allocations: 326.8 kB / 1.314 GB, free: 12.48 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.469e-05/0.8428, allocations: 15.94 kB / 1.314 GB, free: 12.47 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.549e-05/0.8428, allocations: 37.7 kB / 1.314 GB, free: 12.43 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.34e-05/0.8429, allocations: 58.25 kB / 1.314 GB, free: 12.36 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.8429, allocations: 0 / 1.314 GB, free: 12.36 MB / 1.045 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001333/0.8431, allocations: 97.59 kB / 1.314 GB, free: 12.26 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.8431, allocations: 4 kB / 1.314 GB, free: 12.26 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.8431, allocations: 4 kB / 1.314 GB, free: 12.25 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.8431, allocations: 0 / 1.314 GB, free: 12.25 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001192/0.8433, allocations: 31.98 kB / 1.315 GB, free: 12.22 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-06/0.8433, allocations: 3.938 kB / 1.315 GB, free: 12.22 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.397e-05/0.8433, allocations: 4 kB / 1.315 GB, free: 12.21 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-06/0.8433, allocations: 0 / 1.315 GB, free: 12.21 MB / 1.045 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.393e-05/0.8434, allocations: 121.7 kB / 1.315 GB, free: 12.09 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.875e-05/0.8434, allocations: 11.95 kB / 1.315 GB, free: 12.07 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.555e-05/0.8435, allocations: 11.95 kB / 1.315 GB, free: 12.06 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.8435, allocations: 7.938 kB / 1.315 GB, free: 12.05 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.8435, allocations: 0 / 1.315 GB, free: 12.05 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 6.106e-05/0.8436, allocations: 81.11 kB / 1.315 GB, free: 11.95 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.801e-05/0.8436, allocations: 11.92 kB / 1.315 GB, free: 11.94 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.637e-05/0.8437, allocations: 4 kB / 1.315 GB, free: 11.94 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.897e-05/0.8437, allocations: 4 kB / 1.315 GB, free: 11.93 MB / 1.045 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002395/0.8439, allocations: 172.9 kB / 1.315 GB, free: 11.76 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000239/0.8442, allocations: 298.8 kB / 1.315 GB, free: 11.45 MB / 1.045 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.639e-05/0.8442, allocations: 28.02 kB / 1.315 GB, free: 11.42 MB / 1.045 GB Notification: Performance of sorting global known variables: time 2.843e-05/0.8443, allocations: 83.22 kB / 1.315 GB, free: 11.34 MB / 1.045 GB Notification: Performance of Backend: time 3.01e-07/0.8443, allocations: 0 / 1.315 GB, free: 11.34 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0004445/0.8447, allocations: 146.2 kB / 1.315 GB, free: 11.19 MB / 1.045 GB Notification: Performance of SimCode: time 0.0006645/0.8454, allocations: 0.7478 MB / 1.316 GB, free: 10.39 MB / 1.045 GB Notification: Performance of Templates: time 0.003567/0.849, allocations: 1.224 MB / 1.317 GB, free: 9.176 MB / 1.045 GB make -j1 -f Buildings_10_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.makefile (rm -f Buildings_10_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; mkfifo Buildings_10_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe >> ../files/Buildings_10_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.sim & ./Buildings_10_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1)