Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Media.Examples.AirDerivativeCheck.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Media.Examples.AirDerivativeCheck") translateModel(Buildings.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Media.Examples.AirDerivativeCheck") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.575/2.575, allocations: 285 MB / 292.5 MB, free: 10.59 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001488/0.001488, allocations: 188.8 kB / 360.8 MB, free: 7.25 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.052/2.052, allocations: 205.3 MB / 0.6192 GB, free: 12.12 MB / 474.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: 87.84 kB / 0.7322 GB, free: 44.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.842e-05/2.851e-05, allocations: 4 kB / 0.8509 GB, free: 3.367 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8981/0.8982, allocations: 115.2 MB / 0.9634 GB, free: 78.73 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.096/6.994, allocations: 2.088 GB / 3.051 GB, free: 31.91 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002664/6.994, allocations: 72.95 kB / 3.051 GB, free: 31.88 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.09877/7.093, allocations: 29.44 MB / 3.08 GB, free: 4.875 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.953e-06/7.093, allocations: 4 kB / 3.08 GB, free: 4.871 MB / 0.948 GB Notification: Performance of Transformations before backend: time 7.954e-06/7.093, allocations: 4 kB / 3.08 GB, free: 4.867 MB / 0.948 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.0004305/7.094, allocations: 370.9 kB / 3.08 GB, free: 4.461 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.498e-05/7.094, allocations: 8.031 kB / 3.08 GB, free: 4.453 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005107/7.094, allocations: 43.81 kB / 3.081 GB, free: 4.41 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.865e-05/7.094, allocations: 167 kB / 3.081 GB, free: 4.207 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.444e-05/7.094, allocations: 0 / 3.081 GB, free: 4.207 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.705e-05/7.094, allocations: 11.91 kB / 3.081 GB, free: 4.195 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001477/7.095, allocations: 45.84 kB / 3.081 GB, free: 4.152 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001457/7.095, allocations: 69.59 kB / 3.081 GB, free: 4.078 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/7.095, allocations: 0 / 3.081 GB, free: 4.078 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.938e-05/7.095, allocations: 3.953 kB / 3.081 GB, free: 4.074 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/7.095, allocations: 0 / 3.081 GB, free: 4.074 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001837/7.095, allocations: 150.2 kB / 3.081 GB, free: 3.891 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001857/7.095, allocations: 82.59 kB / 3.081 GB, free: 3.801 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.714e-05/7.095, allocations: 30.69 kB / 3.081 GB, free: 3.77 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002458/7.096, allocations: 178.2 kB / 3.081 GB, free: 3.559 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.583e-05/7.096, allocations: 38.56 kB / 3.081 GB, free: 3.512 MB / 0.948 GB Notification: Performance of pre-optimization done (n=12): time 2.004e-06/7.096, allocations: 0 / 3.081 GB, free: 3.512 MB / 0.948 GB Notification: Performance of matching and sorting (n=19): time 0.001591/7.097, allocations: 481.7 kB / 3.082 GB, free: 2.992 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.216e-05/7.097, allocations: 55.41 kB / 3.082 GB, free: 2.926 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.568e-05/7.097, allocations: 89 kB / 3.082 GB, free: 2.832 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.891e-05/7.097, allocations: 25.7 kB / 3.082 GB, free: 2.801 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 2.283e-05/7.097, allocations: 88.64 kB / 3.082 GB, free: 2.707 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 6.127e-05/7.097, allocations: 67 kB / 3.082 GB, free: 2.641 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.797e-06/7.097, allocations: 3.938 kB / 3.082 GB, free: 2.637 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 5.968e-05/7.098, allocations: 322.8 kB / 3.082 GB, free: 2.312 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.666e-05/7.098, allocations: 31.98 kB / 3.082 GB, free: 2.281 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.789e-05/7.098, allocations: 64.23 kB / 3.082 GB, free: 2.207 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.995e-05/7.098, allocations: 35.97 kB / 3.082 GB, free: 2.172 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/7.098, allocations: 4 kB / 3.082 GB, free: 2.168 MB / 0.948 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002872/7.098, allocations: 136.9 kB / 3.083 GB, free: 2.031 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/7.098, allocations: 8 kB / 3.083 GB, free: 2.023 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/7.098, allocations: 0 / 3.083 GB, free: 2.023 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.488e-05/7.098, allocations: 6.25 kB / 3.083 GB, free: 2.02 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002913/7.099, allocations: 35.92 kB / 3.083 GB, free: 1.984 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.764e-06/7.099, allocations: 4 kB / 3.083 GB, free: 1.98 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.767e-05/7.099, allocations: 0 / 3.083 GB, free: 1.98 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.684e-05/7.099, allocations: 9.625 kB / 3.083 GB, free: 1.973 MB / 0.948 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 7.453e-05/7.099, allocations: 120.7 kB / 3.083 GB, free: 1.848 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.736e-05/7.099, allocations: 7.906 kB / 3.083 GB, free: 1.84 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.859e-05/7.099, allocations: 16.52 kB / 3.083 GB, free: 1.824 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/7.099, allocations: 7.938 kB / 3.083 GB, free: 1.816 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/7.099, allocations: 0 / 3.083 GB, free: 1.816 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.628e-06/7.099, allocations: 0 / 3.083 GB, free: 1.816 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001546/7.099, allocations: 162.2 kB / 3.083 GB, free: 1.621 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.103e-06/7.099, allocations: 0 / 3.083 GB, free: 1.621 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003745/7.099, allocations: 43.97 kB / 3.083 GB, free: 1.578 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/7.099, allocations: 0 / 3.083 GB, free: 1.578 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.615e-05/7.099, allocations: 4 kB / 3.083 GB, free: 1.574 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.285e-06/7.099, allocations: 0 / 3.083 GB, free: 1.574 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/7.1, allocations: 7.938 kB / 3.083 GB, free: 1.566 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003562/7.1, allocations: 186.9 kB / 3.083 GB, free: 1.371 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.997e-05/7.1, allocations: 93.06 kB / 3.083 GB, free: 1.262 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.544e-05/7.1, allocations: 7.984 kB / 3.083 GB, free: 1.254 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002139/7.1, allocations: 0 / 3.083 GB, free: 1.254 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.933e-05/7.1, allocations: 11.98 kB / 3.083 GB, free: 1.242 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.881e-05/7.1, allocations: 8 kB / 3.083 GB, free: 1.234 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.412e-05/7.1, allocations: 82.28 kB / 3.083 GB, free: 1.156 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.31e-07/7.1, allocations: 0 / 3.083 GB, free: 1.156 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0003974/7.101, allocations: 55.92 kB / 3.083 GB, free: 1.102 MB / 0.948 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.0008794/7.102, allocations: 0.6392 MB / 3.084 GB, free: 476 kB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002486/7.102, allocations: 91.88 kB / 3.084 GB, free: 384 kB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.029e-06/7.102, allocations: 4 kB / 3.084 GB, free: 380 kB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 9.42e-05/7.102, allocations: 46 kB / 3.084 GB, free: 336 kB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002416/7.102, allocations: 15.89 kB / 3.084 GB, free: 324 kB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.618/7.72, allocations: 440 kB / 3.085 GB, free: 336.1 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000194/7.721, allocations: 0.7027 MB / 3.085 GB, free: 335.4 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0002778/7.721, allocations: 24.03 kB / 3.085 GB, free: 335.4 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.406e-05/7.721, allocations: 20.47 kB / 3.085 GB, free: 335.3 MB / 0.948 GB Notification: Performance of SimCode: time 1.012e-06/7.721, allocations: 0 / 3.085 GB, free: 335.3 MB / 0.948 GB Notification: Performance of Templates: time 0.01383/7.735, allocations: 4.124 MB / 3.089 GB, free: 335.1 MB / 0.948 GB make -j1 -f Buildings_8.0.0_Buildings.Media.Examples.AirDerivativeCheck.makefile (rm -f Buildings_8.0.0_Buildings.Media.Examples.AirDerivativeCheck.pipe ; mkfifo Buildings_8.0.0_Buildings.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Media.Examples.AirDerivativeCheck.pipe >> ../files/Buildings_8.0.0_Buildings.Media.Examples.AirDerivativeCheck.sim & ./Buildings_8.0.0_Buildings.Media.Examples.AirDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Media.Examples.AirDerivativeCheck.pipe 2>&1)