Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Media.Examples.AirDerivativeCheck.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.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Media.Examples.AirDerivativeCheck") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.272/2.272, allocations: 253.2 MB / 260.6 MB, free: 7.52 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.001354/0.001354, allocations: 170.8 kB / 319.9 MB, free: 3.043 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 1.955/1.955, allocations: 205.6 MB / 0.5709 GB, free: 15.25 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.001098/0.001097, allocations: 82.7 kB / 0.6751 GB, free: 4.625 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.954e-05/1.954e-05, allocations: 0 / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1982/0.1982, allocations: 106.3 MB / 0.8887 GB, free: 11.87 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.009/7.207, allocations: 2.208 GB / 3.097 GB, free: 142.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002699/7.207, allocations: 74.89 kB / 3.097 GB, free: 142.3 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.09379/7.301, allocations: 29.08 MB / 3.125 GB, free: 118.6 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.503e-06/7.301, allocations: 0 / 3.125 GB, free: 118.6 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 6.462e-06/7.301, allocations: 0 / 3.125 GB, free: 118.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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0003963/7.302, allocations: 381.2 kB / 3.125 GB, free: 118.2 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/7.302, allocations: 12.02 kB / 3.125 GB, free: 118.2 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004653/7.302, allocations: 35.44 kB / 3.125 GB, free: 118.2 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.547e-05/7.302, allocations: 171 kB / 3.126 GB, free: 118 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.244e-05/7.302, allocations: 4 kB / 3.126 GB, free: 118 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.414e-05/7.302, allocations: 4 kB / 3.126 GB, free: 118 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001404/7.303, allocations: 43.34 kB / 3.126 GB, free: 117.9 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001375/7.303, allocations: 60.73 kB / 3.126 GB, free: 117.9 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/7.303, allocations: 7.938 kB / 3.126 GB, free: 117.9 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.852e-05/7.303, allocations: 3.953 kB / 3.126 GB, free: 117.9 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.122e-06/7.303, allocations: 4 kB / 3.126 GB, free: 117.9 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001757/7.303, allocations: 153.6 kB / 3.126 GB, free: 117.7 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001751/7.303, allocations: 77.45 kB / 3.126 GB, free: 117.6 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.271e-05/7.303, allocations: 20.36 kB / 3.126 GB, free: 117.6 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002359/7.303, allocations: 181.6 kB / 3.126 GB, free: 117.4 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.99e-05/7.303, allocations: 38.48 kB / 3.126 GB, free: 117.3 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=12): time 1.883e-06/7.303, allocations: 0 / 3.126 GB, free: 117.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=19): time 0.00155/7.305, allocations: 493.6 kB / 3.127 GB, free: 116.8 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.948e-05/7.305, allocations: 51.41 kB / 3.127 GB, free: 116.8 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.844e-05/7.305, allocations: 96.36 kB / 3.127 GB, free: 116.7 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.941e-05/7.305, allocations: 29.64 kB / 3.127 GB, free: 116.6 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 1.998e-05/7.305, allocations: 80.52 kB / 3.127 GB, free: 116.6 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 5.72e-05/7.305, allocations: 66.23 kB / 3.127 GB, free: 116.5 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.717e-06/7.305, allocations: 0 / 3.127 GB, free: 116.5 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 6.172e-05/7.305, allocations: 337.8 kB / 3.127 GB, free: 116.2 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.157e-05/7.305, allocations: 27.12 kB / 3.127 GB, free: 116.1 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.281e-05/7.306, allocations: 61.92 kB / 3.127 GB, free: 116.1 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.716e-05/7.306, allocations: 42.72 kB / 3.127 GB, free: 116.1 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/7.306, allocations: 0 / 3.127 GB, free: 116.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002553/7.306, allocations: 134.9 kB / 3.128 GB, free: 115.9 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/7.306, allocations: 4 kB / 3.128 GB, free: 115.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/7.306, allocations: 8 kB / 3.128 GB, free: 115.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/7.306, allocations: 3.984 kB / 3.128 GB, free: 115.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002774/7.306, allocations: 39.92 kB / 3.128 GB, free: 115.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/7.306, allocations: 0 / 3.128 GB, free: 115.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.411e-05/7.306, allocations: 4 kB / 3.128 GB, free: 115.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.509e-05/7.306, allocations: 7.312 kB / 3.128 GB, free: 115.9 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 24 * 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.674e-05/7.307, allocations: 104.9 kB / 3.128 GB, free: 115.8 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.302e-05/7.307, allocations: 8 kB / 3.128 GB, free: 115.8 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.982e-05/7.307, allocations: 11.47 kB / 3.128 GB, free: 115.8 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/7.307, allocations: 4 kB / 3.128 GB, free: 115.8 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/7.307, allocations: 4 kB / 3.128 GB, free: 115.8 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/7.307, allocations: 0 / 3.128 GB, free: 115.8 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001393/7.307, allocations: 172.6 kB / 3.128 GB, free: 115.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/7.307, allocations: 4.125 kB / 3.128 GB, free: 115.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003606/7.307, allocations: 35.42 kB / 3.128 GB, free: 115.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.559e-06/7.307, allocations: 7.938 kB / 3.128 GB, free: 115.5 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.493e-05/7.307, allocations: 0 / 3.128 GB, free: 115.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/7.307, allocations: 0 / 3.128 GB, free: 115.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/7.307, allocations: 0 / 3.128 GB, free: 115.5 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003247/7.308, allocations: 202.4 kB / 3.128 GB, free: 115.3 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.66e-05/7.308, allocations: 92.44 kB / 3.128 GB, free: 115.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.309e-05/7.308, allocations: 0 / 3.128 GB, free: 115.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00021/7.308, allocations: 7.984 kB / 3.128 GB, free: 115.2 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.144e-05/7.308, allocations: 11.97 kB / 3.128 GB, free: 115.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.764e-05/7.308, allocations: 7.625 kB / 3.128 GB, free: 115.2 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 1.982e-05/7.308, allocations: 79.28 kB / 3.128 GB, free: 115.1 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4e-07/7.308, allocations: 4.094 kB / 3.128 GB, free: 115.1 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0003632/7.308, allocations: 52.8 kB / 3.128 GB, free: 115.1 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (hLiqSym,hSteSym,hAirSym,cpSym,cvSym) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * 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.0008213/7.309, allocations: 0.6373 MB / 3.129 GB, free: 114.5 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002164/7.309, allocations: 92.38 kB / 3.129 GB, free: 114.4 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/7.309, allocations: 0 / 3.129 GB, free: 114.4 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 8.764e-05/7.31, allocations: 49.55 kB / 3.129 GB, free: 114.3 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00019/7.31, allocations: 9.344 kB / 3.129 GB, free: 114.3 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000853/7.311, allocations: 447.9 kB / 3.13 GB, free: 113.9 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001474/7.311, allocations: 0.7008 MB / 3.13 GB, free: 113.2 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0002085/7.311, allocations: 28.75 kB / 3.13 GB, free: 113.1 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.784e-05/7.311, allocations: 15.44 kB / 3.13 GB, free: 113.1 MB / 0.8698 GB Notification: Performance of SimCode: time 7.12e-07/7.311, allocations: 0 / 3.13 GB, free: 113.1 MB / 0.8698 GB Notification: Performance of Templates: time 0.01036/7.321, allocations: 4.127 MB / 3.134 GB, free: 109 MB / 0.8698 GB