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 Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.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 Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/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 loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01525/0.01525, allocations: 106.1 kB / 15.05 MB, free: 5.98 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001824/0.001823, allocations: 184 kB / 15.94 MB, free: 5.938 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 1.966/1.966, allocations: 194.5 MB / 211.2 MB, free: 11.29 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.318/2.318, allocations: 236.2 MB / 492.6 MB, free: 11.34 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004654/0.0004655, allocations: 12 kB / 0.587 GB, free: 2.074 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6411/0.6416, allocations: 98.71 MB / 0.6834 GB, free: 16.74 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2281/0.8698, allocations: 127.4 MB / 0.8078 GB, free: 14.81 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003591/0.8702, allocations: 91.94 kB / 0.8079 GB, free: 14.72 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01948/0.8897, allocations: 4.59 MB / 0.8124 GB, free: 10.1 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.054e-06/0.8897, allocations: 0 / 0.8124 GB, free: 10.1 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 3.219e-05/0.8898, allocations: 12.81 kB / 0.8124 GB, free: 10.09 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.001055/0.8908, allocations: 0.5201 MB / 0.8129 GB, free: 9.52 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.886e-05/0.8909, allocations: 12.03 kB / 0.8129 GB, free: 9.508 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001024/0.891, allocations: 62.55 kB / 0.813 GB, free: 9.438 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.548e-05/0.8911, allocations: 39.56 kB / 0.813 GB, free: 9.398 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004013/0.8915, allocations: 268.1 kB / 0.8133 GB, free: 9.098 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.89e-05/0.8916, allocations: 24.56 kB / 0.8133 GB, free: 9.074 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.415e-05/0.8917, allocations: 28 kB / 0.8133 GB, free: 9.047 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000859/0.8925, allocations: 307.7 kB / 0.8136 GB, free: 8.73 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.681e-05/0.8926, allocations: 4 kB / 0.8136 GB, free: 8.727 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.464e-05/0.8926, allocations: 11.98 kB / 0.8136 GB, free: 8.715 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.535e-05/0.8926, allocations: 8 kB / 0.8136 GB, free: 8.707 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008312/0.8935, allocations: 246 kB / 0.8139 GB, free: 8.469 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002376/0.8959, allocations: 0.9479 MB / 0.8148 GB, free: 7.461 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008499/0.8968, allocations: 250.6 kB / 0.815 GB, free: 7.211 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.957e-05/0.8968, allocations: 12.23 kB / 0.815 GB, free: 7.199 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004504/0.8973, allocations: 156.8 kB / 0.8152 GB, free: 7.035 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=30): time 2.855e-06/0.8973, allocations: 0 / 0.8152 GB, free: 7.035 MB / 0.6355 GB Notification: Performance of matching and sorting (n=30): time 0.001192/0.8985, allocations: 336.5 kB / 0.8155 GB, free: 6.703 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.534e-05/0.8986, allocations: 63.39 kB / 0.8156 GB, free: 6.629 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002613/0.8989, allocations: 182 kB / 0.8157 GB, free: 6.445 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.4e-05/0.899, allocations: 41.7 kB / 0.8158 GB, free: 6.398 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001312/0.8991, allocations: 144.7 kB / 0.8159 GB, free: 6.25 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001088/0.8992, allocations: 82.89 kB / 0.816 GB, free: 6.168 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.178e-05/0.8993, allocations: 12 kB / 0.816 GB, free: 6.156 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001385/0.8994, allocations: 330.8 kB / 0.8163 GB, free: 5.824 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003576/0.8998, allocations: 99.91 kB / 0.8164 GB, free: 5.727 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004001/0.9002, allocations: 161 kB / 0.8166 GB, free: 5.551 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003503/0.9006, allocations: 91.67 kB / 0.8167 GB, free: 5.461 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.274e-06/0.9006, allocations: 4 kB / 0.8167 GB, free: 5.457 MB / 0.6355 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009511/0.9015, allocations: 308.7 kB / 0.817 GB, free: 5.148 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.544e-05/0.9016, allocations: 8 kB / 0.817 GB, free: 5.141 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/0.9016, allocations: 0 / 0.817 GB, free: 5.141 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.388e-05/0.9016, allocations: 4 kB / 0.817 GB, free: 5.137 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000379/0.902, allocations: 43.91 kB / 0.817 GB, free: 5.094 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.468e-05/0.9021, allocations: 8.156 kB / 0.817 GB, free: 5.086 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000386/0.9025, allocations: 39.88 kB / 0.8171 GB, free: 5.047 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.278e-05/0.9025, allocations: 16 kB / 0.8171 GB, free: 5.031 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 () * Number of clocked 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.0002838/0.9028, allocations: 177.6 kB / 0.8173 GB, free: 4.848 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.755e-05/0.9029, allocations: 19.81 kB / 0.8173 GB, free: 4.828 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009152/0.9038, allocations: 292 kB / 0.8175 GB, free: 4.539 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/0.9038, allocations: 4 kB / 0.8176 GB, free: 4.535 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.775e-06/0.9039, allocations: 3.938 kB / 0.8176 GB, free: 4.531 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.208e-05/0.9039, allocations: 15.92 kB / 0.8176 GB, free: 4.516 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001689/0.9056, allocations: 0.7251 MB / 0.8183 GB, free: 3.734 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/0.9056, allocations: 0 / 0.8183 GB, free: 3.734 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003146/0.906, allocations: 39.91 kB / 0.8183 GB, free: 3.695 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.266e-06/0.906, allocations: 0 / 0.8183 GB, free: 3.695 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.121e-05/0.906, allocations: 8 kB / 0.8183 GB, free: 3.688 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.28e-06/0.906, allocations: 0 / 0.8183 GB, free: 3.688 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.906, allocations: 0 / 0.8183 GB, free: 3.688 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008355/0.9069, allocations: 363.7 kB / 0.8187 GB, free: 3.316 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.11e-05/0.907, allocations: 96.84 kB / 0.8188 GB, free: 3.203 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.619e-05/0.9071, allocations: 8 kB / 0.8188 GB, free: 3.195 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003644/0.9074, allocations: 31.97 kB / 0.8188 GB, free: 3.164 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001522/0.9076, allocations: 39.94 kB / 0.8188 GB, free: 3.125 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.669e-05/0.9076, allocations: 12 kB / 0.8189 GB, free: 3.113 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001656/0.9078, allocations: 136.3 kB / 0.819 GB, free: 2.98 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.665e-06/0.9078, allocations: 0 / 0.819 GB, free: 2.98 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004731/0.9083, allocations: 63.8 kB / 0.819 GB, free: 2.918 MB / 0.6355 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) * Number of clocked states: 0 () * 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.001242/0.9096, allocations: 0.9173 MB / 0.8199 GB, free: 1.973 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0009231/0.9105, allocations: 256 kB / 0.8202 GB, free: 1.723 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.858e-06/0.9106, allocations: 4 kB / 0.8202 GB, free: 1.719 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0004118/0.911, allocations: 127.9 kB / 0.8203 GB, free: 1.594 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004075/0.9114, allocations: 24.17 kB / 0.8203 GB, free: 1.57 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003794/0.9152, allocations: 2.172 MB / 0.8225 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003831/0.9157, allocations: 0.7683 MB / 0.8232 GB, free: 14.53 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002479/0.9159, allocations: 34.28 kB / 0.8232 GB, free: 14.49 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002383/0.9162, allocations: 83.41 kB / 0.8233 GB, free: 14.41 MB / 0.6511 GB Notification: Performance of SimCode: time 1.162e-06/0.9162, allocations: 0 / 0.8233 GB, free: 14.41 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03463/0.9508, allocations: 4.906 MB / 0.8281 GB, free: 9.652 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003394/0.9512, allocations: 226.2 kB / 0.8283 GB, free: 9.398 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.662/3.613, allocations: 3.75 kB / 0.8283 GB, free: 9.398 MB / 0.6511 GB