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.477/1.477, allocations: 251.9 MB / 266.8 MB, free: 11 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001181/0.001181, allocations: 178.8 kB / 326.5 MB, free: 2.234 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.935/1.935, allocations: 205.4 MB / 0.5775 GB, free: 20.5 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.0008624/0.0008623, allocations: 103.7 kB / 0.6821 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003713/0.0003713, allocations: 8.219 kB / 0.7963 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.24/0.2404, allocations: 106.3 MB / 0.9002 GB, free: 64.23 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1858/0.4263, allocations: 134.7 MB / 1.032 GB, free: 9.391 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003567/0.4267, allocations: 95.94 kB / 1.032 GB, free: 9.297 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01308/0.4398, allocations: 4.709 MB / 1.036 GB, free: 4.559 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.745e-06/0.4399, allocations: 0 / 1.036 GB, free: 4.559 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.421e-05/0.4399, allocations: 8 kB / 1.036 GB, free: 4.551 MB / 0.6823 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.0008431/0.4408, allocations: 0.5279 MB / 1.037 GB, free: 3.965 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.001e-05/0.4408, allocations: 8.031 kB / 1.037 GB, free: 3.957 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.997e-05/0.4409, allocations: 58.55 kB / 1.037 GB, free: 3.891 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.978e-05/0.441, allocations: 35.61 kB / 1.037 GB, free: 3.855 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003771/0.4414, allocations: 262.6 kB / 1.037 GB, free: 3.559 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.443e-05/0.4414, allocations: 24.56 kB / 1.037 GB, free: 3.535 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.086e-05/0.4415, allocations: 32 kB / 1.037 GB, free: 3.504 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005952/0.4421, allocations: 315.6 kB / 1.038 GB, free: 3.184 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.4421, allocations: 0 / 1.038 GB, free: 3.184 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.418e-05/0.4421, allocations: 19.89 kB / 1.038 GB, free: 3.164 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.375e-05/0.4422, allocations: 7.984 kB / 1.038 GB, free: 3.156 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000504/0.4427, allocations: 250.1 kB / 1.038 GB, free: 2.914 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001651/0.4443, allocations: 0.9521 MB / 1.039 GB, free: 1.898 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005207/0.4449, allocations: 254.2 kB / 1.039 GB, free: 1.645 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.976e-05/0.4449, allocations: 8.234 kB / 1.039 GB, free: 1.637 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003303/0.4452, allocations: 153.9 kB / 1.039 GB, free: 1.477 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=30): time 4.018e-06/0.4453, allocations: 7.984 kB / 1.039 GB, free: 1.469 MB / 0.6823 GB Notification: Performance of matching and sorting (n=30): time 0.00076/0.446, allocations: 341.2 kB / 1.04 GB, free: 1.129 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.862e-05/0.4461, allocations: 63.36 kB / 1.04 GB, free: 1.055 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001917/0.4463, allocations: 181.4 kB / 1.04 GB, free: 0.8672 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.394e-05/0.4464, allocations: 45.69 kB / 1.04 GB, free: 0.8164 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001215/0.4465, allocations: 152.6 kB / 1.04 GB, free: 0.6641 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 8.079e-05/0.4466, allocations: 75.05 kB / 1.04 GB, free: 0.5898 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.602e-05/0.4466, allocations: 4 kB / 1.04 GB, free: 0.5859 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001524/0.4468, allocations: 338.8 kB / 1.04 GB, free: 252 kB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001967/0.447, allocations: 95.95 kB / 1.04 GB, free: 156 kB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002622/0.4472, allocations: 145.1 kB / 1.041 GB, free: 15.99 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002068/0.4475, allocations: 103.7 kB / 1.041 GB, free: 15.89 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.4475, allocations: 3.938 kB / 1.041 GB, free: 15.89 MB / 0.698 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005483/0.448, allocations: 308.7 kB / 1.041 GB, free: 15.58 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.328e-05/0.4481, allocations: 4 kB / 1.041 GB, free: 15.57 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/0.4481, allocations: 8.141 kB / 1.041 GB, free: 15.57 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.163e-05/0.4481, allocations: 4 kB / 1.041 GB, free: 15.56 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002063/0.4483, allocations: 35.92 kB / 1.041 GB, free: 15.53 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.401e-05/0.4483, allocations: 11.97 kB / 1.041 GB, free: 15.52 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002238/0.4486, allocations: 51.77 kB / 1.041 GB, free: 15.46 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.033e-05/0.4486, allocations: 20 kB / 1.041 GB, free: 15.45 MB / 0.698 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.0001962/0.4488, allocations: 165.8 kB / 1.041 GB, free: 15.27 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.601e-05/0.4489, allocations: 19.72 kB / 1.041 GB, free: 15.25 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005791/0.4494, allocations: 292.1 kB / 1.042 GB, free: 14.96 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/0.4495, allocations: 4 kB / 1.042 GB, free: 14.96 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.4495, allocations: 0 / 1.042 GB, free: 14.96 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.4495, allocations: 0 / 1.042 GB, free: 14.96 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001035/0.4505, allocations: 0.7336 MB / 1.042 GB, free: 14.17 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.4505, allocations: 3.984 kB / 1.042 GB, free: 14.17 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001467/0.4507, allocations: 31.92 kB / 1.042 GB, free: 14.14 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.831e-06/0.4507, allocations: 4 kB / 1.042 GB, free: 14.13 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.408e-05/0.4507, allocations: 11.94 kB / 1.042 GB, free: 14.12 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.4508, allocations: 4 kB / 1.042 GB, free: 14.12 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.4508, allocations: 0 / 1.042 GB, free: 14.12 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005174/0.4513, allocations: 351.2 kB / 1.043 GB, free: 13.76 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.252e-05/0.4514, allocations: 104.7 kB / 1.043 GB, free: 13.64 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.73e-05/0.4514, allocations: 8 kB / 1.043 GB, free: 13.63 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000213/0.4516, allocations: 47.91 kB / 1.043 GB, free: 13.58 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001056/0.4517, allocations: 31.95 kB / 1.043 GB, free: 13.55 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.427e-05/0.4518, allocations: 11.98 kB / 1.043 GB, free: 13.54 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001179/0.4519, allocations: 140.1 kB / 1.043 GB, free: 13.4 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.1e-07/0.4519, allocations: 0 / 1.043 GB, free: 13.4 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003305/0.4522, allocations: 63.98 kB / 1.043 GB, free: 13.34 MB / 0.698 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.0008069/0.4531, allocations: 0.9097 MB / 1.044 GB, free: 12.4 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004856/0.4536, allocations: 255.8 kB / 1.044 GB, free: 12.15 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.4536, allocations: 0 / 1.044 GB, free: 12.15 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000225/0.4538, allocations: 132.2 kB / 1.044 GB, free: 12.02 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002744/0.4541, allocations: 34.16 kB / 1.044 GB, free: 11.99 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002478/0.4566, allocations: 2.168 MB / 1.046 GB, free: 9.75 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003356/0.4569, allocations: 0.7683 MB / 1.047 GB, free: 8.957 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001273/0.4571, allocations: 34.28 kB / 1.047 GB, free: 8.926 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001813/0.4573, allocations: 83.41 kB / 1.047 GB, free: 8.844 MB / 0.698 GB Notification: Performance of SimCode: time 1.162e-06/0.4573, allocations: 4 kB / 1.047 GB, free: 8.84 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01712/0.4744, allocations: 4.929 MB / 1.052 GB, free: 4.137 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000195/0.4746, allocations: 221.8 kB / 1.052 GB, free: 3.895 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.83/2.305, allocations: 0 / 1.052 GB, free: 3.895 MB / 0.698 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)