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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/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.141/4.141, allocations: 432.6 MB / 445.2 MB, free: 15.82 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.87e-05/3.88e-05, allocations: 4.766 kB / 0.5383 GB, free: 10.27 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2315/0.2316, allocations: 98.72 MB / 0.6347 GB, free: 1.906 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2372/0.4688, allocations: 127.3 MB / 0.759 GB, free: 2.457 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003518/0.4692, allocations: 99.86 kB / 0.7591 GB, free: 2.359 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01966/0.4889, allocations: 4.569 MB / 0.7636 GB, free: 13.76 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.533e-06/0.489, allocations: 0 / 0.7636 GB, free: 13.76 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.779e-05/0.489, allocations: 8 kB / 0.7636 GB, free: 13.75 MB / 0.6511 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.001008/0.49, allocations: 0.4982 MB / 0.7641 GB, free: 13.21 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.778e-05/0.4901, allocations: 12.03 kB / 0.7641 GB, free: 13.2 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001019/0.4902, allocations: 62.53 kB / 0.7641 GB, free: 13.13 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.48e-05/0.4903, allocations: 31.67 kB / 0.7642 GB, free: 13.1 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004254/0.4908, allocations: 275.1 kB / 0.7644 GB, free: 12.79 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.439e-05/0.4908, allocations: 24.56 kB / 0.7644 GB, free: 12.77 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.483e-05/0.4909, allocations: 31.98 kB / 0.7645 GB, free: 12.73 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007498/0.4917, allocations: 295.7 kB / 0.7648 GB, free: 12.43 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.442e-05/0.4917, allocations: 3.938 kB / 0.7648 GB, free: 12.43 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.668e-05/0.4917, allocations: 8 kB / 0.7648 GB, free: 12.42 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.049e-05/0.4918, allocations: 8 kB / 0.7648 GB, free: 12.41 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006394/0.4924, allocations: 214.2 kB / 0.765 GB, free: 12.21 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00234/0.4948, allocations: 0.944 MB / 0.7659 GB, free: 11.2 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007261/0.4955, allocations: 235.6 kB / 0.7661 GB, free: 10.96 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002833/0.4958, allocations: 109.2 kB / 0.7662 GB, free: 10.86 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 4.195e-05/0.4959, allocations: 8.234 kB / 0.7662 GB, free: 10.85 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003663/0.4963, allocations: 147.5 kB / 0.7664 GB, free: 10.69 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=30): time 3.226e-06/0.4963, allocations: 0 / 0.7664 GB, free: 10.69 MB / 0.6511 GB Notification: Performance of matching and sorting (n=30): time 0.0007005/0.497, allocations: 213.5 kB / 0.7666 GB, free: 10.48 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.351e-05/0.4971, allocations: 63.39 kB / 0.7666 GB, free: 10.4 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002619/0.4974, allocations: 181.5 kB / 0.7668 GB, free: 10.22 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 5.72e-05/0.4974, allocations: 37.7 kB / 0.7669 GB, free: 10.18 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001415/0.4976, allocations: 160.5 kB / 0.767 GB, free: 10.01 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 9.67e-05/0.4977, allocations: 75.06 kB / 0.7671 GB, free: 9.938 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.233e-05/0.4977, allocations: 8 kB / 0.7671 GB, free: 9.93 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.000141/0.4979, allocations: 338.8 kB / 0.7674 GB, free: 9.59 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002567/0.4982, allocations: 87.94 kB / 0.7675 GB, free: 9.504 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003035/0.4985, allocations: 133.1 kB / 0.7676 GB, free: 9.355 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002528/0.4987, allocations: 87.81 kB / 0.7677 GB, free: 9.27 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.63e-06/0.4988, allocations: 0 / 0.7677 GB, free: 9.27 MB / 0.6511 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0007189/0.4995, allocations: 284.4 kB / 0.768 GB, free: 8.984 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.089e-05/0.4995, allocations: 4 kB / 0.768 GB, free: 8.98 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/0.4995, allocations: 4 kB / 0.768 GB, free: 8.977 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.507e-05/0.4996, allocations: 4.156 kB / 0.768 GB, free: 8.973 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003802/0.5, allocations: 43.91 kB / 0.768 GB, free: 8.93 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.377e-05/0.5, allocations: 4 kB / 0.768 GB, free: 8.926 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003898/0.5004, allocations: 51.8 kB / 0.7681 GB, free: 8.875 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.956e-05/0.5005, allocations: 12 kB / 0.7681 GB, free: 8.863 MB / 0.6511 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.0001691/0.5007, allocations: 144 kB / 0.7682 GB, free: 8.715 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.793e-05/0.5007, allocations: 23.66 kB / 0.7683 GB, free: 8.691 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007291/0.5015, allocations: 264.3 kB / 0.7685 GB, free: 8.43 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.5015, allocations: 0 / 0.7685 GB, free: 8.43 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.5015, allocations: 0 / 0.7685 GB, free: 8.43 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.5015, allocations: 4 kB / 0.7685 GB, free: 8.426 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001495/0.503, allocations: 0.7093 MB / 0.7692 GB, free: 7.66 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.5031, allocations: 0 / 0.7692 GB, free: 7.66 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000287/0.5034, allocations: 31.92 kB / 0.7692 GB, free: 7.629 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.414e-06/0.5034, allocations: 0 / 0.7692 GB, free: 7.629 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.975e-05/0.5034, allocations: 7.984 kB / 0.7692 GB, free: 7.621 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.087e-06/0.5034, allocations: 4 kB / 0.7692 GB, free: 7.617 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.5034, allocations: 4 kB / 0.7693 GB, free: 7.613 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006162/0.5041, allocations: 327.2 kB / 0.7696 GB, free: 7.277 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 7.49e-05/0.5042, allocations: 96.83 kB / 0.7697 GB, free: 7.164 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.359e-05/0.5042, allocations: 7.984 kB / 0.7697 GB, free: 7.156 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004131/0.5046, allocations: 39.97 kB / 0.7697 GB, free: 7.117 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001552/0.5048, allocations: 47.86 kB / 0.7697 GB, free: 7.07 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.25e-05/0.5049, allocations: 4 kB / 0.7698 GB, free: 7.066 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001491/0.505, allocations: 136.3 kB / 0.7699 GB, free: 6.934 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5.11e-07/0.505, allocations: 0 / 0.7699 GB, free: 6.934 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004699/0.5055, allocations: 52 kB / 0.7699 GB, free: 6.883 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.00101/0.5065, allocations: 0.8991 MB / 0.7708 GB, free: 5.957 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0006479/0.5072, allocations: 227.8 kB / 0.771 GB, free: 5.734 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.5072, allocations: 4 kB / 0.771 GB, free: 5.73 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0003034/0.5075, allocations: 111.9 kB / 0.7711 GB, free: 5.621 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003812/0.5079, allocations: 32.42 kB / 0.7712 GB, free: 5.59 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001267/0.5092, allocations: 384.5 kB / 0.7715 GB, free: 5.18 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003839/0.5096, allocations: 0.7644 MB / 0.7723 GB, free: 4.387 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001998/0.5098, allocations: 30.06 kB / 0.7723 GB, free: 4.359 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002293/0.5101, allocations: 83.41 kB / 0.7724 GB, free: 4.277 MB / 0.6511 GB Notification: Performance of SimCode: time 1.032e-06/0.5101, allocations: 0 / 0.7724 GB, free: 4.277 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7218/1.232, allocations: 4.951 MB / 0.7772 GB, free: 138.9 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002275/1.232, allocations: 182.5 kB / 0.7774 GB, free: 138.7 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.586/3.819, allocations: 5.094 kB / 0.7774 GB, free: 138.7 MB / 0.6511 GB