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.557/2.557, allocations: 253.2 MB / 260.6 MB, free: 7.414 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.001569/0.001568, allocations: 178.5 kB / 319.9 MB, free: 3.082 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.13/2.13, allocations: 205.6 MB / 0.5708 GB, free: 15.26 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.001534/0.001534, allocations: 90.64 kB / 0.6751 GB, free: 4.621 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.543e-05/1.541e-05, allocations: 4 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1884/0.1884, allocations: 106.3 MB / 0.8887 GB, free: 11.85 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 14.08/14.27, allocations: 4.605 GB / 5.494 GB, free: 65.97 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002729/14.27, allocations: 80.58 kB / 5.494 GB, free: 65.93 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1153/14.39, allocations: 35.85 MB / 5.529 GB, free: 31.61 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.854e-06/14.39, allocations: 0 / 5.529 GB, free: 31.61 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 6.593e-06/14.39, allocations: 4 kB / 5.529 GB, free: 31.6 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.0003296/14.39, allocations: 346.4 kB / 5.529 GB, free: 31.22 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/14.39, allocations: 8.031 kB / 5.529 GB, free: 31.21 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002331/14.39, allocations: 8 kB / 5.529 GB, free: 31.2 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.302e-05/14.39, allocations: 159.1 kB / 5.529 GB, free: 31.01 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.378e-05/14.39, allocations: 0 / 5.529 GB, free: 31.01 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.131e-05/14.39, allocations: 11.92 kB / 5.529 GB, free: 31 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.403e-05/14.39, allocations: 19.95 kB / 5.529 GB, free: 30.98 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.558e-05/14.39, allocations: 49.67 kB / 5.53 GB, free: 30.92 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.898e-06/14.39, allocations: 4 kB / 5.53 GB, free: 30.92 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.356e-05/14.39, allocations: 0 / 5.53 GB, free: 30.92 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/14.39, allocations: 0 / 5.53 GB, free: 30.92 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001481/14.39, allocations: 154 kB / 5.53 GB, free: 30.73 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 8.339e-05/14.39, allocations: 38.58 kB / 5.53 GB, free: 30.68 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.159e-05/14.39, allocations: 12.86 kB / 5.53 GB, free: 30.67 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.445e-05/14.39, allocations: 3.938 kB / 5.53 GB, free: 30.66 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.096e-05/14.39, allocations: 38.56 kB / 5.53 GB, free: 30.62 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=7): time 2.485e-06/14.39, allocations: 3.984 kB / 5.53 GB, free: 30.61 MB / 0.8698 GB Notification: Performance of matching and sorting (n=11): time 0.0007577/14.39, allocations: 334.4 kB / 5.53 GB, free: 30.23 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.207e-05/14.39, allocations: 51.41 kB / 5.53 GB, free: 30.17 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.085e-05/14.39, allocations: 89 kB / 5.53 GB, free: 30.08 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.459e-05/14.39, allocations: 25.7 kB / 5.53 GB, free: 30.05 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 1.878e-05/14.39, allocations: 80.14 kB / 5.53 GB, free: 29.96 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 4.063e-05/14.39, allocations: 47.3 kB / 5.53 GB, free: 29.92 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.259e-06/14.39, allocations: 0 / 5.53 GB, free: 29.92 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 5.574e-05/14.39, allocations: 318.8 kB / 5.531 GB, free: 29.6 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.931e-05/14.39, allocations: 16.06 kB / 5.531 GB, free: 29.58 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.399e-05/14.39, allocations: 29.72 kB / 5.531 GB, free: 29.55 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.461e-05/14.39, allocations: 24.11 kB / 5.531 GB, free: 29.52 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/14.39, allocations: 0 / 5.531 GB, free: 29.52 MB / 0.8698 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001553/14.39, allocations: 85.61 kB / 5.531 GB, free: 29.43 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/14.39, allocations: 13.03 kB / 5.531 GB, free: 29.42 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/14.39, allocations: 0 / 5.531 GB, free: 29.42 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.757e-05/14.39, allocations: 3.953 kB / 5.531 GB, free: 29.42 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002015/14.39, allocations: 23.98 kB / 5.531 GB, free: 29.39 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.952e-06/14.39, allocations: 0 / 5.531 GB, free: 29.39 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.972e-05/14.39, allocations: 0 / 5.531 GB, free: 29.39 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.015e-05/14.39, allocations: 4 kB / 5.531 GB, free: 29.39 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.07e-05/14.39, allocations: 108.9 kB / 5.531 GB, free: 29.28 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.955e-05/14.39, allocations: 11.84 kB / 5.531 GB, free: 29.27 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.904e-05/14.39, allocations: 12.41 kB / 5.531 GB, free: 29.26 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/14.39, allocations: 3.953 kB / 5.531 GB, free: 29.25 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/14.39, allocations: 0 / 5.531 GB, free: 29.25 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/14.39, allocations: 7.984 kB / 5.531 GB, free: 29.25 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001069/14.39, allocations: 142.2 kB / 5.531 GB, free: 29.07 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/14.39, allocations: 0 / 5.531 GB, free: 29.07 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002196/14.39, allocations: 19.98 kB / 5.531 GB, free: 29.05 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/14.39, allocations: 0 / 5.531 GB, free: 29.05 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.178e-05/14.39, allocations: 8 kB / 5.531 GB, free: 29.04 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/14.39, allocations: 0 / 5.531 GB, free: 29.04 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/14.39, allocations: 480 / 5.531 GB, free: 29.04 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002108/14.39, allocations: 133 kB / 5.531 GB, free: 28.89 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.344e-05/14.39, allocations: 81.02 kB / 5.531 GB, free: 28.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.94e-05/14.39, allocations: 4 kB / 5.531 GB, free: 28.79 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001326/14.39, allocations: 4.031 kB / 5.531 GB, free: 28.79 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.002e-05/14.39, allocations: 4 kB / 5.531 GB, free: 28.79 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.189e-05/14.39, allocations: 8 kB / 5.531 GB, free: 28.78 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 2.033e-05/14.39, allocations: 79.28 kB / 5.531 GB, free: 28.7 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4.21e-07/14.39, allocations: 0 / 5.531 GB, free: 28.7 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0003566/14.39, allocations: 47.94 kB / 5.532 GB, free: 28.65 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.0008564/14.39, allocations: 0.6638 MB / 5.532 GB, free: 27.98 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001426/14.39, allocations: 47.94 kB / 5.532 GB, free: 27.94 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/14.39, allocations: 0 / 5.532 GB, free: 27.94 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 4.919e-05/14.39, allocations: 27.94 kB / 5.532 GB, free: 27.91 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001729/14.39, allocations: 11.31 kB / 5.532 GB, free: 27.9 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005857/14.39, allocations: 272.5 kB / 5.533 GB, free: 27.61 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001226/14.39, allocations: 0.6885 MB / 5.533 GB, free: 26.89 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0001152/14.39, allocations: 8.656 kB / 5.533 GB, free: 26.88 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.901e-05/14.39, allocations: 19.44 kB / 5.533 GB, free: 26.86 MB / 0.8698 GB Notification: Performance of SimCode: time 9.41e-07/14.39, allocations: 0 / 5.533 GB, free: 26.86 MB / 0.8698 GB Notification: Performance of Templates: time 0.01061/14.4, allocations: 3.884 MB / 5.537 GB, free: 22.98 MB / 0.8698 GB