Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.344/2.344, allocations: 252.6 MB / 265.2 MB, free: 5.742 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002007/0.002007, allocations: 185.5 kB / 324.5 MB, free: 14.41 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.968/1.968, allocations: 205.4 MB / 0.5754 GB, free: 10.48 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001103/0.001103, allocations: 90.45 kB / 0.6797 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.729e-05/4.747e-05, allocations: 7.984 kB / 0.7911 GB, free: 96.62 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2205/0.2205, allocations: 106.2 MB / 0.8949 GB, free: 6.285 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 14.29/14.51, allocations: 4.605 GB / 5.5 GB, free: 23.16 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002845/14.51, allocations: 75.95 kB / 5.5 GB, free: 23.08 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.7774/15.29, allocations: 36.49 MB / 5.536 GB, free: 298.5 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.673e-06/15.29, allocations: 0 / 5.536 GB, free: 298.5 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 6.492e-06/15.29, allocations: 1.562 kB / 5.536 GB, free: 298.5 MB / 0.8698 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.0003749/15.29, allocations: 353.2 kB / 5.536 GB, free: 298.2 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.919e-05/15.29, allocations: 8.594 kB / 5.536 GB, free: 298.2 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002424/15.29, allocations: 10.91 kB / 5.536 GB, free: 298.2 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.143e-05/15.29, allocations: 162.3 kB / 5.536 GB, free: 298 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.787e-05/15.29, allocations: 4.719 kB / 5.536 GB, free: 298 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.151e-05/15.29, allocations: 11.33 kB / 5.536 GB, free: 298 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001489/15.29, allocations: 52.38 kB / 5.536 GB, free: 297.9 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/15.29, allocations: 0 / 5.536 GB, free: 297.9 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.534e-05/15.29, allocations: 0.6094 kB / 5.536 GB, free: 297.9 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/15.29, allocations: 1.922 kB / 5.536 GB, free: 297.9 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.5e-05/15.29, allocations: 18.5 kB / 5.536 GB, free: 297.9 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001849/15.29, allocations: 170 kB / 5.536 GB, free: 297.8 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001157/15.29, allocations: 49.36 kB / 5.536 GB, free: 297.7 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.991e-05/15.29, allocations: 14.11 kB / 5.536 GB, free: 297.7 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.625e-05/15.29, allocations: 0.8125 kB / 5.536 GB, free: 297.7 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.707e-05/15.29, allocations: 39.91 kB / 5.536 GB, free: 297.7 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=7): time 1.613e-06/15.29, allocations: 0 / 5.536 GB, free: 297.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=11): time 0.0009122/15.29, allocations: 358.3 kB / 5.537 GB, free: 297.4 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.956e-05/15.29, allocations: 56.22 kB / 5.537 GB, free: 297.4 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.363e-05/15.29, allocations: 89.45 kB / 5.537 GB, free: 297.3 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.783e-05/15.29, allocations: 27.33 kB / 5.537 GB, free: 297.2 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 1.773e-05/15.29, allocations: 82.45 kB / 5.537 GB, free: 297.2 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 4.952e-05/15.29, allocations: 42 kB / 5.537 GB, free: 297.1 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.594e-06/15.29, allocations: 6.875 kB / 5.537 GB, free: 297.1 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 6.058e-05/15.29, allocations: 326.1 kB / 5.537 GB, free: 296.8 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.058e-05/15.29, allocations: 14.94 kB / 5.537 GB, free: 296.8 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.934e-05/15.29, allocations: 35.47 kB / 5.537 GB, free: 296.8 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.292e-05/15.29, allocations: 26.94 kB / 5.537 GB, free: 296.8 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/15.29, allocations: 0 / 5.537 GB, free: 296.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001981/15.29, allocations: 87.89 kB / 5.538 GB, free: 296.8 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/15.29, allocations: 4.656 kB / 5.538 GB, free: 296.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/15.29, allocations: 1.25 kB / 5.538 GB, free: 296.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/15.29, allocations: 5.531 kB / 5.538 GB, free: 296.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002069/15.29, allocations: 22.31 kB / 5.538 GB, free: 296.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.408e-06/15.29, allocations: 5.578 kB / 5.538 GB, free: 296.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.614e-05/15.29, allocations: 5.312 kB / 5.538 GB, free: 296.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.342e-05/15.29, allocations: 5.469 kB / 5.538 GB, free: 296.8 MB / 0.8698 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 () * 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.928e-05/15.29, allocations: 111.8 kB / 5.538 GB, free: 296.7 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.206e-05/15.29, allocations: 11.69 kB / 5.538 GB, free: 296.7 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.197e-05/15.29, allocations: 13.14 kB / 5.538 GB, free: 296.7 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/15.29, allocations: 3.812 kB / 5.538 GB, free: 296.7 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.104e-06/15.29, allocations: 1.922 kB / 5.538 GB, free: 296.7 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/15.29, allocations: 0.75 kB / 5.538 GB, free: 296.7 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001426/15.29, allocations: 178.6 kB / 5.538 GB, free: 296.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/15.29, allocations: 0.7031 kB / 5.538 GB, free: 296.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002357/15.29, allocations: 21.66 kB / 5.538 GB, free: 296.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/15.29, allocations: 3.906 kB / 5.538 GB, free: 296.5 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.339e-05/15.29, allocations: 2.438 kB / 5.538 GB, free: 296.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/15.29, allocations: 1.781 kB / 5.538 GB, free: 296.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/15.29, allocations: 0 / 5.538 GB, free: 296.5 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002733/15.29, allocations: 130.2 kB / 5.538 GB, free: 296.4 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.291e-05/15.29, allocations: 89.3 kB / 5.538 GB, free: 296.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.066e-05/15.29, allocations: 2.594 kB / 5.538 GB, free: 296.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001367/15.29, allocations: 2.891 kB / 5.538 GB, free: 296.3 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.704e-05/15.29, allocations: 7.969 kB / 5.538 GB, free: 296.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.385e-05/15.29, allocations: 9.188 kB / 5.538 GB, free: 296.3 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 2.305e-05/15.29, allocations: 79.25 kB / 5.538 GB, free: 296.2 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4.01e-07/15.29, allocations: 0 / 5.538 GB, free: 296.2 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0004082/15.29, allocations: 50.62 kB / 5.538 GB, free: 296.2 MB / 0.8698 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 () * 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 0.001001/15.29, allocations: 0.577 MB / 5.539 GB, free: 296 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002123/15.29, allocations: 52.7 kB / 5.539 GB, free: 296 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/15.29, allocations: 0 / 5.539 GB, free: 296 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 6.821e-05/15.29, allocations: 29.34 kB / 5.539 GB, free: 296 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000198/15.29, allocations: 10.41 kB / 5.539 GB, free: 296 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006806/15.29, allocations: 292.8 kB / 5.539 GB, free: 295.8 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001386/15.29, allocations: 0.6935 MB / 5.54 GB, free: 295.1 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0001149/15.29, allocations: 9.141 kB / 5.54 GB, free: 295.1 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.334e-05/15.29, allocations: 12.06 kB / 5.54 GB, free: 295.1 MB / 0.8698 GB Notification: Performance of SimCode: time 9.81e-07/15.29, allocations: 5.312 kB / 5.54 GB, free: 295.1 MB / 0.8698 GB Notification: Performance of Templates: time 0.02448/15.32, allocations: 9.756 MB / 5.549 GB, free: 294.2 MB / 0.8698 GB