Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.BatteryControl.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.Examples.ChillerPlant.BaseClasses.Controls.Examples.BatteryControl,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_BatteryControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.BatteryControl,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_BatteryControl",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.486/1.486, allocations: 252 MB / 267 MB, free: 10.98 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.001056/0.001056, allocations: 177.2 kB / 326.6 MB, free: 2.246 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.514/1.514, allocations: 205.4 MB / 0.5776 GB, free: 20.29 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.0007419/0.0007419, allocations: 89.48 kB / 0.6823 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002854/0.0002856, allocations: 10.34 kB / 0.7965 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1633/0.1636, allocations: 106.4 MB / 0.9003 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.BatteryControl): time 0.001896/0.1655, allocations: 1.918 MB / 0.9022 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001212/0.1668, allocations: 0.9865 MB / 0.9032 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001354/0.1669, allocations: 8 kB / 0.9032 GB, free: 60.9 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001174/0.167, allocations: 43.59 kB / 0.9032 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001858/0.1672, allocations: 31.72 kB / 0.9032 GB, free: 60.83 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003377/0.1676, allocations: 183.8 kB / 0.9034 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0004011/0.168, allocations: 0.5465 MB / 0.9039 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000349/0.1683, allocations: 340.4 kB / 0.9043 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001513/0.1685, allocations: 147.4 kB / 0.9044 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001671/0.1687, allocations: 163.1 kB / 0.9046 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.133e-05/0.1687, allocations: 20 kB / 0.9046 GB, free: 59.44 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 9.105e-05/0.1688, allocations: 32 kB / 0.9046 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001066/0.1689, allocations: 91.66 kB / 0.9047 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 6.61e-05/0.169, allocations: 97.45 kB / 0.9048 GB, free: 59.22 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003287/0.1694, allocations: 0.5338 MB / 0.9053 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.1694, allocations: 0 / 0.9053 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.082e-06/0.1694, allocations: 0 / 0.9053 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.642e-06/0.1694, allocations: 0 / 0.9053 GB, free: 58.68 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.0007943/0.1702, allocations: 0.623 MB / 0.9059 GB, free: 58 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.208e-05/0.1702, allocations: 12.03 kB / 0.9059 GB, free: 57.99 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.073e-05/0.1703, allocations: 90.52 kB / 0.906 GB, free: 57.89 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.195e-05/0.1704, allocations: 55.38 kB / 0.9061 GB, free: 57.84 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002949/0.1707, allocations: 339 kB / 0.9064 GB, free: 57.47 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.817e-05/0.1707, allocations: 49.31 kB / 0.9064 GB, free: 57.42 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.804e-05/0.1708, allocations: 52 kB / 0.9065 GB, free: 57.37 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007759/0.1716, allocations: 0.5656 MB / 0.907 GB, free: 56.78 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.48e-05/0.1716, allocations: 11.94 kB / 0.9071 GB, free: 56.77 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.995e-05/0.1717, allocations: 20 kB / 0.9071 GB, free: 56.75 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.429e-05/0.1717, allocations: 20.98 kB / 0.9071 GB, free: 56.73 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006548/0.1723, allocations: 427.7 kB / 0.9075 GB, free: 56.31 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001731/0.1741, allocations: 1.926 MB / 0.9094 GB, free: 54.3 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004715/0.1746, allocations: 355.6 kB / 0.9097 GB, free: 53.95 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002445/0.1748, allocations: 184.8 kB / 0.9099 GB, free: 53.77 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 4.664e-05/0.1749, allocations: 12 kB / 0.9099 GB, free: 53.75 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000314/0.1752, allocations: 226 kB / 0.9101 GB, free: 53.52 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=46): time 2.254e-06/0.1752, allocations: 0 / 0.9101 GB, free: 53.52 MB / 0.6042 GB Notification: Performance of matching and sorting (n=46): time 0.0007383/0.176, allocations: 478.6 kB / 0.9106 GB, free: 53.05 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.001e-05/0.176, allocations: 67.16 kB / 0.9106 GB, free: 52.97 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001471/0.1762, allocations: 237.7 kB / 0.9109 GB, free: 52.73 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.197e-05/0.1762, allocations: 53.69 kB / 0.9109 GB, free: 52.67 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 8.673e-05/0.1763, allocations: 224.6 kB / 0.9111 GB, free: 52.45 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 6.363e-05/0.1764, allocations: 110.5 kB / 0.9112 GB, free: 52.34 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.169e-05/0.1764, allocations: 12 kB / 0.9113 GB, free: 52.32 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.227e-05/0.1765, allocations: 346.8 kB / 0.9116 GB, free: 51.98 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002509/0.1767, allocations: 161.2 kB / 0.9117 GB, free: 51.82 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002861/0.177, allocations: 292.6 kB / 0.912 GB, free: 51.49 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002521/0.1773, allocations: 170.1 kB / 0.9122 GB, free: 51.32 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.1773, allocations: 8 kB / 0.9122 GB, free: 51.31 MB / 0.6042 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0006689/0.178, allocations: 0.4949 MB / 0.9127 GB, free: 50.81 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.178, allocations: 12.06 kB / 0.9127 GB, free: 50.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.178, allocations: 4 kB / 0.9127 GB, free: 50.8 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.178, allocations: 4 kB / 0.9127 GB, free: 50.79 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002336/0.1783, allocations: 67.83 kB / 0.9128 GB, free: 50.73 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.071e-05/0.1783, allocations: 11.92 kB / 0.9128 GB, free: 50.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002103/0.1785, allocations: 67.52 kB / 0.9128 GB, free: 50.65 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.696e-05/0.1785, allocations: 23.98 kB / 0.9129 GB, free: 50.62 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 55 ($PRE.con.multiSwitch1.u[1],$PRE.con.multiSwitch1.u[2],$PRE.con.t1.enableFire,$PRE.con.t2.enableFire,$PRE.con.t3.enableFire,$PRE.con.t4.enableFire,con.stateGraphRoot.resume,con.stateGraphRoot.suspend,$whenCondition2,$whenCondition1,con.lessThreshold.y,con.not1.y,con.greaterThreshold.y,con.multiSwitch1.u[1],con.multiSwitch1.u[2],con.multiSwitch1.firstActiveIndex,con.off.active,$PRE.con.off.localActive,con.off.localActive,con.off.inPort[1].set,con.off.outPort[1].reset,$PRE.con.off.newActive,con.off.newActive,$PRE.con.off.oldActive,con.off.oldActive,con.stateGraphRoot.activeSteps,con.alternative.split[2].available,con.t1.condition,con.t1.enableFire,con.t1.fire,$PRE.con.t1.t_start,con.t1.t_start,con.t2.condition,con.t2.enableFire,con.t2.fire,$PRE.con.t2.t_start,con.t2.t_start,$PRE.con.charge.localActive,con.charge.localActive,$PRE.con.charge.newActive,con.charge.newActive,$PRE.con.charge.oldActive,con.charge.oldActive,con.charge.active,$PRE.con.discharge.localActive,con.discharge.localActive,$PRE.con.discharge.newActive,con.discharge.newActive,$PRE.con.discharge.oldActive,con.discharge.oldActive,con.discharge.active,con.t3.condition,con.t3.enableFire,con.t4.condition,con.t4.enableFire) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 74 * 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.0001862/0.1787, allocations: 234.9 kB / 0.9131 GB, free: 50.39 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.342e-05/0.1788, allocations: 27.62 kB / 0.9131 GB, free: 50.36 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006281/0.1794, allocations: 427.5 kB / 0.9135 GB, free: 49.94 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.1794, allocations: 4 kB / 0.9135 GB, free: 49.93 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.1794, allocations: 0 / 0.9135 GB, free: 49.93 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.131e-06/0.1794, allocations: 3.984 kB / 0.9135 GB, free: 49.93 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001186/0.1806, allocations: 1.141 MB / 0.9146 GB, free: 48.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.1806, allocations: 0 / 0.9146 GB, free: 48.71 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001506/0.1808, allocations: 35.92 kB / 0.9147 GB, free: 48.68 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.1808, allocations: 4 kB / 0.9147 GB, free: 48.68 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.331e-05/0.1808, allocations: 11.98 kB / 0.9147 GB, free: 48.66 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.437e-06/0.1809, allocations: 7.953 kB / 0.9147 GB, free: 48.66 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.1809, allocations: 4 kB / 0.9147 GB, free: 48.65 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005241/0.1814, allocations: 0.4919 MB / 0.9152 GB, free: 48.14 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.39e-05/0.1814, allocations: 108.6 kB / 0.9153 GB, free: 48.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.001e-05/0.1815, allocations: 15.98 kB / 0.9153 GB, free: 48 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001841/0.1817, allocations: 23.98 kB / 0.9153 GB, free: 47.98 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001428/0.1818, allocations: 72.3 kB / 0.9154 GB, free: 47.91 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.831e-05/0.1819, allocations: 15.98 kB / 0.9154 GB, free: 47.89 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 7.544e-05/0.1819, allocations: 131.2 kB / 0.9155 GB, free: 47.77 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1819, allocations: 7.938 kB / 0.9155 GB, free: 47.76 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003422/0.1823, allocations: 111.6 kB / 0.9156 GB, free: 47.65 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 42 (con.t2.enableFire,con.t1.enableFire,con.discharge.active,con.discharge.localActive,con.charge.active,con.charge.localActive,con.off.localActive,$cse1,$cse2,$cse3,$cse4,$cse5,$cse6,$whenCondition2,$whenCondition1,con.lessThreshold.y,con.not1.y,con.greaterThreshold.y,con.multiSwitch1.u[1],con.multiSwitch1.u[2],con.multiSwitch1.firstActiveIndex,con.off.active,con.off.inPort[1].set,con.off.outPort[1].reset,con.off.newActive,con.off.oldActive,con.stateGraphRoot.activeSteps,con.alternative.split[2].available,con.t1.condition,con.t1.fire,con.t1.t_start,con.t2.condition,con.t2.fire,con.t2.t_start,con.charge.newActive,con.charge.oldActive,con.discharge.newActive,con.discharge.oldActive,con.t3.condition,con.t3.enableFire,con.t4.condition,con.t4.enableFire) * Number of discrete states: 3 (con.off.newActive,con.charge.newActive,con.discharge.newActive) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0007676/0.1831, allocations: 1.076 MB / 0.9167 GB, free: 46.54 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005753/0.1837, allocations: 438.2 kB / 0.9171 GB, free: 46.11 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.1837, allocations: 0 / 0.9171 GB, free: 46.11 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002727/0.1839, allocations: 218.4 kB / 0.9173 GB, free: 45.9 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003289/0.1843, allocations: 48.75 kB / 0.9174 GB, free: 45.86 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002377/0.1867, allocations: 2.05 MB / 0.9194 GB, free: 43.71 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001958/0.1869, allocations: 0.8233 MB / 0.9202 GB, free: 42.86 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001903/0.1871, allocations: 63.25 kB / 0.9202 GB, free: 42.8 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001822/0.1873, allocations: 139.4 kB / 0.9204 GB, free: 42.66 MB / 0.6042 GB Notification: Performance of SimCode: time 2.2e-07/0.1873, allocations: 0 / 0.9204 GB, free: 42.66 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01635/0.2036, allocations: 7.167 MB / 0.9274 GB, free: 35.73 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001232/0.2038, allocations: 227.9 kB / 0.9276 GB, free: 35.48 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.021/2.225, allocations: 0 / 0.9276 GB, free: 35.48 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.BatteryControl.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.BatteryControl.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.BatteryControl.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.BatteryControl.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_BatteryControl_fmu --startTime=0 --stopTime=604800 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_BatteryControl.fmu > Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.BatteryControl.pipe 2>&1)