Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") translateModel(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.001385/0.001385, allocations: 99 kB / 15.05 MB, free: 1.105 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.001633/0.001633, allocations: 177.3 kB / 15.95 MB, free: 216 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.618/1.618, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.688/1.688, allocations: 251.9 MB / 0.51 GB, free: 4.836 MB / 414.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.0009115/0.0009117, allocations: 15.94 kB / 0.6241 GB, free: 1.176 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6263/0.6273, allocations: 106.3 MB / 0.728 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.001244/0.6285, allocations: 0.9834 MB / 0.7289 GB, free: 10.44 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1456/0.7742, allocations: 124.3 MB / 0.8503 GB, free: 13.82 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.617e-05/0.7743, allocations: 0 / 0.8503 GB, free: 13.82 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 1.65e-05/0.7743, allocations: 0 / 0.8503 GB, free: 13.82 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 4.631e-05/0.7744, allocations: 3.984 kB / 0.8503 GB, free: 13.81 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003748/0.7747, allocations: 79.73 kB / 0.8504 GB, free: 13.73 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 6.452e-05/0.7748, allocations: 27.95 kB / 0.8504 GB, free: 13.71 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 5.274e-05/0.7749, allocations: 7.938 kB / 0.8504 GB, free: 13.7 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 3.887e-05/0.7749, allocations: 12 kB / 0.8504 GB, free: 13.69 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 6.433e-05/0.775, allocations: 19.91 kB / 0.8505 GB, free: 13.67 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 1.251e-05/0.775, allocations: 0 / 0.8505 GB, free: 13.67 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002647/0.7753, allocations: 79.81 kB / 0.8505 GB, free: 13.59 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 1.382e-05/0.7753, allocations: 11.98 kB / 0.8505 GB, free: 13.58 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 3.061e-05/0.7753, allocations: 29.7 kB / 0.8506 GB, free: 13.54 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.0001119/0.7755, allocations: 41.94 kB / 0.8506 GB, free: 13.5 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 2.245e-06/0.7755, allocations: 4 kB / 0.8506 GB, free: 13.5 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.482e-06/0.7755, allocations: 0 / 0.8506 GB, free: 13.5 MB / 0.67 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.7755, allocations: 0 / 0.8506 GB, free: 13.5 MB / 0.67 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.0003653/0.7759, allocations: 347.3 kB / 0.8509 GB, free: 13.11 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.7759, allocations: 8.031 kB / 0.851 GB, free: 13.11 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001931/0.7761, allocations: 11.95 kB / 0.851 GB, free: 13.09 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.608e-05/0.7762, allocations: 167 kB / 0.8511 GB, free: 12.89 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.138e-05/0.7762, allocations: 0 / 0.8511 GB, free: 12.89 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.925e-05/0.7763, allocations: 27.81 kB / 0.8511 GB, free: 12.86 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001179/0.7764, allocations: 49.67 kB / 0.8512 GB, free: 12.81 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.7764, allocations: 4 kB / 0.8512 GB, free: 12.8 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.227e-05/0.7764, allocations: 0 / 0.8512 GB, free: 12.8 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.261e-06/0.7764, allocations: 4 kB / 0.8512 GB, free: 12.8 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.138e-05/0.7765, allocations: 15.98 kB / 0.8512 GB, free: 12.79 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001884/0.7767, allocations: 169.6 kB / 0.8514 GB, free: 12.57 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 8.941e-05/0.7768, allocations: 50.5 kB / 0.8514 GB, free: 12.51 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 1.008e-05/0.7768, allocations: 4 kB / 0.8514 GB, free: 12.51 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.2e-05/0.7768, allocations: 30.56 kB / 0.8515 GB, free: 12.47 MB / 0.67 GB Notification: Performance of pre-optimization done (n=7): time 9.92e-07/0.7768, allocations: 0 / 0.8515 GB, free: 12.47 MB / 0.67 GB Notification: Performance of matching and sorting (n=11): time 0.0006953/0.7775, allocations: 374.2 kB / 0.8518 GB, free: 12.05 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.293e-05/0.7776, allocations: 51.41 kB / 0.8519 GB, free: 11.99 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.465e-05/0.7777, allocations: 105.8 kB / 0.852 GB, free: 11.88 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 1.825e-05/0.7777, allocations: 33.64 kB / 0.852 GB, free: 11.84 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 3.882e-05/0.7777, allocations: 80.14 kB / 0.8521 GB, free: 11.75 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 3.714e-05/0.7778, allocations: 35.45 kB / 0.8521 GB, free: 11.72 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.132e-06/0.7778, allocations: 8 kB / 0.8521 GB, free: 11.71 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001159/0.7779, allocations: 310.8 kB / 0.8524 GB, free: 11.4 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.499e-05/0.7779, allocations: 23.98 kB / 0.8524 GB, free: 11.38 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.459e-05/0.778, allocations: 37.77 kB / 0.8525 GB, free: 11.33 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.428e-05/0.7781, allocations: 28 kB / 0.8525 GB, free: 11.3 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.31e-07/0.7781, allocations: 0 / 0.8525 GB, free: 11.3 MB / 0.67 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001246/0.7782, allocations: 90.3 kB / 0.8526 GB, free: 11.21 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.7782, allocations: 6.5 kB / 0.8526 GB, free: 11.21 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.7782, allocations: 0 / 0.8526 GB, free: 11.21 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.7783, allocations: 7.938 kB / 0.8526 GB, free: 11.2 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001178/0.7784, allocations: 19.98 kB / 0.8526 GB, free: 11.18 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.928e-06/0.7784, allocations: 4 kB / 0.8526 GB, free: 11.18 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.552e-05/0.7784, allocations: 7.953 kB / 0.8526 GB, free: 11.17 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.153e-06/0.7784, allocations: 4 kB / 0.8526 GB, free: 11.16 MB / 0.67 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 7.677e-05/0.7785, allocations: 113.8 kB / 0.8527 GB, free: 11.04 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.35e-05/0.7785, allocations: 7.906 kB / 0.8528 GB, free: 11.04 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.913e-05/0.7786, allocations: 11.97 kB / 0.8528 GB, free: 11.02 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.758e-06/0.7786, allocations: 7.938 kB / 0.8528 GB, free: 11.01 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.7786, allocations: 3.984 kB / 0.8528 GB, free: 11.01 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.7786, allocations: 0 / 0.8528 GB, free: 11.01 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001215/0.7787, allocations: 169.6 kB / 0.8529 GB, free: 10.79 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.7788, allocations: 0 / 0.8529 GB, free: 10.79 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000116/0.7789, allocations: 23.98 kB / 0.853 GB, free: 10.77 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.7789, allocations: 4 kB / 0.853 GB, free: 10.77 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.685e-06/0.7789, allocations: 0 / 0.853 GB, free: 10.77 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.7789, allocations: 4 kB / 0.853 GB, free: 10.76 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.7789, allocations: 0 / 0.853 GB, free: 10.76 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001949/0.7791, allocations: 140.8 kB / 0.8531 GB, free: 10.61 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 6.541e-05/0.7792, allocations: 81.11 kB / 0.8532 GB, free: 10.51 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.583e-05/0.7792, allocations: 4 kB / 0.8532 GB, free: 10.5 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.455e-05/0.7793, allocations: 12.03 kB / 0.8532 GB, free: 10.49 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.866e-05/0.7793, allocations: 4 kB / 0.8532 GB, free: 10.49 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.392e-06/0.7793, allocations: 0 / 0.8532 GB, free: 10.49 MB / 0.67 GB Notification: Performance of sorting global known variables: time 3.448e-05/0.7794, allocations: 87.27 kB / 0.8533 GB, free: 10.4 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7794, allocations: 0 / 0.8533 GB, free: 10.4 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0001981/0.7796, allocations: 12 kB / 0.8533 GB, free: 10.39 MB / 0.67 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 9.649e-05/0.7797, allocations: 103.2 kB / 0.8534 GB, free: 10.28 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0001235/0.7798, allocations: 63.92 kB / 0.8535 GB, free: 10.21 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.7798, allocations: 4.094 kB / 0.8535 GB, free: 10.21 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 3.878e-05/0.7799, allocations: 31.92 kB / 0.8535 GB, free: 10.18 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001667/0.78, allocations: 7.047 kB / 0.8535 GB, free: 10.18 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006633/0.7807, allocations: 382.8 kB / 0.8539 GB, free: 9.781 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000249/0.781, allocations: 0.6887 MB / 0.8545 GB, free: 9.066 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 6.976e-05/0.7811, allocations: 12.66 kB / 0.8545 GB, free: 9.051 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.489e-05/0.7811, allocations: 11.44 kB / 0.8546 GB, free: 9.043 MB / 0.67 GB Notification: Performance of SimCode: time 2.1e-07/0.7811, allocations: 0 / 0.8546 GB, free: 9.043 MB / 0.67 GB Notification: Performance of Templates: time 0.00241/0.7835, allocations: 0.5847 MB / 0.8551 GB, free: 8.465 MB / 0.67 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.sim & ./Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1) Environment - environmentSimulation: