Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.926/1.926, allocations: 288.2 MB / 303.2 MB, free: 8.105 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001048/0.001048, allocations: 178.2 kB / 371.8 MB, free: 10.15 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.512/1.512, allocations: 205.4 MB / 0.6305 GB, free: 9.992 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008763/0.0008762, allocations: 96.41 kB / 0.7439 GB, free: 5.922 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004032/0.0004032, allocations: 10.94 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2312/0.2316, allocations: 115.3 MB / 0.9795 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.728/0.9597, allocations: 141 MB / 1.117 GB, free: 16.41 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002785/0.96, allocations: 97.23 kB / 1.117 GB, free: 16.41 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01205/0.9721, allocations: 4.702 MB / 1.122 GB, free: 31.79 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.275e-06/0.9721, allocations: 4 kB / 1.122 GB, free: 31.79 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.033e-05/0.9722, allocations: 7.719 kB / 1.122 GB, free: 31.79 MB / 0.698 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.0007603/0.9729, allocations: 0.5157 MB / 1.122 GB, free: 31.37 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/0.973, allocations: 11.53 kB / 1.122 GB, free: 31.37 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.952e-05/0.9731, allocations: 63.89 kB / 1.122 GB, free: 31.33 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.954e-05/0.9731, allocations: 42.27 kB / 1.122 GB, free: 31.3 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003094/0.9735, allocations: 265.4 kB / 1.123 GB, free: 31.09 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.692e-05/0.9735, allocations: 26.69 kB / 1.123 GB, free: 31.09 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.871e-05/0.9735, allocations: 32.12 kB / 1.123 GB, free: 31.09 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005208/0.9741, allocations: 313.8 kB / 1.123 GB, free: 31.03 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.47e-05/0.9741, allocations: 3.938 kB / 1.123 GB, free: 31.02 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.977e-05/0.9741, allocations: 10.69 kB / 1.123 GB, free: 31.02 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.748e-06/0.9741, allocations: 11.67 kB / 1.123 GB, free: 31.02 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004314/0.9746, allocations: 238.8 kB / 1.123 GB, free: 31.02 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001429/0.976, allocations: 0.9533 MB / 1.124 GB, free: 30.61 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004489/0.9765, allocations: 260 kB / 1.124 GB, free: 30.57 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.435e-05/0.9765, allocations: 4.234 kB / 1.124 GB, free: 30.57 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002579/0.9768, allocations: 170.7 kB / 1.125 GB, free: 30.51 MB / 0.698 GB Notification: Performance of pre-optimization done (n=30): time 2.104e-06/0.9768, allocations: 0 / 1.125 GB, free: 30.51 MB / 0.698 GB Notification: Performance of matching and sorting (n=30): time 0.0006312/0.9774, allocations: 330.5 kB / 1.125 GB, free: 30.46 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.409e-05/0.9775, allocations: 58.72 kB / 1.125 GB, free: 30.4 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001566/0.9776, allocations: 188.1 kB / 1.125 GB, free: 30.29 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.46e-05/0.9777, allocations: 42.42 kB / 1.125 GB, free: 30.26 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 8.069e-05/0.9778, allocations: 154.3 kB / 1.125 GB, free: 30.16 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.776e-05/0.9778, allocations: 77.89 kB / 1.125 GB, free: 30.11 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.388e-05/0.9779, allocations: 3.812 kB / 1.125 GB, free: 30.11 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001012/0.978, allocations: 336 kB / 1.126 GB, free: 29.8 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001762/0.9781, allocations: 98.61 kB / 1.126 GB, free: 29.8 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001945/0.9783, allocations: 152.7 kB / 1.126 GB, free: 29.74 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001782/0.9785, allocations: 103.2 kB / 1.126 GB, free: 29.73 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.9785, allocations: 0 / 1.126 GB, free: 29.73 MB / 0.698 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0004868/0.979, allocations: 307.5 kB / 1.126 GB, free: 29.67 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.9791, allocations: 7.844 kB / 1.126 GB, free: 29.67 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.9791, allocations: 2.719 kB / 1.126 GB, free: 29.67 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.184e-05/0.9791, allocations: 3.812 kB / 1.126 GB, free: 29.67 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001939/0.9793, allocations: 43.3 kB / 1.126 GB, free: 29.66 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/0.9793, allocations: 2.828 kB / 1.126 GB, free: 29.66 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002006/0.9795, allocations: 53.95 kB / 1.127 GB, free: 29.65 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.218e-05/0.9796, allocations: 11.67 kB / 1.127 GB, free: 29.65 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.0001633/0.9797, allocations: 178.9 kB / 1.127 GB, free: 29.52 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.776e-05/0.9798, allocations: 19.41 kB / 1.127 GB, free: 29.51 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004942/0.9803, allocations: 285.8 kB / 1.127 GB, free: 29.46 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.087e-06/0.9803, allocations: 0 / 1.127 GB, free: 29.46 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.9803, allocations: 3.938 kB / 1.127 GB, free: 29.46 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.159e-06/0.9803, allocations: 2.672 kB / 1.127 GB, free: 29.46 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009073/0.9812, allocations: 0.7274 MB / 1.128 GB, free: 29.14 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.9812, allocations: 0 / 1.128 GB, free: 29.14 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001429/0.9814, allocations: 32.95 kB / 1.128 GB, free: 29.14 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.9814, allocations: 3.906 kB / 1.128 GB, free: 29.14 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.999e-05/0.9814, allocations: 7 kB / 1.128 GB, free: 29.14 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/0.9814, allocations: 7.859 kB / 1.128 GB, free: 29.13 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.9814, allocations: 0 / 1.128 GB, free: 29.13 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004385/0.9819, allocations: 366.8 kB / 1.128 GB, free: 28.98 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.009e-05/0.9819, allocations: 100.5 kB / 1.128 GB, free: 28.86 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.387e-05/0.982, allocations: 7.188 kB / 1.128 GB, free: 28.86 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000197/0.9822, allocations: 34.64 kB / 1.128 GB, free: 28.86 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.455e-05/0.9823, allocations: 49.28 kB / 1.128 GB, free: 28.86 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.911e-05/0.9823, allocations: 6.172 kB / 1.128 GB, free: 28.86 MB / 0.698 GB Notification: Performance of sorting global known variables: time 9.979e-05/0.9824, allocations: 141.2 kB / 1.128 GB, free: 28.77 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9824, allocations: 0 / 1.128 GB, free: 28.77 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003066/0.9827, allocations: 60.25 kB / 1.129 GB, free: 28.77 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.000854/0.9836, allocations: 0.9022 MB / 1.129 GB, free: 28.09 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004561/0.9841, allocations: 258.1 kB / 1.13 GB, free: 28.08 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.9841, allocations: 0 / 1.13 GB, free: 28.08 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002077/0.9843, allocations: 130.5 kB / 1.13 GB, free: 28.07 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002746/0.9846, allocations: 39.95 kB / 1.13 GB, free: 28.06 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002378/0.987, allocations: 2.178 MB / 1.132 GB, free: 26.7 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003516/0.9873, allocations: 0.7706 MB / 1.133 GB, free: 26 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001244/0.9875, allocations: 31.88 kB / 1.133 GB, free: 25.98 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001342/0.9876, allocations: 89.25 kB / 1.133 GB, free: 25.98 MB / 0.698 GB Notification: Performance of SimCode: time 7.01e-07/0.9876, allocations: 0 / 1.133 GB, free: 25.98 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01746/1.005, allocations: 4.936 MB / 1.138 GB, free: 24.13 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001505/1.005, allocations: 214.8 kB / 1.138 GB, free: 23.89 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.874/2.879, allocations: 0 / 1.138 GB, free: 23.89 MB / 0.698 GB (rm -f Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat.fmu > Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe 2>&1)