Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Media.Examples.AirDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Examples.AirDerivativeCheck") translateModel(Buildings.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Examples.AirDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001511/0.001511, allocations: 103.9 kB / 15.98 MB, free: 6.348 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001653/0.001653, allocations: 198.9 kB / 16.91 MB, free: 6.188 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.359/1.359, allocations: 205.1 MB / 222.8 MB, free: 4.715 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.729/1.729, allocations: 292.3 MB / 0.5492 GB, free: 13.6 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001392/0.001392, allocations: 67.27 kB / 0.6716 GB, free: 26.24 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2287/0.2301, allocations: 114.5 MB / 0.7835 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.002319/0.2325, allocations: 1.383 MB / 0.7849 GB, free: 12.5 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.5447/0.7772, allocations: 145.9 MB / 0.9274 GB, free: 6.312 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.29e-05/0.7773, allocations: 0.8125 kB / 0.9274 GB, free: 6.312 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 4.051e-05/0.7773, allocations: 0 / 0.9274 GB, free: 6.312 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 9.167e-05/0.7774, allocations: 17.61 kB / 0.9274 GB, free: 6.312 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008765/0.7783, allocations: 298.3 kB / 0.9277 GB, free: 6.301 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 9.532e-05/0.7784, allocations: 65.55 kB / 0.9277 GB, free: 6.301 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.561e-05/0.7785, allocations: 7.938 kB / 0.9277 GB, free: 6.301 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 4.679e-05/0.7785, allocations: 29.5 kB / 0.9278 GB, free: 6.301 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 9.173e-05/0.7786, allocations: 40.14 kB / 0.9278 GB, free: 6.297 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.44e-05/0.7786, allocations: 2.938 kB / 0.9278 GB, free: 6.297 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008067/0.7795, allocations: 435 kB / 0.9282 GB, free: 6.289 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 4.895e-05/0.7795, allocations: 20.38 kB / 0.9282 GB, free: 6.289 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.376e-05/0.7796, allocations: 33.69 kB / 0.9283 GB, free: 6.285 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002071/0.7798, allocations: 110.9 kB / 0.9284 GB, free: 6.273 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.7798, allocations: 0 / 0.9284 GB, free: 6.273 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.655e-06/0.7798, allocations: 1 kB / 0.9284 GB, free: 6.273 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.05e-05/0.7798, allocations: 1.094 kB / 0.9284 GB, free: 6.273 MB / 0.7325 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.0006504/0.7805, allocations: 385.4 kB / 0.9288 GB, free: 21.9 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.7805, allocations: 9.719 kB / 0.9288 GB, free: 21.9 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004032/0.7809, allocations: 37.91 kB / 0.9288 GB, free: 21.9 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001066/0.7811, allocations: 166.6 kB / 0.929 GB, free: 21.7 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.269e-05/0.7811, allocations: 7.938 kB / 0.929 GB, free: 21.7 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.422e-05/0.7811, allocations: 17.61 kB / 0.929 GB, free: 21.7 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001667/0.7813, allocations: 80.3 kB / 0.9291 GB, free: 21.66 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.734e-06/0.7813, allocations: 0 / 0.9291 GB, free: 21.66 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.376e-05/0.7813, allocations: 2.031 kB / 0.9291 GB, free: 21.66 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.7813, allocations: 1.031 kB / 0.9291 GB, free: 21.66 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.413e-05/0.7814, allocations: 44.53 kB / 0.9291 GB, free: 21.66 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001756/0.7816, allocations: 193.9 kB / 0.9293 GB, free: 21.47 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001705/0.7818, allocations: 95.23 kB / 0.9294 GB, free: 21.44 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.263e-05/0.7819, allocations: 30.86 kB / 0.9294 GB, free: 21.43 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002237/0.7821, allocations: 175.5 kB / 0.9296 GB, free: 21.25 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.33e-05/0.7821, allocations: 43.77 kB / 0.9296 GB, free: 21.2 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=12): time 1.152e-06/0.7821, allocations: 0 / 0.9296 GB, free: 21.2 MB / 0.7481 GB Notification: Performance of matching and sorting (n=19): time 0.001316/0.7834, allocations: 0.5469 MB / 0.9302 GB, free: 20.93 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.339e-05/0.7835, allocations: 54.22 kB / 0.9302 GB, free: 20.87 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.879e-05/0.7836, allocations: 101.4 kB / 0.9303 GB, free: 20.77 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.032e-05/0.7836, allocations: 30.89 kB / 0.9303 GB, free: 20.74 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 2.504e-05/0.7836, allocations: 83.8 kB / 0.9304 GB, free: 20.66 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 4.997e-05/0.7837, allocations: 67.31 kB / 0.9305 GB, free: 20.61 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.397e-05/0.7837, allocations: 38.16 kB / 0.9305 GB, free: 20.6 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 9.639e-05/0.7838, allocations: 324.1 kB / 0.9308 GB, free: 20.28 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.442e-05/0.7839, allocations: 37.86 kB / 0.9309 GB, free: 20.28 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.795e-05/0.784, allocations: 70.17 kB / 0.9309 GB, free: 20.25 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001525/0.7841, allocations: 120.8 kB / 0.931 GB, free: 20.21 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.7842, allocations: 3 kB / 0.931 GB, free: 20.21 MB / 0.7481 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002191/0.7844, allocations: 150.2 kB / 0.9312 GB, free: 20.18 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.7844, allocations: 5.219 kB / 0.9312 GB, free: 20.18 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.7844, allocations: 2.719 kB / 0.9312 GB, free: 20.18 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.7844, allocations: 2.594 kB / 0.9312 GB, free: 20.18 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001716/0.7846, allocations: 52.34 kB / 0.9312 GB, free: 20.17 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.234e-06/0.7846, allocations: 4.469 kB / 0.9312 GB, free: 20.17 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.577e-05/0.7847, allocations: 9.688 kB / 0.9313 GB, free: 20.17 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.269e-05/0.7847, allocations: 4.812 kB / 0.9313 GB, free: 20.17 MB / 0.7481 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.531e-05/0.7848, allocations: 121.3 kB / 0.9314 GB, free: 20.05 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.39e-05/0.7848, allocations: 8.469 kB / 0.9314 GB, free: 20.05 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.672e-05/0.7849, allocations: 19.62 kB / 0.9314 GB, free: 20.04 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.7849, allocations: 3.344 kB / 0.9314 GB, free: 20.04 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.7849, allocations: 4.688 kB / 0.9314 GB, free: 20.04 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.7849, allocations: 7.391 kB / 0.9314 GB, free: 20.04 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001354/0.785, allocations: 191 kB / 0.9316 GB, free: 19.85 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.7851, allocations: 0.8438 kB / 0.9316 GB, free: 19.85 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001999/0.7853, allocations: 35.14 kB / 0.9316 GB, free: 19.85 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.7853, allocations: 1.625 kB / 0.9316 GB, free: 19.85 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.305e-05/0.7853, allocations: 5.75 kB / 0.9316 GB, free: 19.85 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.878e-06/0.7853, allocations: 3.719 kB / 0.9316 GB, free: 19.85 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.7853, allocations: 1.812 kB / 0.9316 GB, free: 19.85 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002906/0.7856, allocations: 221.8 kB / 0.9319 GB, free: 19.76 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 7.184e-05/0.7857, allocations: 90.52 kB / 0.9319 GB, free: 19.67 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.996e-05/0.7857, allocations: 4.344 kB / 0.932 GB, free: 19.67 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001284/0.7858, allocations: 7.797 kB / 0.932 GB, free: 19.67 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.747e-05/0.7859, allocations: 13.48 kB / 0.932 GB, free: 19.67 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.336e-05/0.7859, allocations: 8.719 kB / 0.932 GB, free: 19.66 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 3.162e-05/0.7859, allocations: 76.97 kB / 0.9321 GB, free: 19.59 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7859, allocations: 2.906 kB / 0.9321 GB, free: 19.59 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002306/0.7862, allocations: 32.47 kB / 0.9321 GB, free: 19.59 MB / 0.7481 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001213/0.7863, allocations: 103.3 kB / 0.9322 GB, free: 19.5 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0002162/0.7865, allocations: 122 kB / 0.9323 GB, free: 19.49 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.7865, allocations: 1.062 kB / 0.9323 GB, free: 19.49 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 6.946e-05/0.7866, allocations: 54.02 kB / 0.9324 GB, free: 19.49 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002565/0.7869, allocations: 15 kB / 0.9324 GB, free: 19.49 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007497/0.7876, allocations: 0.5705 MB / 0.9329 GB, free: 19.08 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002316/0.7879, allocations: 0.6982 MB / 0.9336 GB, free: 18.38 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.495e-05/0.7879, allocations: 19 kB / 0.9336 GB, free: 18.38 MB / 0.7481 GB Notification: Performance of SimCode: time 2.3e-07/0.7879, allocations: 4 kB / 0.9336 GB, free: 18.37 MB / 0.7481 GB Notification: Performance of Templates: time 0.002809/0.7907, allocations: 1.301 MB / 0.9349 GB, free: 18.27 MB / 0.7481 GB make -j1 -f Buildings_8_Buildings.Media.Examples.AirDerivativeCheck.makefile (rm -f Buildings_8_Buildings.Media.Examples.AirDerivativeCheck.pipe ; mkfifo Buildings_8_Buildings.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Examples.AirDerivativeCheck.pipe >> ../files/Buildings_8_Buildings.Media.Examples.AirDerivativeCheck.sim & ./Buildings_8_Buildings.Media.Examples.AirDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Media.Examples.AirDerivativeCheck.pipe 2>&1)