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.344/2.344, allocations: 252.6 MB / 265.2 MB, free: 5.676 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.001443/0.001443, allocations: 185.2 kB / 324.5 MB, free: 14.34 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 2.029/2.029, allocations: 205.4 MB / 0.5753 GB, free: 10.45 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.001133/0.001133, allocations: 98.69 kB / 0.6797 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.22e-05/3.235e-05, allocations: 4 kB / 0.7911 GB, free: 96.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1942/0.1942, allocations: 106.2 MB / 0.8949 GB, free: 6.262 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.047/7.241, allocations: 2.208 GB / 3.103 GB, free: 137 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002839/7.242, allocations: 65.47 kB / 3.103 GB, free: 137 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1027/7.344, allocations: 29.63 MB / 3.132 GB, free: 111.3 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.613e-06/7.344, allocations: 0 / 3.132 GB, free: 111.3 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.735e-06/7.344, allocations: 0 / 3.132 GB, free: 111.3 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.0004273/7.345, allocations: 378.9 kB / 3.132 GB, free: 110.9 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/7.345, allocations: 8.031 kB / 3.132 GB, free: 110.9 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005035/7.345, allocations: 31.88 kB / 3.132 GB, free: 110.8 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001017/7.346, allocations: 178.9 kB / 3.132 GB, free: 110.6 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.238e-05/7.346, allocations: 8 kB / 3.132 GB, free: 110.6 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.907e-05/7.346, allocations: 8 kB / 3.132 GB, free: 110.6 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000214/7.346, allocations: 69.67 kB / 3.132 GB, free: 110.5 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/7.346, allocations: 0 / 3.132 GB, free: 110.5 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.079e-05/7.346, allocations: 0 / 3.132 GB, free: 110.5 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.866e-06/7.346, allocations: 7.953 kB / 3.132 GB, free: 110.5 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001237/7.346, allocations: 43.91 kB / 3.132 GB, free: 110.5 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002102/7.346, allocations: 189.5 kB / 3.132 GB, free: 110.3 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000212/7.347, allocations: 82.64 kB / 3.133 GB, free: 110.2 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.774e-05/7.347, allocations: 28.86 kB / 3.133 GB, free: 110.1 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002905/7.347, allocations: 182.2 kB / 3.133 GB, free: 109.9 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.636e-05/7.347, allocations: 34.56 kB / 3.133 GB, free: 109.9 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=12): time 1.964e-06/7.347, allocations: 0 / 3.133 GB, free: 109.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=19): time 0.001682/7.349, allocations: 0.517 MB / 3.133 GB, free: 109.3 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.15e-05/7.349, allocations: 55.36 kB / 3.133 GB, free: 109.2 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.963e-05/7.349, allocations: 96.98 kB / 3.133 GB, free: 109.1 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.198e-05/7.349, allocations: 29.7 kB / 3.133 GB, free: 109.1 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 2.277e-05/7.349, allocations: 84.52 kB / 3.134 GB, free: 109 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 6.106e-05/7.349, allocations: 63.02 kB / 3.134 GB, free: 109 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.187e-05/7.349, allocations: 8 kB / 3.134 GB, free: 108.9 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 6.679e-05/7.349, allocations: 318.8 kB / 3.134 GB, free: 108.6 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.941e-05/7.349, allocations: 32 kB / 3.134 GB, free: 108.6 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001141/7.349, allocations: 67.55 kB / 3.134 GB, free: 108.5 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001186/7.349, allocations: 51.95 kB / 3.134 GB, free: 108.5 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/7.349, allocations: 3.938 kB / 3.134 GB, free: 108.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003103/7.35, allocations: 149.5 kB / 3.134 GB, free: 108.3 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.042e-05/7.35, allocations: 4 kB / 3.134 GB, free: 108.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.545e-06/7.35, allocations: 0 / 3.134 GB, free: 108.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.137e-05/7.35, allocations: 4 kB / 3.134 GB, free: 108.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003199/7.35, allocations: 39.92 kB / 3.134 GB, free: 108.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.189e-05/7.35, allocations: 7.953 kB / 3.134 GB, free: 108.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.852e-05/7.35, allocations: 8 kB / 3.134 GB, free: 108.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.765e-05/7.35, allocations: 4 kB / 3.134 GB, free: 108.2 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 9.037e-05/7.35, allocations: 113 kB / 3.134 GB, free: 108.1 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.812e-05/7.351, allocations: 15.81 kB / 3.134 GB, free: 108.1 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.113e-05/7.351, allocations: 16.22 kB / 3.134 GB, free: 108.1 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.061e-06/7.351, allocations: 4 kB / 3.134 GB, free: 108.1 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/7.351, allocations: 0 / 3.134 GB, free: 108.1 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/7.351, allocations: 7.938 kB / 3.134 GB, free: 108.1 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001798/7.351, allocations: 197.6 kB / 3.135 GB, free: 107.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.574e-06/7.351, allocations: 0 / 3.135 GB, free: 107.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004066/7.351, allocations: 31.98 kB / 3.135 GB, free: 107.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.979e-06/7.351, allocations: 4 kB / 3.135 GB, free: 107.8 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.853e-05/7.351, allocations: 4 kB / 3.135 GB, free: 107.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/7.351, allocations: 0 / 3.135 GB, free: 107.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/7.351, allocations: 0 / 3.135 GB, free: 107.8 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004091/7.352, allocations: 209 kB / 3.135 GB, free: 107.6 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.205e-05/7.352, allocations: 97 kB / 3.135 GB, free: 107.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.691e-05/7.352, allocations: 8.062 kB / 3.135 GB, free: 107.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002173/7.352, allocations: 8 kB / 3.135 GB, free: 107.5 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.226e-05/7.352, allocations: 7.984 kB / 3.135 GB, free: 107.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.154e-05/7.352, allocations: 15.98 kB / 3.135 GB, free: 107.4 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 2.749e-05/7.352, allocations: 75.28 kB / 3.135 GB, free: 107.4 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4.31e-07/7.352, allocations: 0 / 3.135 GB, free: 107.4 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0004302/7.353, allocations: 63.89 kB / 3.135 GB, free: 107.3 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.0007954/7.353, allocations: 0.5671 MB / 3.136 GB, free: 106.7 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002962/7.354, allocations: 98.84 kB / 3.136 GB, free: 106.6 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/7.354, allocations: 4 kB / 3.136 GB, free: 106.6 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001061/7.354, allocations: 51.92 kB / 3.136 GB, free: 106.6 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002355/7.354, allocations: 16.33 kB / 3.136 GB, free: 106.6 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000983/7.355, allocations: 461 kB / 3.136 GB, free: 106.1 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001784/7.355, allocations: 0.7011 MB / 3.137 GB, free: 105.4 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0002324/7.356, allocations: 36.67 kB / 3.137 GB, free: 105.3 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.205e-05/7.356, allocations: 15.44 kB / 3.137 GB, free: 105.3 MB / 0.8698 GB Notification: Performance of SimCode: time 9.92e-07/7.356, allocations: 0 / 3.137 GB, free: 105.3 MB / 0.8698 GB Notification: Performance of Templates: time 0.02073/7.376, allocations: 9.76 MB / 3.147 GB, free: 95.54 MB / 0.8698 GB