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.104/2.104, allocations: 251.1 MB / 266.1 MB, free: 11.55 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001501/0.001501, allocations: 171.5 kB / 325.6 MB, free: 2.812 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.396/2.396, allocations: 205.4 MB / 0.5766 GB, free: 20.7 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.001106/0.001106, allocations: 100.1 kB / 0.6811 GB, free: 13.58 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000479/0.0004789, allocations: 19.11 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2131/0.2136, allocations: 106.2 MB / 0.8989 GB, free: 65.45 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.221/7.435, allocations: 2.208 GB / 3.107 GB, free: 250.5 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002551/7.435, allocations: 73.98 kB / 3.107 GB, free: 250.5 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.09848/7.534, allocations: 29.66 MB / 3.136 GB, free: 245.8 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.134e-06/7.534, allocations: 0 / 3.136 GB, free: 245.8 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 6.733e-06/7.534, allocations: 3.938 kB / 3.136 GB, free: 245.8 MB / 0.8855 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.0004635/7.534, allocations: 386.9 kB / 3.136 GB, free: 245.4 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/7.534, allocations: 7.875 kB / 3.136 GB, free: 245.4 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00049/7.535, allocations: 40.44 kB / 3.136 GB, free: 245.4 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.455e-05/7.535, allocations: 163 kB / 3.136 GB, free: 245.2 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.39e-05/7.535, allocations: 7.844 kB / 3.136 GB, free: 245.2 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.738e-05/7.535, allocations: 14.81 kB / 3.136 GB, free: 245.2 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002043/7.535, allocations: 80.5 kB / 3.136 GB, free: 245.2 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/7.535, allocations: 0 / 3.136 GB, free: 245.2 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.834e-05/7.535, allocations: 0 / 3.136 GB, free: 245.2 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/7.535, allocations: 3.953 kB / 3.136 GB, free: 245.2 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001137/7.535, allocations: 41.36 kB / 3.136 GB, free: 245.2 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001993/7.535, allocations: 186.4 kB / 3.137 GB, free: 245 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002095/7.536, allocations: 99.77 kB / 3.137 GB, free: 244.9 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002389/7.536, allocations: 172.7 kB / 3.137 GB, free: 244.7 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.166e-05/7.536, allocations: 37.08 kB / 3.137 GB, free: 244.7 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=12): time 1.683e-06/7.536, allocations: 0 / 3.137 GB, free: 244.7 MB / 0.8855 GB Notification: Performance of matching and sorting (n=19): time 0.001681/7.538, allocations: 0.5453 MB / 3.137 GB, free: 244.4 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.805e-05/7.538, allocations: 59.27 kB / 3.137 GB, free: 244.4 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.866e-05/7.538, allocations: 85 kB / 3.138 GB, free: 244.3 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.251e-05/7.538, allocations: 33.55 kB / 3.138 GB, free: 244.2 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 2.372e-05/7.538, allocations: 88.58 kB / 3.138 GB, free: 244.1 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 5.878e-05/7.538, allocations: 64.56 kB / 3.138 GB, free: 244.1 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.234e-05/7.538, allocations: 3.938 kB / 3.138 GB, free: 244.1 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 6.574e-05/7.538, allocations: 322 kB / 3.138 GB, free: 243.8 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.125e-05/7.538, allocations: 37.47 kB / 3.138 GB, free: 243.8 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001138/7.538, allocations: 65.17 kB / 3.138 GB, free: 243.8 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001135/7.538, allocations: 46.14 kB / 3.138 GB, free: 243.8 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/7.538, allocations: 4 kB / 3.138 GB, free: 243.8 MB / 0.8855 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003015/7.539, allocations: 155.9 kB / 3.138 GB, free: 243.7 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/7.539, allocations: 3.906 kB / 3.138 GB, free: 243.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/7.539, allocations: 4.062 kB / 3.138 GB, free: 243.7 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/7.539, allocations: 0 / 3.138 GB, free: 243.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002859/7.539, allocations: 38.17 kB / 3.138 GB, free: 243.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.089e-05/7.539, allocations: 11.8 kB / 3.138 GB, free: 243.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.889e-05/7.539, allocations: 7.266 kB / 3.138 GB, free: 243.7 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.613e-05/7.539, allocations: 11.72 kB / 3.138 GB, free: 243.7 MB / 0.8855 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 () * Number of clocked 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 8.985e-05/7.539, allocations: 121.5 kB / 3.139 GB, free: 243.6 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.545e-05/7.539, allocations: 11.31 kB / 3.139 GB, free: 243.6 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.689e-05/7.539, allocations: 16.19 kB / 3.139 GB, free: 243.6 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/7.539, allocations: 3.781 kB / 3.139 GB, free: 243.6 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/7.539, allocations: 0 / 3.139 GB, free: 243.6 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/7.539, allocations: 7.5 kB / 3.139 GB, free: 243.6 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001637/7.54, allocations: 194.3 kB / 3.139 GB, free: 243.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.287e-06/7.54, allocations: 0 / 3.139 GB, free: 243.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003588/7.54, allocations: 45.69 kB / 3.139 GB, free: 243.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/7.54, allocations: 4 kB / 3.139 GB, free: 243.4 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.736e-05/7.54, allocations: 11.56 kB / 3.139 GB, free: 243.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/7.54, allocations: 0 / 3.139 GB, free: 243.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/7.54, allocations: 0 / 3.139 GB, free: 243.4 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004076/7.54, allocations: 209 kB / 3.139 GB, free: 243.3 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 8.561e-05/7.541, allocations: 92.08 kB / 3.139 GB, free: 243.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.71e-05/7.541, allocations: 3.938 kB / 3.139 GB, free: 243.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002132/7.541, allocations: 3.906 kB / 3.139 GB, free: 243.2 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.763e-05/7.541, allocations: 15.05 kB / 3.139 GB, free: 243.2 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.951e-05/7.541, allocations: 11.42 kB / 3.139 GB, free: 243.2 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 2.952e-05/7.541, allocations: 75.28 kB / 3.139 GB, free: 243.1 MB / 0.8855 GB Notification: Performance of sort global known variables: time 3.71e-07/7.541, allocations: 0 / 3.139 GB, free: 243.1 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0004609/7.541, allocations: 64.48 kB / 3.139 GB, free: 243.1 MB / 0.8855 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 () * Number of clocked 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.000801/7.542, allocations: 0.5501 MB / 3.14 GB, free: 242.8 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.000285/7.543, allocations: 109.7 kB / 3.14 GB, free: 242.8 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/7.543, allocations: 3.938 kB / 3.14 GB, free: 242.8 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001059/7.543, allocations: 58 kB / 3.14 GB, free: 242.8 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002054/7.543, allocations: 11.67 kB / 3.14 GB, free: 242.8 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001063/7.544, allocations: 0.6102 MB / 3.141 GB, free: 242.4 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001609/7.544, allocations: 0.7028 MB / 3.141 GB, free: 241.7 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0002137/7.544, allocations: 22.97 kB / 3.141 GB, free: 241.7 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.848e-05/7.544, allocations: 15.22 kB / 3.141 GB, free: 241.7 MB / 0.8855 GB Notification: Performance of SimCode: time 8.42e-07/7.544, allocations: 3.938 kB / 3.141 GB, free: 241.7 MB / 0.8855 GB Notification: Performance of Templates: time 0.01759/7.562, allocations: 8.114 MB / 3.149 GB, free: 240.9 MB / 0.8855 GB