Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat,fileNamePrefix="Buildings_8_0_0_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat,fileNamePrefix="Buildings_8_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 8.0.0/package.mo): time 2.422/2.422, allocations: 284.9 MB / 292.4 MB, free: 10.57 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.001459/0.001459, allocations: 188.9 kB / 360.6 MB, free: 7.273 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.017/2.017, allocations: 205.3 MB / 0.6191 GB, free: 12.17 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001109/0.001108, allocations: 99.19 kB / 0.7321 GB, free: 44.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.461e-05/2.46e-05, allocations: 4 kB / 0.8509 GB, free: 3.316 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8032/0.8032, allocations: 115.3 MB / 0.9634 GB, free: 78.68 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.238/1.041, allocations: 140 MB / 1.1 GB, free: 488 kB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003089/1.042, allocations: 91.94 kB / 1.1 GB, free: 396 kB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.0192/1.061, allocations: 4.623 MB / 1.105 GB, free: 11.82 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.503e-06/1.061, allocations: 7.938 kB / 1.105 GB, free: 11.82 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.373e-05/1.061, allocations: 4 kB / 1.105 GB, free: 11.81 MB / 0.7136 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.0009858/1.062, allocations: 0.5068 MB / 1.105 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.943e-05/1.062, allocations: 8.031 kB / 1.105 GB, free: 11.26 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001032/1.062, allocations: 31.62 kB / 1.105 GB, free: 11.23 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004404/1.063, allocations: 263.2 kB / 1.106 GB, free: 10.93 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.588e-05/1.063, allocations: 15.94 kB / 1.106 GB, free: 10.91 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.221e-05/1.063, allocations: 18.62 kB / 1.106 GB, free: 10.9 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006493/1.063, allocations: 205 kB / 1.106 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006683/1.064, allocations: 258.6 kB / 1.106 GB, free: 10.43 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.433e-05/1.064, allocations: 0 / 1.106 GB, free: 10.43 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.947e-05/1.064, allocations: 3.953 kB / 1.106 GB, free: 10.43 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.344e-05/1.064, allocations: 8 kB / 1.106 GB, free: 10.42 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002226/1.066, allocations: 0.887 MB / 1.107 GB, free: 9.488 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006564/1.067, allocations: 225.2 kB / 1.107 GB, free: 9.262 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002715/1.067, allocations: 96.16 kB / 1.107 GB, free: 9.168 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.595e-05/1.067, allocations: 4.234 kB / 1.107 GB, free: 9.164 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003406/1.068, allocations: 147.5 kB / 1.107 GB, free: 9.008 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=30): time 2.935e-06/1.068, allocations: 0 / 1.107 GB, free: 9.008 MB / 0.7136 GB Notification: Performance of matching and sorting (n=30): time 0.000598/1.068, allocations: 201.4 kB / 1.108 GB, free: 8.805 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.533e-05/1.068, allocations: 55.41 kB / 1.108 GB, free: 8.738 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002185/1.069, allocations: 166.2 kB / 1.108 GB, free: 8.57 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.52e-05/1.069, allocations: 33.7 kB / 1.108 GB, free: 8.531 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001352/1.069, allocations: 152.9 kB / 1.108 GB, free: 8.375 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 9.648e-05/1.069, allocations: 71.06 kB / 1.108 GB, free: 8.305 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.161e-05/1.069, allocations: 0 / 1.108 GB, free: 8.305 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001563/1.069, allocations: 338.8 kB / 1.108 GB, free: 7.965 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002268/1.069, allocations: 79.98 kB / 1.108 GB, free: 7.887 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002686/1.07, allocations: 121.1 kB / 1.109 GB, free: 7.75 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002217/1.07, allocations: 83.66 kB / 1.109 GB, free: 7.668 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/1.07, allocations: 0 / 1.109 GB, free: 7.668 MB / 0.7136 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0006309/1.071, allocations: 244.8 kB / 1.109 GB, free: 7.422 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.117e-05/1.071, allocations: 5.406 kB / 1.109 GB, free: 7.418 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/1.071, allocations: 7.688 kB / 1.109 GB, free: 7.414 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.79e-05/1.071, allocations: 0 / 1.109 GB, free: 7.414 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003539/1.071, allocations: 57.97 kB / 1.109 GB, free: 7.359 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.241e-05/1.071, allocations: 0 / 1.109 GB, free: 7.359 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003721/1.071, allocations: 47.73 kB / 1.109 GB, free: 7.312 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.827e-05/1.072, allocations: 12 kB / 1.109 GB, free: 7.301 MB / 0.7136 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.0001522/1.072, allocations: 135.8 kB / 1.109 GB, free: 7.16 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005185/1.072, allocations: 206.1 kB / 1.109 GB, free: 6.953 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.761e-05/1.072, allocations: 19.81 kB / 1.109 GB, free: 6.934 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006638/1.073, allocations: 234.5 kB / 1.11 GB, free: 6.703 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.545e-06/1.073, allocations: 4 kB / 1.11 GB, free: 6.699 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/1.073, allocations: 0 / 1.11 GB, free: 6.699 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.232e-05/1.073, allocations: 7.938 kB / 1.11 GB, free: 6.691 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001374/1.074, allocations: 0.6279 MB / 1.11 GB, free: 6.02 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/1.074, allocations: 3.984 kB / 1.11 GB, free: 6.016 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002698/1.075, allocations: 31.98 kB / 1.11 GB, free: 5.984 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.232e-06/1.075, allocations: 3.938 kB / 1.11 GB, free: 5.98 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.935e-05/1.075, allocations: 7.953 kB / 1.11 GB, free: 5.973 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.437e-06/1.075, allocations: 0 / 1.11 GB, free: 5.973 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.035e-06/1.075, allocations: 4 kB / 1.11 GB, free: 5.969 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006014/1.075, allocations: 303.8 kB / 1.111 GB, free: 5.656 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.222e-05/1.076, allocations: 96.83 kB / 1.111 GB, free: 5.543 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.777e-05/1.076, allocations: 1.812 kB / 1.111 GB, free: 5.543 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003741/1.076, allocations: 46.64 kB / 1.111 GB, free: 5.5 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001399/1.076, allocations: 35.92 kB / 1.111 GB, free: 5.465 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.65e-05/1.076, allocations: 15.98 kB / 1.111 GB, free: 5.449 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001231/1.076, allocations: 119.5 kB / 1.111 GB, free: 5.332 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.11e-07/1.076, allocations: 0 / 1.111 GB, free: 5.332 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004838/1.077, allocations: 47.94 kB / 1.111 GB, free: 5.285 MB / 0.7136 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.001011/1.078, allocations: 0.8624 MB / 1.112 GB, free: 4.395 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0005699/1.078, allocations: 204.9 kB / 1.112 GB, free: 4.195 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/1.078, allocations: 0 / 1.112 GB, free: 4.195 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0002843/1.079, allocations: 115.8 kB / 1.112 GB, free: 4.082 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003864/1.079, allocations: 32.19 kB / 1.112 GB, free: 4.051 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001225/1.08, allocations: 363.7 kB / 1.112 GB, free: 3.664 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004145/1.081, allocations: 0.7678 MB / 1.113 GB, free: 2.867 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.000207/1.081, allocations: 23.56 kB / 1.113 GB, free: 2.848 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002216/1.081, allocations: 83.41 kB / 1.113 GB, free: 2.766 MB / 0.7136 GB Notification: Performance of SimCode: time 9.02e-07/1.081, allocations: 0 / 1.113 GB, free: 2.766 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0422/1.123, allocations: 4.444 MB / 1.118 GB, free: 14.44 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002996/1.124, allocations: 173.2 kB / 1.118 GB, free: 14.25 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.388/3.512, allocations: 0 / 1.118 GB, free: 14.25 MB / 0.7292 GB (rm -f Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; mkfifo Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe >> ../files/Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat.fmu > Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe 2>&1)