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.0009168/0.0009171, allocations: 91.53 kB / 15.06 MB, free: 1.098 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.0008525/0.0008525, allocations: 172.7 kB / 15.95 MB, free: 208 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.595/1.595, allocations: 205.4 MB / 222.1 MB, free: 5.641 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.571/1.571, allocations: 252 MB / 0.5102 GB, free: 4.816 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.000579/0.000579, allocations: 16 kB / 0.6243 GB, free: 1.148 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5729/0.5735, allocations: 106.3 MB / 0.7281 GB, free: 11.47 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.00143/0.575, allocations: 0.9982 MB / 0.7291 GB, free: 10.46 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1627/0.7378, allocations: 133.5 MB / 0.8594 GB, free: 4.605 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.374e-05/0.7378, allocations: 0 / 0.8594 GB, free: 4.605 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 1.686e-05/0.7379, allocations: 4 kB / 0.8594 GB, free: 4.602 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 6.644e-05/0.7379, allocations: 7.922 kB / 0.8594 GB, free: 4.594 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003513/0.7383, allocations: 87.56 kB / 0.8595 GB, free: 4.508 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 6.699e-05/0.7384, allocations: 27.86 kB / 0.8596 GB, free: 4.48 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 5.243e-05/0.7384, allocations: 0 / 0.8596 GB, free: 4.48 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 4.912e-05/0.7385, allocations: 12 kB / 0.8596 GB, free: 4.469 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 7.242e-05/0.7386, allocations: 19.91 kB / 0.8596 GB, free: 4.449 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 1.378e-05/0.7386, allocations: 0 / 0.8596 GB, free: 4.449 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002428/0.7388, allocations: 75.81 kB / 0.8597 GB, free: 4.375 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 1.441e-05/0.7389, allocations: 8 kB / 0.8597 GB, free: 4.367 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 2.792e-05/0.7389, allocations: 29.7 kB / 0.8597 GB, free: 4.332 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.0001193/0.739, allocations: 45.92 kB / 0.8597 GB, free: 4.289 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.739, allocations: 0 / 0.8597 GB, free: 4.289 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.272e-06/0.739, allocations: 0 / 0.8597 GB, free: 4.289 MB / 0.67 GB Notification: Performance of Transformations before backend: time 3.948e-06/0.7391, allocations: 0 / 0.8597 GB, free: 4.289 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.0003917/0.7395, allocations: 343.3 kB / 0.8601 GB, free: 3.906 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.7395, allocations: 8.031 kB / 0.8601 GB, free: 3.898 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001903/0.7397, allocations: 15.95 kB / 0.8601 GB, free: 3.883 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001187/0.7398, allocations: 170.9 kB / 0.8603 GB, free: 3.676 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.54e-05/0.7398, allocations: 4 kB / 0.8603 GB, free: 3.672 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.755e-05/0.7399, allocations: 15.89 kB / 0.8603 GB, free: 3.656 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001249/0.74, allocations: 41.69 kB / 0.8603 GB, free: 3.609 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.74, allocations: 0 / 0.8603 GB, free: 3.609 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.888e-05/0.7401, allocations: 8 kB / 0.8603 GB, free: 3.602 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-06/0.7401, allocations: 3.938 kB / 0.8603 GB, free: 3.598 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.336e-05/0.7401, allocations: 11.98 kB / 0.8603 GB, free: 3.586 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001635/0.7403, allocations: 173.6 kB / 0.8605 GB, free: 3.367 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 9.887e-05/0.7404, allocations: 50.5 kB / 0.8606 GB, free: 3.309 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.837e-05/0.7404, allocations: 17.09 kB / 0.8606 GB, free: 3.289 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 9.368e-06/0.7404, allocations: 0 / 0.8606 GB, free: 3.289 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.781e-05/0.7405, allocations: 34.55 kB / 0.8606 GB, free: 3.246 MB / 0.67 GB Notification: Performance of pre-optimization done (n=7): time 7.61e-07/0.7405, allocations: 0 / 0.8606 GB, free: 3.246 MB / 0.67 GB Notification: Performance of matching and sorting (n=11): time 0.0007068/0.7412, allocations: 382.6 kB / 0.861 GB, free: 2.82 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.927e-05/0.7412, allocations: 59.36 kB / 0.861 GB, free: 2.75 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.186e-05/0.7413, allocations: 93.86 kB / 0.8611 GB, free: 2.648 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 1.562e-05/0.7413, allocations: 25.7 kB / 0.8611 GB, free: 2.617 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 2.75e-05/0.7414, allocations: 80.14 kB / 0.8612 GB, free: 2.535 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 3.911e-05/0.7414, allocations: 43.56 kB / 0.8613 GB, free: 2.492 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.097e-06/0.7414, allocations: 8 kB / 0.8613 GB, free: 2.484 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001432/0.7416, allocations: 318.8 kB / 0.8616 GB, free: 2.164 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.3e-05/0.7416, allocations: 16 kB / 0.8616 GB, free: 2.148 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.699e-05/0.7417, allocations: 35.83 kB / 0.8616 GB, free: 2.109 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.407e-05/0.7417, allocations: 20 kB / 0.8616 GB, free: 2.09 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.32e-07/0.7417, allocations: 3.938 kB / 0.8616 GB, free: 2.086 MB / 0.67 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001252/0.7419, allocations: 93.61 kB / 0.8617 GB, free: 1.988 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.7419, allocations: 4 kB / 0.8617 GB, free: 1.984 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.7419, allocations: 4 kB / 0.8617 GB, free: 1.98 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.7419, allocations: 4 kB / 0.8617 GB, free: 1.977 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001124/0.742, allocations: 16 kB / 0.8618 GB, free: 1.961 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.742, allocations: 4 kB / 0.8618 GB, free: 1.957 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.959e-05/0.7421, allocations: 11.94 kB / 0.8618 GB, free: 1.945 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.703e-06/0.7421, allocations: 4 kB / 0.8618 GB, free: 1.941 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.711e-05/0.7422, allocations: 113.8 kB / 0.8619 GB, free: 1.82 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.357e-05/0.7422, allocations: 7.906 kB / 0.8619 GB, free: 1.812 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.828e-05/0.7422, allocations: 15.97 kB / 0.8619 GB, free: 1.793 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.7423, allocations: 4 kB / 0.8619 GB, free: 1.789 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.7423, allocations: 4 kB / 0.8619 GB, free: 1.785 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.7423, allocations: 0 / 0.8619 GB, free: 1.785 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001417/0.7424, allocations: 173.6 kB / 0.8621 GB, free: 1.566 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.7424, allocations: 4 kB / 0.8621 GB, free: 1.562 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001112/0.7425, allocations: 23.92 kB / 0.8621 GB, free: 1.539 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.7426, allocations: 3.984 kB / 0.8621 GB, free: 1.535 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.386e-06/0.7426, allocations: 0 / 0.8621 GB, free: 1.535 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.7426, allocations: 4 kB / 0.8621 GB, free: 1.531 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.7426, allocations: 0 / 0.8621 GB, free: 1.531 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002006/0.7428, allocations: 140.8 kB / 0.8622 GB, free: 1.375 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 6.972e-05/0.7429, allocations: 85.14 kB / 0.8623 GB, free: 1.273 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.595e-05/0.7429, allocations: 4 kB / 0.8623 GB, free: 1.27 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.576e-05/0.743, allocations: 4 kB / 0.8623 GB, free: 1.266 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.09e-05/0.743, allocations: 7.984 kB / 0.8623 GB, free: 1.258 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.836e-06/0.743, allocations: 4 kB / 0.8623 GB, free: 1.254 MB / 0.67 GB Notification: Performance of sorting global known variables: time 4.106e-05/0.7431, allocations: 83.28 kB / 0.8624 GB, free: 1.172 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7431, allocations: 0 / 0.8624 GB, free: 1.172 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0001956/0.7433, allocations: 16 kB / 0.8624 GB, free: 1.156 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.812e-05/0.7434, allocations: 95.25 kB / 0.8625 GB, free: 1.051 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0001378/0.7435, allocations: 59.91 kB / 0.8626 GB, free: 0.9922 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.7435, allocations: 0 / 0.8626 GB, free: 0.9922 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 3.895e-05/0.7436, allocations: 31.88 kB / 0.8626 GB, free: 0.9609 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002092/0.7438, allocations: 15.94 kB / 0.8626 GB, free: 0.9453 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005657/0.7444, allocations: 386.7 kB / 0.863 GB, free: 0.5469 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002419/0.7446, allocations: 0.6848 MB / 0.8637 GB, free: 15.84 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 7.454e-05/0.7447, allocations: 12.66 kB / 0.8637 GB, free: 15.82 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.502e-05/0.7447, allocations: 11.44 kB / 0.8637 GB, free: 15.81 MB / 0.6856 GB Notification: Performance of SimCode: time 2.31e-07/0.7447, allocations: 0 / 0.8637 GB, free: 15.81 MB / 0.6856 GB Notification: Performance of Templates: time 0.002638/0.7474, allocations: 0.5882 MB / 0.8643 GB, free: 15.23 MB / 0.6856 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: