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.0008042/0.0008042, allocations: 85.94 kB / 15.06 MB, free: 1.09 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.0007766/0.0007767, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.382/1.382, allocations: 205.4 MB / 222.1 MB, free: 5.645 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.653/1.653, allocations: 292.7 MB / 0.5499 GB, free: 14.57 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.0005111/0.0005111, allocations: 14.44 kB / 0.6737 GB, free: 26.13 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2269/0.2274, allocations: 116.3 MB / 0.7873 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.001226/0.2287, allocations: 0.9976 MB / 0.7883 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.5858/0.8145, allocations: 133.5 MB / 0.9186 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.694e-05/0.8146, allocations: 1.5 kB / 0.9186 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.08e-05/0.8146, allocations: 1.688 kB / 0.9186 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.717e-05/0.8147, allocations: 10.17 kB / 0.9186 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002995/0.815, allocations: 76.83 kB / 0.9187 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.876e-05/0.815, allocations: 28.33 kB / 0.9187 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.861e-05/0.8151, allocations: 3.078 kB / 0.9187 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.943e-05/0.8151, allocations: 20.86 kB / 0.9187 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.718e-05/0.8152, allocations: 16.61 kB / 0.9187 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.098e-05/0.8152, allocations: 1.344 kB / 0.9187 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002278/0.8154, allocations: 73.67 kB / 0.9188 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.333e-05/0.8155, allocations: 8.094 kB / 0.9188 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002292/0.8157, allocations: 30.97 kB / 0.9188 GB, free: 21.86 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001071/0.8158, allocations: 45.31 kB / 0.9189 GB, free: 21.86 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.8158, allocations: 0.8438 kB / 0.9189 GB, free: 21.86 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.483e-06/0.8158, allocations: 0 / 0.9189 GB, free: 21.86 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.228e-06/0.8158, allocations: 0 / 0.9189 GB, free: 21.86 MB / 0.7325 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.0003154/0.8162, allocations: 344.7 kB / 0.9192 GB, free: 21.5 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.298e-05/0.8162, allocations: 9.094 kB / 0.9192 GB, free: 21.5 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001839/0.8164, allocations: 19.77 kB / 0.9192 GB, free: 21.49 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.005e-05/0.8165, allocations: 170.5 kB / 0.9194 GB, free: 21.29 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.197e-05/0.8165, allocations: 1.844 kB / 0.9194 GB, free: 21.29 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.228e-05/0.8165, allocations: 3.469 kB / 0.9194 GB, free: 21.29 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001082/0.8166, allocations: 52.05 kB / 0.9195 GB, free: 21.26 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.685e-06/0.8167, allocations: 4.516 kB / 0.9195 GB, free: 21.25 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.196e-05/0.8167, allocations: 4.125 kB / 0.9195 GB, free: 21.25 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/0.8167, allocations: 0.9375 kB / 0.9195 GB, free: 21.25 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.828e-05/0.8167, allocations: 16.81 kB / 0.9195 GB, free: 21.25 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001467/0.8169, allocations: 167.4 kB / 0.9196 GB, free: 21.06 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 7.952e-05/0.817, allocations: 51.97 kB / 0.9197 GB, free: 21.04 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.5e-05/0.817, allocations: 19.03 kB / 0.9197 GB, free: 21.03 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.175e-05/0.817, allocations: 1.641 kB / 0.9197 GB, free: 21.03 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.06e-05/0.8171, allocations: 36.47 kB / 0.9197 GB, free: 20.99 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=7): time 1.012e-06/0.8171, allocations: 0 / 0.9197 GB, free: 20.99 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11): time 0.0006421/0.8177, allocations: 373.5 kB / 0.9201 GB, free: 20.73 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.404e-05/0.8178, allocations: 57.77 kB / 0.9202 GB, free: 20.66 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.68e-05/0.8178, allocations: 95.92 kB / 0.9202 GB, free: 20.56 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.605e-05/0.8178, allocations: 29.61 kB / 0.9203 GB, free: 20.53 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 2.762e-05/0.8179, allocations: 82.83 kB / 0.9204 GB, free: 20.45 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.502e-05/0.8179, allocations: 43.83 kB / 0.9204 GB, free: 20.43 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.727e-06/0.8179, allocations: 0 / 0.9204 GB, free: 20.43 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 8.689e-05/0.818, allocations: 317.7 kB / 0.9207 GB, free: 20.11 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.465e-05/0.818, allocations: 19.22 kB / 0.9207 GB, free: 20.11 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.764e-05/0.8181, allocations: 34.12 kB / 0.9208 GB, free: 20.1 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.238e-05/0.8181, allocations: 26.19 kB / 0.9208 GB, free: 20.09 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.8181, allocations: 3.938 kB / 0.9208 GB, free: 20.09 MB / 0.7325 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001302/0.8183, allocations: 95.58 kB / 0.9209 GB, free: 20.05 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.8183, allocations: 6.125 kB / 0.9209 GB, free: 20.05 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/0.8183, allocations: 0.9688 kB / 0.9209 GB, free: 20.05 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.8183, allocations: 1 kB / 0.9209 GB, free: 20.05 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001127/0.8184, allocations: 22.95 kB / 0.9209 GB, free: 20.05 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.8185, allocations: 4.547 kB / 0.9209 GB, free: 20.05 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.953e-05/0.8185, allocations: 6.156 kB / 0.9209 GB, free: 20.05 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.743e-06/0.8185, allocations: 2.562 kB / 0.9209 GB, free: 20.05 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.912e-05/0.8186, allocations: 119.9 kB / 0.921 GB, free: 19.93 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.206e-05/0.8186, allocations: 2.656 kB / 0.921 GB, free: 19.93 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.311e-05/0.8186, allocations: 11.66 kB / 0.921 GB, free: 19.93 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.8186, allocations: 6.453 kB / 0.921 GB, free: 19.93 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.8187, allocations: 0.75 kB / 0.921 GB, free: 19.93 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.8187, allocations: 5 kB / 0.9211 GB, free: 19.92 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000109/0.8188, allocations: 172.2 kB / 0.9212 GB, free: 19.73 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.8188, allocations: 0 / 0.9212 GB, free: 19.73 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001141/0.8189, allocations: 23.27 kB / 0.9212 GB, free: 19.73 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.8189, allocations: 7.422 kB / 0.9212 GB, free: 19.73 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.576e-06/0.8189, allocations: 4.906 kB / 0.9213 GB, free: 19.73 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.8189, allocations: 1.531 kB / 0.9213 GB, free: 19.73 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.8189, allocations: 1.781 kB / 0.9213 GB, free: 19.73 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001791/0.8191, allocations: 137.9 kB / 0.9214 GB, free: 19.66 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.537e-05/0.8192, allocations: 82.67 kB / 0.9215 GB, free: 19.57 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.422e-05/0.8192, allocations: 0.9062 kB / 0.9215 GB, free: 19.57 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.427e-05/0.8193, allocations: 6.844 kB / 0.9215 GB, free: 19.57 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.893e-05/0.8193, allocations: 9.406 kB / 0.9215 GB, free: 19.56 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.787e-06/0.8193, allocations: 6.75 kB / 0.9215 GB, free: 19.56 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 2.61e-05/0.8194, allocations: 76.25 kB / 0.9216 GB, free: 19.49 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8194, allocations: 0 / 0.9216 GB, free: 19.49 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0001839/0.8196, allocations: 16.41 kB / 0.9216 GB, free: 19.49 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.858e-05/0.8197, allocations: 99.58 kB / 0.9217 GB, free: 19.4 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001394/0.8198, allocations: 57.14 kB / 0.9217 GB, free: 19.4 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.185e-06/0.8198, allocations: 4.906 kB / 0.9217 GB, free: 19.39 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 4.102e-05/0.8199, allocations: 29.67 kB / 0.9218 GB, free: 19.39 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001875/0.8201, allocations: 12.52 kB / 0.9218 GB, free: 19.39 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005199/0.8206, allocations: 388.6 kB / 0.9221 GB, free: 19.11 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002127/0.8208, allocations: 0.6884 MB / 0.9228 GB, free: 18.42 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 6.428e-05/0.8209, allocations: 11.12 kB / 0.9228 GB, free: 18.41 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.361e-05/0.8209, allocations: 11.66 kB / 0.9228 GB, free: 18.41 MB / 0.7325 GB Notification: Performance of SimCode: time 2.21e-07/0.8209, allocations: 5.188 kB / 0.9228 GB, free: 18.4 MB / 0.7325 GB Notification: Performance of Templates: time 0.002287/0.8232, allocations: 0.583 MB / 0.9234 GB, free: 18.34 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: