Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_Buildings.Media.Examples.AirDerivativeCheck") translateModel(Buildings.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.001019/0.001019, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.001048/0.001048, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.749/1.749, allocations: 205.4 MB / 222.1 MB, free: 5.887 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.579/1.579, allocations: 251.9 MB / 0.51 GB, free: 4.809 MB / 414.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.0005976/0.0005978, allocations: 16 kB / 0.6241 GB, free: 1.188 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6196/0.6203, allocations: 106.3 MB / 0.728 GB, free: 11.42 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.001442/0.6217, allocations: 1.022 MB / 0.729 GB, free: 10.39 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1659/0.7876, allocations: 125.2 MB / 0.8512 GB, free: 12.89 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.735e-05/0.7877, allocations: 3.938 kB / 0.8512 GB, free: 12.88 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 5.548e-05/0.7878, allocations: 3.984 kB / 0.8512 GB, free: 12.88 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 6.331e-05/0.7879, allocations: 7.984 kB / 0.8512 GB, free: 12.87 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007969/0.7887, allocations: 247.3 kB / 0.8514 GB, free: 12.63 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 8.479e-05/0.7888, allocations: 39.89 kB / 0.8515 GB, free: 12.59 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 6.248e-05/0.7888, allocations: 3.984 kB / 0.8515 GB, free: 12.59 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 4.834e-05/0.7889, allocations: 35.91 kB / 0.8515 GB, free: 12.55 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 8.66e-05/0.789, allocations: 23.91 kB / 0.8515 GB, free: 12.53 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 1.345e-05/0.789, allocations: 8 kB / 0.8516 GB, free: 12.52 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006845/0.7897, allocations: 279.5 kB / 0.8518 GB, free: 12.25 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 6.251e-05/0.7898, allocations: 19.97 kB / 0.8518 GB, free: 12.23 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 3.6e-05/0.7898, allocations: 37.64 kB / 0.8519 GB, free: 12.18 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.0002105/0.79, allocations: 101.8 kB / 0.852 GB, free: 12.09 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.151e-06/0.7901, allocations: 4 kB / 0.852 GB, free: 12.08 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.723e-06/0.7901, allocations: 3.938 kB / 0.852 GB, free: 12.08 MB / 0.67 GB Notification: Performance of Transformations before backend: time 6.011e-06/0.7901, allocations: 0 / 0.852 GB, free: 12.08 MB / 0.67 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.0004656/0.7905, allocations: 371.3 kB / 0.8523 GB, free: 11.67 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.301e-05/0.7906, allocations: 8.031 kB / 0.8523 GB, free: 11.66 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004208/0.791, allocations: 39.83 kB / 0.8524 GB, free: 11.62 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001138/0.7912, allocations: 167.1 kB / 0.8525 GB, free: 11.42 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.338e-05/0.7912, allocations: 0 / 0.8525 GB, free: 11.42 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.813e-05/0.7912, allocations: 12 kB / 0.8525 GB, free: 11.41 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001698/0.7914, allocations: 73.59 kB / 0.8526 GB, free: 11.33 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.7914, allocations: 7.938 kB / 0.8526 GB, free: 11.32 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.555e-05/0.7914, allocations: 4 kB / 0.8526 GB, free: 11.32 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.7914, allocations: 4 kB / 0.8526 GB, free: 11.31 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001021/0.7915, allocations: 51.89 kB / 0.8527 GB, free: 11.26 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002095/0.7918, allocations: 189.4 kB / 0.8529 GB, free: 11.03 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001693/0.7919, allocations: 86.7 kB / 0.8529 GB, free: 10.93 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 4.46e-05/0.792, allocations: 15.92 kB / 0.853 GB, free: 10.92 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.473e-05/0.792, allocations: 34.56 kB / 0.853 GB, free: 10.88 MB / 0.67 GB Notification: Performance of pre-optimization done (n=12): time 1.653e-06/0.792, allocations: 0 / 0.853 GB, free: 10.88 MB / 0.67 GB Notification: Performance of matching and sorting (n=19): time 0.001299/0.7933, allocations: 0.5357 MB / 0.8535 GB, free: 10.29 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.984e-05/0.7934, allocations: 59.39 kB / 0.8536 GB, free: 10.22 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.246e-05/0.7935, allocations: 97.86 kB / 0.8537 GB, free: 10.11 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 2.404e-05/0.7935, allocations: 29.7 kB / 0.8537 GB, free: 10.08 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 3.009e-05/0.7935, allocations: 80.52 kB / 0.8538 GB, free: 9.996 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 5.666e-05/0.7936, allocations: 70.98 kB / 0.8538 GB, free: 9.926 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.147e-06/0.7936, allocations: 8 kB / 0.8538 GB, free: 9.918 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001194/0.7937, allocations: 318.8 kB / 0.8542 GB, free: 9.598 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.122e-05/0.7938, allocations: 43.84 kB / 0.8542 GB, free: 9.555 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.171e-05/0.7939, allocations: 78.38 kB / 0.8543 GB, free: 9.469 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.471e-05/0.794, allocations: 43.98 kB / 0.8543 GB, free: 9.426 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.794, allocations: 0 / 0.8543 GB, free: 9.426 MB / 0.67 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002159/0.7942, allocations: 145.5 kB / 0.8544 GB, free: 9.277 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.7942, allocations: 8 kB / 0.8545 GB, free: 9.27 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.401e-06/0.7942, allocations: 0 / 0.8545 GB, free: 9.27 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.7943, allocations: 4 kB / 0.8545 GB, free: 9.266 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001717/0.7944, allocations: 39.92 kB / 0.8545 GB, free: 9.227 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.7945, allocations: 8 kB / 0.8545 GB, free: 9.219 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.718e-05/0.7945, allocations: 4 kB / 0.8545 GB, free: 9.215 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.212e-05/0.7945, allocations: 8 kB / 0.8545 GB, free: 9.207 MB / 0.67 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 0.0001254/0.7947, allocations: 129.7 kB / 0.8546 GB, free: 9.07 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.743e-05/0.7947, allocations: 11.84 kB / 0.8547 GB, free: 9.059 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.315e-05/0.7947, allocations: 16.44 kB / 0.8547 GB, free: 9.043 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.7947, allocations: 4 kB / 0.8547 GB, free: 9.039 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.7948, allocations: 0 / 0.8547 GB, free: 9.039 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.7948, allocations: 4 kB / 0.8547 GB, free: 9.035 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001749/0.7949, allocations: 197.6 kB / 0.8549 GB, free: 8.793 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.795, allocations: 0 / 0.8549 GB, free: 8.793 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001972/0.7952, allocations: 43.92 kB / 0.8549 GB, free: 8.75 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.205e-06/0.7952, allocations: 0 / 0.8549 GB, free: 8.75 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.361e-05/0.7952, allocations: 4.109 kB / 0.8549 GB, free: 8.746 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.549e-06/0.7952, allocations: 8 kB / 0.8549 GB, free: 8.738 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.7952, allocations: 0 / 0.8549 GB, free: 8.738 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003065/0.7955, allocations: 200.9 kB / 0.8551 GB, free: 8.523 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 9.842e-05/0.7956, allocations: 97 kB / 0.8552 GB, free: 8.41 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.929e-05/0.7956, allocations: 4.062 kB / 0.8552 GB, free: 8.406 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001314/0.7958, allocations: 11.98 kB / 0.8552 GB, free: 8.395 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.281e-05/0.7958, allocations: 7.984 kB / 0.8552 GB, free: 8.387 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.247e-05/0.7958, allocations: 8 kB / 0.8552 GB, free: 8.379 MB / 0.67 GB Notification: Performance of sorting global known variables: time 3.296e-05/0.7959, allocations: 79.28 kB / 0.8553 GB, free: 8.301 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7959, allocations: 0 / 0.8553 GB, free: 8.301 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0002191/0.7961, allocations: 28 kB / 0.8553 GB, free: 8.273 MB / 0.67 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.0001438/0.7962, allocations: 111.3 kB / 0.8554 GB, free: 8.152 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0001966/0.7965, allocations: 103.8 kB / 0.8555 GB, free: 8.051 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.7965, allocations: 0 / 0.8555 GB, free: 8.051 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 9.472e-05/0.7966, allocations: 58.48 kB / 0.8556 GB, free: 7.996 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001894/0.7968, allocations: 8 kB / 0.8556 GB, free: 7.988 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009355/0.7977, allocations: 0.6317 MB / 0.8562 GB, free: 7.332 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003263/0.798, allocations: 0.7011 MB / 0.8569 GB, free: 6.605 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0001262/0.7982, allocations: 28.62 kB / 0.8569 GB, free: 6.574 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.87e-05/0.7982, allocations: 15.44 kB / 0.8569 GB, free: 6.559 MB / 0.67 GB Notification: Performance of SimCode: time 2.5e-07/0.7982, allocations: 0 / 0.8569 GB, free: 6.559 MB / 0.67 GB Notification: Performance of Templates: time 0.00347/0.8017, allocations: 1.02 MB / 0.8579 GB, free: 5.547 MB / 0.67 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Media.Examples.AirDerivativeCheck.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Media.Examples.AirDerivativeCheck.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Media.Examples.AirDerivativeCheck.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Media.Examples.AirDerivativeCheck.sim & ./Buildings_maint.7.0.x_Buildings.Media.Examples.AirDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Media.Examples.AirDerivativeCheck.pipe 2>&1) Environment - environmentSimulation: