Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Storage.Examples.AcBattery.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Storage.Examples.AcBattery,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Storage.Examples.AcBattery") translateModel(Buildings.Electrical.AC.OnePhase.Storage.Examples.AcBattery,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Storage.Examples.AcBattery") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001111/0.001111, allocations: 102.1 kB / 16.27 MB, free: 6.348 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001134/0.001134, allocations: 187.6 kB / 17.2 MB, free: 5.949 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.372/1.372, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.809/1.809, allocations: 292.3 MB / 0.5495 GB, free: 17.43 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001466/0.001466, allocations: 67.91 kB / 0.6722 GB, free: 6.605 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2178/0.2193, allocations: 114.6 MB / 0.784 GB, free: 3.941 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Storage.Examples.AcBattery): time 0.3665/0.5858, allocations: 4.41 MB / 0.7883 GB, free: 46.14 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.003384/0.5892, allocations: 2.199 MB / 0.7905 GB, free: 46.12 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003792/0.5896, allocations: 13.88 kB / 0.7905 GB, free: 46.12 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001146/0.5908, allocations: 416.1 kB / 0.7909 GB, free: 46.11 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0008184/0.5916, allocations: 338.5 kB / 0.7912 GB, free: 46.08 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008445/0.5925, allocations: 413.8 kB / 0.7916 GB, free: 46.04 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0006989/0.5932, allocations: 0.8128 MB / 0.7924 GB, free: 46 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006044/0.5938, allocations: 0.5701 MB / 0.793 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000259/0.594, allocations: 318.6 kB / 0.7933 GB, free: 45.91 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003437/0.5944, allocations: 354.9 kB / 0.7936 GB, free: 45.82 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 6.955e-05/0.5945, allocations: 67.62 kB / 0.7937 GB, free: 45.82 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004064/0.5949, allocations: 325.3 kB / 0.794 GB, free: 45.79 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001289/0.595, allocations: 197.7 kB / 0.7942 GB, free: 45.77 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0002103/0.5952, allocations: 330.3 kB / 0.7945 GB, free: 45.67 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.000649/0.5959, allocations: 0.9618 MB / 0.7954 GB, free: 45.52 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.5959, allocations: 3.062 kB / 0.7954 GB, free: 45.52 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.002e-06/0.5959, allocations: 0 / 0.7954 GB, free: 45.52 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.656e-06/0.5959, allocations: 0 / 0.7954 GB, free: 45.52 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 127 * Number of variables: 127 Notification: Performance of Generate backend data structure: time 0.001407/0.5973, allocations: 0.9506 MB / 0.7964 GB, free: 44.92 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 2.779e-05/0.5974, allocations: 7.438 kB / 0.7964 GB, free: 44.92 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005986/0.598, allocations: 134.5 kB / 0.7965 GB, free: 44.88 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000441/0.5984, allocations: 437.5 kB / 0.7969 GB, free: 44.62 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.032e-05/0.5985, allocations: 34.44 kB / 0.7969 GB, free: 44.62 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.357e-05/0.5986, allocations: 55.64 kB / 0.797 GB, free: 44.61 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009279/0.5995, allocations: 0.6962 MB / 0.7977 GB, free: 44.35 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.553e-05/0.5995, allocations: 0 / 0.7977 GB, free: 44.35 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.346e-05/0.5996, allocations: 23.02 kB / 0.7977 GB, free: 44.33 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-05/0.5997, allocations: 51.84 kB / 0.7977 GB, free: 44.32 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008686/0.6005, allocations: 0.5622 MB / 0.7983 GB, free: 44.14 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002652/0.6032, allocations: 2.899 MB / 0.8011 GB, free: 41.9 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009621/0.6042, allocations: 0.5593 MB / 0.8017 GB, free: 41.67 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003978/0.6046, allocations: 252.2 kB / 0.8019 GB, free: 41.57 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003198/0.6049, allocations: 0.562 MB / 0.8025 GB, free: 40.91 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006405/0.6056, allocations: 402.4 kB / 0.8028 GB, free: 40.74 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=46): time 1.884e-06/0.6056, allocations: 2.312 kB / 0.8028 GB, free: 40.74 MB / 0.6544 GB Notification: Performance of matching and sorting (n=46): time 0.001393/0.607, allocations: 0.7292 MB / 0.8036 GB, free: 40.46 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.78e-05/0.607, allocations: 87.44 kB / 0.8036 GB, free: 40.37 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003509/0.6074, allocations: 346.3 kB / 0.804 GB, free: 40.18 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.638e-05/0.6074, allocations: 47.92 kB / 0.804 GB, free: 40.14 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.000152/0.6076, allocations: 277 kB / 0.8043 GB, free: 39.92 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001007/0.6077, allocations: 159.1 kB / 0.8044 GB, free: 39.79 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001685/0.6079, allocations: 103.8 kB / 0.8045 GB, free: 39.74 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 8.313e-05/0.608, allocations: 359.4 kB / 0.8049 GB, free: 39.41 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004471/0.6084, allocations: 242 kB / 0.8051 GB, free: 39.31 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004754/0.6089, allocations: 359.6 kB / 0.8054 GB, free: 39.09 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008394/0.6098, allocations: 0.5763 MB / 0.806 GB, free: 38.75 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.6098, allocations: 0 / 0.806 GB, free: 38.75 MB / 0.6544 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001152/0.6109, allocations: 0.6838 MB / 0.8067 GB, free: 38.44 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.077e-05/0.611, allocations: 33.28 kB / 0.8067 GB, free: 38.41 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.611, allocations: 2.75 kB / 0.8067 GB, free: 38.41 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.076e-05/0.611, allocations: 5.656 kB / 0.8067 GB, free: 38.41 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005038/0.6115, allocations: 108.2 kB / 0.8068 GB, free: 38.4 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.329e-05/0.6115, allocations: 6.422 kB / 0.8068 GB, free: 38.4 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004387/0.612, allocations: 72.59 kB / 0.8069 GB, free: 38.37 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.423e-05/0.612, allocations: 20.62 kB / 0.8069 GB, free: 38.36 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005426/0.6126, allocations: 370 kB / 0.8073 GB, free: 38.17 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004719/0.6131, allocations: 339.5 kB / 0.8076 GB, free: 37.95 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007456/0.6138, allocations: 0.5163 MB / 0.8081 GB, free: 37.63 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.565e-06/0.6138, allocations: 1.031 kB / 0.8081 GB, free: 37.63 MB / 0.6544 GB Notification: Performance of matching and sorting (n=67) (initialization_lambda0): time 0.001035/0.6149, allocations: 0.6269 MB / 0.8087 GB, free: 37.35 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.187e-05/0.6149, allocations: 34.92 kB / 0.8087 GB, free: 37.32 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.6149, allocations: 4.281 kB / 0.8087 GB, free: 37.32 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.254e-06/0.6149, allocations: 7.016 kB / 0.8088 GB, free: 37.32 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000396/0.6153, allocations: 101.7 kB / 0.8089 GB, free: 37.3 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.054e-05/0.6154, allocations: 9.188 kB / 0.8089 GB, free: 37.3 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004165/0.6158, allocations: 65.5 kB / 0.8089 GB, free: 37.28 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.868e-05/0.6158, allocations: 20.95 kB / 0.8089 GB, free: 37.27 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 20 (bat_ideal.cha.overCharged,$PRE.bat_ideal.cha.overCharged,bat_ideal.cha.underCharged,$PRE.bat_ideal.cha.underCharged,$whenCondition2,bat_loss_acdc.cha.overCharged,$PRE.bat_loss_acdc.cha.overCharged,bat_loss_acdc.cha.underCharged,$PRE.bat_loss_acdc.cha.underCharged,$whenCondition3,bat.cha.overCharged,$PRE.bat.cha.overCharged,bat.cha.underCharged,$PRE.bat.cha.underCharged,$whenCondition4,pow.count,$PRE.pow.count,pow.T_start,$PRE.pow.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000145/0.616, allocations: 221 kB / 0.8092 GB, free: 37.06 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.528e-05/0.6161, allocations: 51.27 kB / 0.8092 GB, free: 37.04 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00108/0.6171, allocations: 0.5756 MB / 0.8098 GB, free: 36.79 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.925e-06/0.6172, allocations: 12.44 kB / 0.8098 GB, free: 36.79 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.6172, allocations: 1.188 kB / 0.8098 GB, free: 36.79 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.554e-06/0.6172, allocations: 2.109 kB / 0.8098 GB, free: 36.79 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006546/0.6178, allocations: 0.6186 MB / 0.8104 GB, free: 36.42 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.6179, allocations: 7.031 kB / 0.8104 GB, free: 36.41 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000519/0.6184, allocations: 96.39 kB / 0.8105 GB, free: 36.41 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.6184, allocations: 2.594 kB / 0.8105 GB, free: 36.41 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.39e-05/0.6184, allocations: 13.14 kB / 0.8105 GB, free: 36.4 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.6184, allocations: 2 kB / 0.8105 GB, free: 36.4 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.6184, allocations: 1.219 kB / 0.8105 GB, free: 36.4 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001439/0.6199, allocations: 0.8856 MB / 0.8114 GB, free: 36.01 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001798/0.6201, allocations: 173.4 kB / 0.8115 GB, free: 35.86 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.657e-05/0.6202, allocations: 17.45 kB / 0.8115 GB, free: 35.85 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003288/0.6205, allocations: 32.58 kB / 0.8116 GB, free: 35.85 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001557/0.6207, allocations: 50.3 kB / 0.8116 GB, free: 35.83 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.98e-05/0.6207, allocations: 19.89 kB / 0.8116 GB, free: 35.82 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0003108/0.621, allocations: 247 kB / 0.8119 GB, free: 35.7 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.1e-07/0.621, allocations: 0 / 0.8119 GB, free: 35.7 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0009027/0.6219, allocations: 259.9 kB / 0.8121 GB, free: 35.63 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (bat_ideal.cha.SOC,bat_loss_acdc.cha.SOC,bat.cha.SOC) * Number of discrete variables: 12 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,bat_ideal.cha.underCharged,bat_ideal.cha.overCharged,pow.T_start,pow.count,bat_loss_acdc.cha.underCharged,bat_loss_acdc.cha.overCharged,bat.cha.underCharged,bat.cha.overCharged) * Number of discrete states: 7 (pow.count,bat_ideal.cha.underCharged,bat_ideal.cha.overCharged,bat_loss_acdc.cha.underCharged,bat_loss_acdc.cha.overCharged,bat.cha.underCharged,bat.cha.overCharged) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002331/0.6222, allocations: 130.6 kB / 0.8123 GB, free: 35.53 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002015/0.6242, allocations: 1.027 MB / 0.8133 GB, free: 35.09 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.6242, allocations: 1.688 kB / 0.8133 GB, free: 35.09 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0004622/0.6247, allocations: 273.1 kB / 0.8135 GB, free: 35 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007841/0.6255, allocations: 178.7 kB / 0.8137 GB, free: 34.96 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001749/0.6273, allocations: 1.106 MB / 0.8148 GB, free: 34.35 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003665/0.6276, allocations: 0.8905 MB / 0.8156 GB, free: 33.63 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001736/0.6278, allocations: 53.08 kB / 0.8157 GB, free: 33.61 MB / 0.6544 GB Notification: Performance of SimCode: time 3.8e-07/0.6278, allocations: 0 / 0.8157 GB, free: 33.61 MB / 0.6544 GB Notification: Performance of Templates: time 0.0138/0.6416, allocations: 7.849 MB / 0.8234 GB, free: 33.03 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Storage.Examples.AcBattery.makefile (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Storage.Examples.AcBattery.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Storage.Examples.AcBattery.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Storage.Examples.AcBattery.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Storage.Examples.AcBattery.sim & ./Buildings_8_Buildings.Electrical.AC.OnePhase.Storage.Examples.AcBattery -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Storage.Examples.AcBattery.pipe 2>&1)