Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.conf.json Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat,fileNamePrefix="Buildings_7_0_0_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.279/2.279, allocations: 248.5 MB / 261.1 MB, free: 5.988 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001514/0.001514, allocations: 172.8 kB / 320.4 MB, free: 15.32 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.967/1.967, allocations: 205.2 MB / 0.571 GB, free: 11.73 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001129/0.001129, allocations: 97.75 kB / 0.6754 GB, free: 0.8125 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.022e-05/4.047e-05, allocations: 4 kB / 0.7869 GB, free: 97.75 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.209/0.209, allocations: 106.2 MB / 0.8907 GB, free: 7.418 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8366/1.046, allocations: 134.4 MB / 1.022 GB, free: 0.832 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003486/1.046, allocations: 86.94 kB / 1.022 GB, free: 0.7812 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01919/1.065, allocations: 4.698 MB / 1.027 GB, free: 12.78 MB / 0.6511 GB Notification: Performance of FrontEnd: time 5.33e-06/1.065, allocations: 0 / 1.027 GB, free: 12.78 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.367e-05/1.065, allocations: 11.56 kB / 1.027 GB, free: 12.77 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.0009917/1.066, allocations: 0.5028 MB / 1.027 GB, free: 12.24 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.086e-05/1.066, allocations: 12.03 kB / 1.027 GB, free: 12.23 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.495e-05/1.067, allocations: 58.98 kB / 1.027 GB, free: 12.18 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.315e-05/1.067, allocations: 35.61 kB / 1.027 GB, free: 12.14 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004169/1.067, allocations: 265.6 kB / 1.027 GB, free: 11.88 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.889e-05/1.067, allocations: 22.94 kB / 1.027 GB, free: 11.87 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.275e-05/1.067, allocations: 33.62 kB / 1.028 GB, free: 11.84 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007465/1.068, allocations: 303.4 kB / 1.028 GB, free: 11.62 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.891e-05/1.068, allocations: 3.953 kB / 1.028 GB, free: 11.62 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.341e-05/1.068, allocations: 10.94 kB / 1.028 GB, free: 11.62 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.263e-05/1.068, allocations: 4 kB / 1.028 GB, free: 11.61 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000618/1.069, allocations: 216.8 kB / 1.028 GB, free: 11.48 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002231/1.071, allocations: 0.9518 MB / 1.029 GB, free: 10.68 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007066/1.072, allocations: 239.3 kB / 1.029 GB, free: 10.51 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000268/1.072, allocations: 107.5 kB / 1.029 GB, free: 10.44 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 4.109e-05/1.072, allocations: 4.234 kB / 1.029 GB, free: 10.44 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003546/1.072, allocations: 148.5 kB / 1.029 GB, free: 10.32 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=30): time 2.916e-06/1.072, allocations: 0 / 1.029 GB, free: 10.32 MB / 0.6511 GB Notification: Performance of matching and sorting (n=30): time 0.0006242/1.073, allocations: 228.4 kB / 1.03 GB, free: 10.14 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.982e-05/1.073, allocations: 55.41 kB / 1.03 GB, free: 10.07 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002351/1.073, allocations: 189.3 kB / 1.03 GB, free: 9.906 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 5.251e-05/1.073, allocations: 36.95 kB / 1.03 GB, free: 9.871 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001345/1.074, allocations: 156.2 kB / 1.03 GB, free: 9.734 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 9.215e-05/1.074, allocations: 77.11 kB / 1.03 GB, free: 9.672 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.449e-05/1.074, allocations: 7.625 kB / 1.03 GB, free: 9.668 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001393/1.074, allocations: 337.1 kB / 1.03 GB, free: 9.34 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002405/1.074, allocations: 78.94 kB / 1.031 GB, free: 9.293 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003031/1.074, allocations: 140.2 kB / 1.031 GB, free: 9.176 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002467/1.075, allocations: 86.47 kB / 1.031 GB, free: 9.117 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/1.075, allocations: 0 / 1.031 GB, free: 9.117 MB / 0.6511 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0006918/1.075, allocations: 277 kB / 1.031 GB, free: 8.902 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/1.075, allocations: 4 kB / 1.031 GB, free: 8.898 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/1.075, allocations: 4 kB / 1.031 GB, free: 8.895 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.128e-05/1.075, allocations: 0 / 1.031 GB, free: 8.895 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000354/1.076, allocations: 54.95 kB / 1.031 GB, free: 8.844 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.083e-05/1.076, allocations: 0 / 1.031 GB, free: 8.844 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003683/1.076, allocations: 50.81 kB / 1.031 GB, free: 8.801 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.873e-05/1.076, allocations: 19.55 kB / 1.031 GB, free: 8.785 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.0001509/1.076, allocations: 138.6 kB / 1.031 GB, free: 8.656 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.177e-05/1.077, allocations: 27.66 kB / 1.031 GB, free: 8.629 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006713/1.077, allocations: 250.4 kB / 1.032 GB, free: 8.445 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.935e-06/1.077, allocations: 4 kB / 1.032 GB, free: 8.441 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/1.077, allocations: 3.953 kB / 1.032 GB, free: 8.438 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.137e-06/1.077, allocations: 3.984 kB / 1.032 GB, free: 8.434 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001431/1.079, allocations: 0.7061 MB / 1.032 GB, free: 7.816 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/1.079, allocations: 4 kB / 1.032 GB, free: 7.812 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002744/1.079, allocations: 35.05 kB / 1.032 GB, free: 7.781 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.047e-06/1.079, allocations: 3.953 kB / 1.032 GB, free: 7.777 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.613e-05/1.079, allocations: 7.875 kB / 1.032 GB, free: 7.773 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/1.079, allocations: 0 / 1.032 GB, free: 7.773 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/1.079, allocations: 3.984 kB / 1.032 GB, free: 7.77 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005903/1.08, allocations: 336.8 kB / 1.033 GB, free: 7.477 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.975e-05/1.08, allocations: 92.83 kB / 1.033 GB, free: 7.367 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.56e-05/1.08, allocations: 11.83 kB / 1.033 GB, free: 7.359 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003631/1.08, allocations: 39.7 kB / 1.033 GB, free: 7.324 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001414/1.08, allocations: 35.08 kB / 1.033 GB, free: 7.297 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.35e-05/1.08, allocations: 15.73 kB / 1.033 GB, free: 7.285 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001462/1.081, allocations: 133.5 kB / 1.033 GB, free: 7.168 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.21e-07/1.081, allocations: 0 / 1.033 GB, free: 7.168 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004269/1.081, allocations: 54.62 kB / 1.033 GB, free: 7.125 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.0009901/1.082, allocations: 0.8829 MB / 1.034 GB, free: 6.273 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0006162/1.083, allocations: 232.5 kB / 1.034 GB, free: 6.109 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/1.083, allocations: 0 / 1.034 GB, free: 6.109 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002994/1.083, allocations: 114 kB / 1.034 GB, free: 6.031 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003803/1.083, allocations: 46.48 kB / 1.034 GB, free: 5.996 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001192/1.085, allocations: 388.1 kB / 1.035 GB, free: 5.645 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000393/1.085, allocations: 0.7683 MB / 1.035 GB, free: 4.848 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001885/1.085, allocations: 22.06 kB / 1.035 GB, free: 4.828 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002107/1.085, allocations: 87.22 kB / 1.035 GB, free: 4.797 MB / 0.6511 GB Notification: Performance of SimCode: time 9.92e-07/1.085, allocations: 0 / 1.035 GB, free: 4.797 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02838/1.114, allocations: 4.959 MB / 1.04 GB, free: 8 kB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002366/1.114, allocations: 185 kB / 1.04 GB, free: 15.79 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.374/3.488, allocations: 2.188 kB / 1.04 GB, free: 15.79 MB / 0.6667 GB