Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") translateModel(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001165/0.001165, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001196/0.001196, allocations: 193.4 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.436/1.436, allocations: 205.1 MB / 222.4 MB, free: 4.555 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.772/1.772, allocations: 292.3 MB / 0.5489 GB, free: 12.82 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00159/0.00159, allocations: 71.45 kB / 0.6715 GB, free: 26.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2576/0.2592, allocations: 114.5 MB / 0.7834 GB, free: 13.47 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.002417/0.2617, allocations: 1.27 MB / 0.7846 GB, free: 12.19 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.7489/1.011, allocations: 147 MB / 0.9282 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.65e-05/1.011, allocations: 0 / 0.9282 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.058e-05/1.011, allocations: 1.547 kB / 0.9282 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.507e-05/1.011, allocations: 8.688 kB / 0.9282 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000402/1.011, allocations: 94.14 kB / 0.9283 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.903e-05/1.011, allocations: 31.7 kB / 0.9283 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.431e-05/1.011, allocations: 14.61 kB / 0.9283 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.483e-05/1.011, allocations: 15.89 kB / 0.9283 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.195e-05/1.011, allocations: 15.86 kB / 0.9283 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.263e-05/1.011, allocations: 2.812 kB / 0.9283 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002488/1.012, allocations: 76.52 kB / 0.9284 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.563e-05/1.012, allocations: 10 kB / 0.9284 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.249e-05/1.012, allocations: 18.88 kB / 0.9284 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001666/1.012, allocations: 64.45 kB / 0.9285 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/1.012, allocations: 1.203 kB / 0.9285 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.753e-06/1.012, allocations: 0 / 0.9285 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.784e-06/1.012, allocations: 0 / 0.9285 GB, free: 3.492 MB / 0.7169 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.0006/1.013, allocations: 352.1 kB / 0.9288 GB, free: 19.13 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/1.013, allocations: 10.62 kB / 0.9288 GB, free: 19.13 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002016/1.013, allocations: 18.84 kB / 0.9289 GB, free: 19.12 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001226/1.013, allocations: 167.9 kB / 0.929 GB, free: 18.93 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.507e-05/1.013, allocations: 9.344 kB / 0.929 GB, free: 18.92 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.706e-05/1.013, allocations: 2.844 kB / 0.929 GB, free: 18.92 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001257/1.013, allocations: 53.31 kB / 0.9291 GB, free: 18.89 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.684e-06/1.013, allocations: 1.125 kB / 0.9291 GB, free: 18.89 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/1.013, allocations: 5.156 kB / 0.9291 GB, free: 18.88 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/1.013, allocations: 0.75 kB / 0.9291 GB, free: 18.88 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.416e-05/1.013, allocations: 16.75 kB / 0.9291 GB, free: 18.88 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00018/1.013, allocations: 171.5 kB / 0.9293 GB, free: 18.69 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 8.975e-05/1.014, allocations: 54.98 kB / 0.9293 GB, free: 18.66 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.761e-05/1.014, allocations: 21.81 kB / 0.9293 GB, free: 18.65 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.115e-05/1.014, allocations: 0 / 0.9293 GB, free: 18.65 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.642e-05/1.014, allocations: 37.34 kB / 0.9294 GB, free: 18.61 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=7): time 8.92e-07/1.014, allocations: 0 / 0.9294 GB, free: 18.61 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11): time 0.0007638/1.014, allocations: 375.7 kB / 0.9297 GB, free: 18.35 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.516e-05/1.014, allocations: 51.41 kB / 0.9298 GB, free: 18.29 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.248e-05/1.015, allocations: 93.84 kB / 0.9299 GB, free: 18.19 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.736e-05/1.015, allocations: 29.33 kB / 0.9299 GB, free: 18.16 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.079e-05/1.015, allocations: 82.77 kB / 0.93 GB, free: 18.07 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.953e-05/1.015, allocations: 33.27 kB / 0.93 GB, free: 18.05 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.086e-05/1.015, allocations: 32.3 kB / 0.93 GB, free: 18.04 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001197/1.015, allocations: 321.1 kB / 0.9303 GB, free: 17.71 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.834e-05/1.015, allocations: 19.94 kB / 0.9304 GB, free: 17.71 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.606e-05/1.015, allocations: 41.7 kB / 0.9304 GB, free: 17.7 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.145e-05/1.015, allocations: 56.59 kB / 0.9305 GB, free: 17.68 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/1.015, allocations: 0.7031 kB / 0.9305 GB, free: 17.68 MB / 0.7325 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001317/1.015, allocations: 101 kB / 0.9306 GB, free: 17.64 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/1.015, allocations: 6.047 kB / 0.9306 GB, free: 17.64 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/1.015, allocations: 4 kB / 0.9306 GB, free: 17.63 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/1.015, allocations: 2.625 kB / 0.9306 GB, free: 17.63 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001208/1.015, allocations: 21.09 kB / 0.9306 GB, free: 17.63 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/1.015, allocations: 0 / 0.9306 GB, free: 17.63 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.381e-05/1.015, allocations: 5.875 kB / 0.9306 GB, free: 17.63 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.305e-06/1.015, allocations: 3.188 kB / 0.9306 GB, free: 17.63 MB / 0.7325 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 8.013e-05/1.015, allocations: 122.3 kB / 0.9307 GB, free: 17.51 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.367e-05/1.015, allocations: 2.625 kB / 0.9307 GB, free: 17.51 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.69e-05/1.016, allocations: 13.14 kB / 0.9307 GB, free: 17.51 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/1.016, allocations: 6.625 kB / 0.9307 GB, free: 17.5 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/1.016, allocations: 0.6562 kB / 0.9307 GB, free: 17.5 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/1.016, allocations: 0.7969 kB / 0.9307 GB, free: 17.5 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001345/1.016, allocations: 176 kB / 0.9309 GB, free: 17.31 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/1.016, allocations: 0 / 0.9309 GB, free: 17.31 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001215/1.016, allocations: 21.19 kB / 0.9309 GB, free: 17.31 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.634e-06/1.016, allocations: 2.047 kB / 0.9309 GB, free: 17.31 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.436e-06/1.016, allocations: 2.625 kB / 0.9309 GB, free: 17.31 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/1.016, allocations: 0 / 0.9309 GB, free: 17.31 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/1.016, allocations: 0 / 0.9309 GB, free: 17.31 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000189/1.016, allocations: 148.3 kB / 0.9311 GB, free: 17.23 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.881e-05/1.016, allocations: 81.16 kB / 0.9311 GB, free: 17.14 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.909e-05/1.016, allocations: 7.891 kB / 0.9312 GB, free: 17.14 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.446e-05/1.016, allocations: 3.469 kB / 0.9312 GB, free: 17.14 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.965e-05/1.016, allocations: 9.422 kB / 0.9312 GB, free: 17.14 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.117e-06/1.016, allocations: 4.031 kB / 0.9312 GB, free: 17.14 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.227e-05/1.016, allocations: 76.47 kB / 0.9312 GB, free: 17.06 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.11e-07/1.016, allocations: 4.094 kB / 0.9312 GB, free: 17.06 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0001962/1.017, allocations: 16.25 kB / 0.9313 GB, free: 17.06 MB / 0.7325 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.000106/1.017, allocations: 106.4 kB / 0.9314 GB, free: 16.96 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001408/1.017, allocations: 59.56 kB / 0.9314 GB, free: 16.96 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/1.017, allocations: 0 / 0.9314 GB, free: 16.96 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 3.645e-05/1.017, allocations: 30.09 kB / 0.9315 GB, free: 16.96 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002414/1.017, allocations: 15.36 kB / 0.9315 GB, free: 16.96 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005137/1.018, allocations: 332.2 kB / 0.9318 GB, free: 16.7 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000267/1.018, allocations: 0.685 MB / 0.9325 GB, free: 16 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 6.419e-05/1.018, allocations: 10.36 kB / 0.9325 GB, free: 16 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.723e-05/1.018, allocations: 12.69 kB / 0.9325 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of SimCode: time 2e-07/1.018, allocations: 0 / 0.9325 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of Templates: time 0.002817/1.021, allocations: 0.6312 MB / 0.9331 GB, free: 15.93 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.makefile (rm -f Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; mkfifo Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe >> ../files/Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.sim & ./Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1)