Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat,fileNamePrefix="Buildings_6_0_0_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.132/4.132, allocations: 433.2 MB / 440.7 MB, free: 4.605 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.36e-05/2.368e-05, allocations: 2.625 kB / 0.5325 GB, free: 12.69 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2197/0.2198, allocations: 98.72 MB / 0.6289 GB, free: 9.133 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2368/0.4566, allocations: 126.6 MB / 0.7525 GB, free: 10.36 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003491/0.457, allocations: 91.94 kB / 0.7526 GB, free: 10.27 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01875/0.4758, allocations: 4.512 MB / 0.757 GB, free: 5.723 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.724e-06/0.4759, allocations: 0 / 0.757 GB, free: 5.723 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.59e-05/0.4759, allocations: 8 kB / 0.757 GB, free: 5.715 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0009865/0.4769, allocations: 0.5042 MB / 0.7575 GB, free: 5.168 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.857e-05/0.4769, allocations: 12.03 kB / 0.7575 GB, free: 5.156 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001016/0.4771, allocations: 31.67 kB / 0.7576 GB, free: 5.125 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004217/0.4775, allocations: 271.2 kB / 0.7578 GB, free: 4.82 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.585e-05/0.4775, allocations: 12 kB / 0.7578 GB, free: 4.809 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.831e-05/0.4776, allocations: 23.98 kB / 0.7579 GB, free: 4.785 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006168/0.4783, allocations: 205 kB / 0.7581 GB, free: 4.586 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006444/0.4789, allocations: 254.6 kB / 0.7583 GB, free: 4.324 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.566e-05/0.4789, allocations: 0 / 0.7583 GB, free: 4.324 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.507e-05/0.479, allocations: 0 / 0.7583 GB, free: 4.324 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.619e-05/0.479, allocations: 11.95 kB / 0.7583 GB, free: 4.312 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002196/0.4812, allocations: 0.8694 MB / 0.7592 GB, free: 3.398 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006447/0.4819, allocations: 219.4 kB / 0.7594 GB, free: 3.176 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002453/0.4822, allocations: 97.31 kB / 0.7595 GB, free: 3.078 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 4.45e-05/0.4822, allocations: 12.22 kB / 0.7595 GB, free: 3.066 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003388/0.4826, allocations: 140.1 kB / 0.7596 GB, free: 2.918 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=30): time 3.256e-06/0.4826, allocations: 0 / 0.7596 GB, free: 2.918 MB / 0.6355 GB Notification: Performance of matching and sorting (n=30): time 0.0006027/0.4832, allocations: 197.5 kB / 0.7598 GB, free: 2.719 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.013e-05/0.4833, allocations: 63.34 kB / 0.7599 GB, free: 2.645 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002339/0.4835, allocations: 165.7 kB / 0.76 GB, free: 2.473 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.177e-05/0.4836, allocations: 29.7 kB / 0.7601 GB, free: 2.438 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001368/0.4837, allocations: 152.9 kB / 0.7602 GB, free: 2.285 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 9.533e-05/0.4838, allocations: 71.05 kB / 0.7603 GB, free: 2.215 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.144e-05/0.4839, allocations: 4 kB / 0.7603 GB, free: 2.211 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001407/0.484, allocations: 338.8 kB / 0.7606 GB, free: 1.871 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002167/0.4842, allocations: 72 kB / 0.7607 GB, free: 1.801 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002699/0.4845, allocations: 129.1 kB / 0.7608 GB, free: 1.656 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000218/0.4848, allocations: 75.72 kB / 0.7609 GB, free: 1.582 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.771e-06/0.4848, allocations: 0 / 0.7609 GB, free: 1.582 MB / 0.6355 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0006695/0.4855, allocations: 260.7 kB / 0.7611 GB, free: 1.32 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.059e-05/0.4855, allocations: 4 kB / 0.7611 GB, free: 1.316 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.958e-06/0.4855, allocations: 4 kB / 0.7611 GB, free: 1.312 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.129e-05/0.4855, allocations: 4 kB / 0.7611 GB, free: 1.309 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003722/0.4859, allocations: 43.91 kB / 0.7612 GB, free: 1.266 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.356e-05/0.4859, allocations: 8.156 kB / 0.7612 GB, free: 1.258 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003472/0.4863, allocations: 35.88 kB / 0.7612 GB, free: 1.223 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.743e-05/0.4864, allocations: 8 kB / 0.7612 GB, free: 1.215 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 31 ($PRE.heaCon.offToOn.enableFire,$PRE.heaCon.onToOff.enableFire,$whenCondition2,$whenCondition1,$PRE.heaCon.off.localActive,heaCon.off.localActive,$PRE.heaCon.off.newActive,heaCon.off.newActive,$PRE.heaCon.off.oldActive,heaCon.off.oldActive,heaCon.off.active,$PRE.heaCon.on.localActive,heaCon.on.localActive,$PRE.heaCon.on.newActive,heaCon.on.newActive,$PRE.heaCon.on.oldActive,heaCon.on.oldActive,heaCon.on.active,heaCon.offToOn.enableFire,heaCon.offToOn.fire,$PRE.heaCon.offToOn.t_start,heaCon.offToOn.t_start,heaCon.offToOn.condition,heaCon.onToOff.enableFire,heaCon.onToOff.fire,$PRE.heaCon.onToOff.t_start,heaCon.onToOff.t_start,heaCon.onToOff.condition,heaCon.stateGraphRoot.activeSteps,heaCon.stateGraphRoot.resume,heaCon.stateGraphRoot.suspend) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * 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.0001708/0.4865, allocations: 143.8 kB / 0.7613 GB, free: 1.066 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004998/0.4871, allocations: 197.5 kB / 0.7615 GB, free: 0.8672 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.77e-05/0.4871, allocations: 19.72 kB / 0.7616 GB, free: 0.8477 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006937/0.4878, allocations: 230 kB / 0.7618 GB, free: 0.6172 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/0.4878, allocations: 0 / 0.7618 GB, free: 0.6172 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.4879, allocations: 4 kB / 0.7618 GB, free: 0.6133 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.897e-06/0.4879, allocations: 3.984 kB / 0.7618 GB, free: 0.6094 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001409/0.4893, allocations: 0.6438 MB / 0.7624 GB, free: 15.92 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/0.4893, allocations: 0 / 0.7624 GB, free: 15.92 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002801/0.4896, allocations: 31.92 kB / 0.7624 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.845e-06/0.4896, allocations: 0 / 0.7624 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.053e-05/0.4897, allocations: 7.984 kB / 0.7624 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.241e-06/0.4897, allocations: 4 kB / 0.7624 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.322e-06/0.4897, allocations: 3.953 kB / 0.7625 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006289/0.4903, allocations: 307.2 kB / 0.7627 GB, free: 15.56 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 8.43e-05/0.4905, allocations: 100.8 kB / 0.7628 GB, free: 15.44 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.929e-05/0.4905, allocations: 0 / 0.7628 GB, free: 15.44 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000353/0.4909, allocations: 31.95 kB / 0.7629 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001609/0.4911, allocations: 43.94 kB / 0.7629 GB, free: 15.37 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.128e-05/0.4911, allocations: 19.94 kB / 0.7629 GB, free: 15.35 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001275/0.4912, allocations: 119.8 kB / 0.763 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.11e-07/0.4913, allocations: 0 / 0.763 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0005049/0.4918, allocations: 44 kB / 0.7631 GB, free: 15.19 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 21 (heaCon.offToOn.enableFire,heaCon.onToOff.enableFire,heaCon.on.localActive,heaCon.off.localActive,$cse1,$cse2,$whenCondition2,$whenCondition1,heaCon.off.newActive,heaCon.off.oldActive,heaCon.off.active,heaCon.on.newActive,heaCon.on.oldActive,heaCon.on.active,heaCon.offToOn.fire,heaCon.offToOn.t_start,heaCon.offToOn.condition,heaCon.onToOff.fire,heaCon.onToOff.t_start,heaCon.onToOff.condition,heaCon.stateGraphRoot.activeSteps) * Number of discrete states: 2 (heaCon.off.newActive,heaCon.on.newActive) * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001035/0.4928, allocations: 0.864 MB / 0.7639 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0005941/0.4934, allocations: 207.8 kB / 0.7641 GB, free: 14.1 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.4935, allocations: 0 / 0.7641 GB, free: 14.1 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002833/0.4937, allocations: 109 kB / 0.7642 GB, free: 13.99 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004168/0.4942, allocations: 23.08 kB / 0.7643 GB, free: 13.97 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00123/0.4954, allocations: 368.1 kB / 0.7646 GB, free: 13.57 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000407/0.4958, allocations: 0.7639 MB / 0.7654 GB, free: 12.78 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.000204/0.4961, allocations: 26.08 kB / 0.7654 GB, free: 12.76 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002253/0.4963, allocations: 83.39 kB / 0.7655 GB, free: 12.68 MB / 0.6511 GB Notification: Performance of SimCode: time 9.32e-07/0.4963, allocations: 0 / 0.7655 GB, free: 12.68 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04572/0.542, allocations: 4.448 MB / 0.7698 GB, free: 8.254 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003282/0.5424, allocations: 179.6 kB / 0.77 GB, free: 8.055 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.8/3.343, allocations: 0 / 0.77 GB, free: 8.055 MB / 0.6511 GB