Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat,fileNamePrefix="Buildings_maint_7_0_x_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.3-maint.7.0.x/package.mo): time 1.425/1.425, allocations: 249.5 MB / 257 MB, free: 6.832 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.001154/0.001154, allocations: 184.8 kB / 316.3 MB, free: 3.242 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.798/1.798, allocations: 205.3 MB / 0.5671 GB, free: 15.89 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.0009328/0.0009328, allocations: 78.5 kB / 0.6714 GB, free: 5.016 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.993e-05/2.004e-05, allocations: 0 / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2379/0.2379, allocations: 106.3 MB / 0.8853 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7671/1.005, allocations: 134.9 MB / 1.017 GB, free: 2.641 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002834/1.005, allocations: 92.81 kB / 1.017 GB, free: 2.586 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01337/1.019, allocations: 4.624 MB / 1.022 GB, free: 14.72 MB / 0.6511 GB Notification: Performance of FrontEnd: time 3.176e-06/1.019, allocations: 0 / 1.022 GB, free: 14.72 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.265e-05/1.019, allocations: 4 kB / 1.022 GB, free: 14.71 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.0009663/1.02, allocations: 0.5129 MB / 1.022 GB, free: 14.18 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 6.663e-05/1.02, allocations: 8.031 kB / 1.022 GB, free: 14.17 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.965e-05/1.02, allocations: 31.62 kB / 1.022 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004047/1.02, allocations: 266.6 kB / 1.022 GB, free: 13.87 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.459e-05/1.021, allocations: 8 kB / 1.022 GB, free: 13.86 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.955e-05/1.021, allocations: 20 kB / 1.022 GB, free: 13.84 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004205/1.021, allocations: 197.1 kB / 1.023 GB, free: 13.73 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004397/1.021, allocations: 264.7 kB / 1.023 GB, free: 13.53 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.401e-05/1.021, allocations: 0 / 1.023 GB, free: 13.53 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.893e-05/1.022, allocations: 3.953 kB / 1.023 GB, free: 13.52 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.325e-05/1.022, allocations: 8 kB / 1.023 GB, free: 13.52 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001485/1.023, allocations: 0.8999 MB / 1.024 GB, free: 12.76 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004012/1.023, allocations: 225.8 kB / 1.024 GB, free: 12.6 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001443/1.024, allocations: 97.81 kB / 1.024 GB, free: 12.54 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.912e-05/1.024, allocations: 3.422 kB / 1.024 GB, free: 12.54 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002262/1.024, allocations: 140 kB / 1.024 GB, free: 12.42 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=30): time 1.523e-06/1.024, allocations: 0 / 1.024 GB, free: 12.42 MB / 0.6511 GB Notification: Performance of matching and sorting (n=30): time 0.0003918/1.024, allocations: 201.2 kB / 1.024 GB, free: 12.26 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.676e-05/1.024, allocations: 59.39 kB / 1.024 GB, free: 12.19 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001562/1.025, allocations: 173.5 kB / 1.025 GB, free: 12.04 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 4.09e-05/1.025, allocations: 33.27 kB / 1.025 GB, free: 12.01 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001006/1.025, allocations: 153.3 kB / 1.025 GB, free: 11.87 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 6.461e-05/1.025, allocations: 68.44 kB / 1.025 GB, free: 11.81 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.355e-05/1.025, allocations: 0 / 1.025 GB, free: 11.81 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001291/1.025, allocations: 340.1 kB / 1.025 GB, free: 11.48 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001253/1.025, allocations: 80.45 kB / 1.025 GB, free: 11.43 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001571/1.025, allocations: 125.7 kB / 1.025 GB, free: 11.33 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001251/1.025, allocations: 84.03 kB / 1.025 GB, free: 11.27 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/1.025, allocations: 0 / 1.025 GB, free: 11.27 MB / 0.6511 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0003698/1.026, allocations: 249.8 kB / 1.026 GB, free: 11.07 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/1.026, allocations: 4 kB / 1.026 GB, free: 11.07 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/1.026, allocations: 4 kB / 1.026 GB, free: 11.07 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/1.026, allocations: 4 kB / 1.026 GB, free: 11.06 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002049/1.026, allocations: 47.33 kB / 1.026 GB, free: 11.02 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.684e-06/1.026, allocations: 8.156 kB / 1.026 GB, free: 11.01 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001945/1.026, allocations: 35.81 kB / 1.026 GB, free: 10.98 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.507e-05/1.026, allocations: 15.31 kB / 1.026 GB, free: 10.96 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.00012/1.026, allocations: 135 kB / 1.026 GB, free: 10.83 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002851/1.027, allocations: 194.2 kB / 1.026 GB, free: 10.67 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.051e-05/1.027, allocations: 23.72 kB / 1.026 GB, free: 10.65 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000428/1.027, allocations: 230.6 kB / 1.026 GB, free: 10.48 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/1.027, allocations: 4 kB / 1.026 GB, free: 10.48 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/1.027, allocations: 0 / 1.026 GB, free: 10.48 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.564e-06/1.027, allocations: 7.891 kB / 1.026 GB, free: 10.47 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008/1.028, allocations: 0.6289 MB / 1.027 GB, free: 9.918 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/1.028, allocations: 0 / 1.027 GB, free: 9.918 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001432/1.028, allocations: 30.98 kB / 1.027 GB, free: 9.891 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/1.028, allocations: 4 kB / 1.027 GB, free: 9.887 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.037e-05/1.028, allocations: 7.938 kB / 1.027 GB, free: 9.879 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/1.028, allocations: 4 kB / 1.027 GB, free: 9.875 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/1.028, allocations: 0 / 1.027 GB, free: 9.875 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003526/1.029, allocations: 329.5 kB / 1.027 GB, free: 9.586 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.524e-05/1.029, allocations: 92.91 kB / 1.027 GB, free: 9.477 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.384e-05/1.029, allocations: 4 kB / 1.027 GB, free: 9.473 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001975/1.029, allocations: 31.92 kB / 1.028 GB, free: 9.441 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.511e-05/1.029, allocations: 42.19 kB / 1.028 GB, free: 9.406 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.775e-05/1.029, allocations: 7.062 kB / 1.028 GB, free: 9.402 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 7.509e-05/1.029, allocations: 118.3 kB / 1.028 GB, free: 9.301 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.2e-07/1.029, allocations: 0 / 1.028 GB, free: 9.301 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003028/1.029, allocations: 51.84 kB / 1.028 GB, free: 9.25 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.0006418/1.03, allocations: 0.8616 MB / 1.029 GB, free: 8.41 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003228/1.03, allocations: 209.2 kB / 1.029 GB, free: 8.27 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/1.03, allocations: 0 / 1.029 GB, free: 8.27 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001495/1.031, allocations: 104 kB / 1.029 GB, free: 8.199 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002698/1.031, allocations: 34.61 kB / 1.029 GB, free: 8.172 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007843/1.032, allocations: 369.6 kB / 1.029 GB, free: 7.824 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003225/1.032, allocations: 0.7639 MB / 1.03 GB, free: 7.031 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001128/1.032, allocations: 30.06 kB / 1.03 GB, free: 7.004 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001269/1.032, allocations: 81.72 kB / 1.03 GB, free: 6.973 MB / 0.6511 GB Notification: Performance of SimCode: time 2.71e-07/1.032, allocations: 0 / 1.03 GB, free: 6.973 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02279/1.055, allocations: 4.444 MB / 1.034 GB, free: 2.582 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002035/1.055, allocations: 181.6 kB / 1.035 GB, free: 2.391 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.732/2.787, allocations: 2.672 kB / 1.035 GB, free: 2.391 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat.fmu > Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe 2>&1)