Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.DC.Storage.Examples.Battery.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: "" <> buildModelFMU(Buildings.Electrical.DC.Storage.Examples.Battery,fileNamePrefix="Buildings_9_Buildings_Electrical_DC_Storage_Examples_Battery",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Storage.Examples.Battery,fileNamePrefix="Buildings_9_Buildings_Electrical_DC_Storage_Examples_Battery",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001384/0.001384, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001579/0.001579, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.452/1.452, allocations: 223.2 MB / 239.9 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.403/2.403, allocations: 390.3 MB / 0.6653 GB, free: 3.004 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000348/0.0003481, allocations: 12 kB / 0.8146 GB, free: 14.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8041/0.8045, allocations: 142.3 MB / 0.9536 GB, free: 8.043 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Storage.Examples.Battery): time 0.004786/0.8093, allocations: 3.672 MB / 0.9572 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003197/0.8125, allocations: 1.87 MB / 0.959 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004926/0.8131, allocations: 13.78 kB / 0.959 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002602/0.8133, allocations: 90.72 kB / 0.9591 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0004888/0.8138, allocations: 151.8 kB / 0.9592 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009261/0.8148, allocations: 333.9 kB / 0.9596 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0007218/0.8155, allocations: 0.5607 MB / 0.9601 GB, free: 2.926 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008978/0.8164, allocations: 0.7987 MB / 0.9609 GB, free: 2.336 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002769/0.8167, allocations: 242.1 kB / 0.9611 GB, free: 2.203 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003777/0.8171, allocations: 272 kB / 0.9614 GB, free: 2.02 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 7.313e-05/0.8172, allocations: 38.42 kB / 0.9614 GB, free: 2.012 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002677/0.8174, allocations: 92.64 kB / 0.9615 GB, free: 1.98 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001514/0.8176, allocations: 155.5 kB / 0.9616 GB, free: 1.879 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001365/0.8177, allocations: 146.2 kB / 0.9618 GB, free: 1.781 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0005985/0.8184, allocations: 0.6517 MB / 0.9624 GB, free: 1.305 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.8184, allocations: 3.938 kB / 0.9624 GB, free: 1.301 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.164e-06/0.8184, allocations: 0 / 0.9624 GB, free: 1.301 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.181e-05/0.8184, allocations: 0 / 0.9624 GB, free: 1.301 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 191 * Number of variables: 191 Notification: Performance of Generate backend data structure: time 0.001276/0.8197, allocations: 0.818 MB / 0.9632 GB, free: 0.6055 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.441e-05/0.8197, allocations: 17 kB / 0.9632 GB, free: 0.5977 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001267/0.8199, allocations: 121.5 kB / 0.9634 GB, free: 0.4961 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005002/0.8204, allocations: 120.5 kB / 0.9635 GB, free: 452 kB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005287/0.8209, allocations: 426.6 kB / 0.9639 GB, free: 72 kB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.337e-05/0.821, allocations: 64.19 kB / 0.9639 GB, free: 44 kB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001162/0.8211, allocations: 77.62 kB / 0.964 GB, free: 20 kB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001324/0.8224, allocations: 0.8812 MB / 0.9649 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.998e-05/0.8225, allocations: 1.094 kB / 0.9649 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.118e-05/0.8225, allocations: 33.12 kB / 0.9649 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.029e-05/0.8226, allocations: 46.27 kB / 0.9649 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000991/0.8236, allocations: 0.5606 MB / 0.9655 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004109/0.8277, allocations: 3.735 MB / 0.9691 GB, free: 11.73 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000676/0.8284, allocations: 391.5 kB / 0.9695 GB, free: 11.46 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.557e-05/0.8285, allocations: 5.625 kB / 0.9695 GB, free: 11.46 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004762/0.8289, allocations: 293.5 kB / 0.9698 GB, free: 11.25 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=51): time 4.549e-06/0.829, allocations: 0 / 0.9698 GB, free: 11.25 MB / 0.7325 GB Notification: Performance of matching and sorting (n=51): time 0.0009742/0.8299, allocations: 497.3 kB / 0.9703 GB, free: 11 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.966e-05/0.8301, allocations: 171.3 kB / 0.9704 GB, free: 10.8 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004683/0.8305, allocations: 419.2 kB / 0.9708 GB, free: 10.52 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 6.55e-05/0.8306, allocations: 55.03 kB / 0.9709 GB, free: 10.47 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002573/0.8309, allocations: 327.1 kB / 0.9712 GB, free: 10.18 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001164/0.831, allocations: 139.7 kB / 0.9713 GB, free: 10.07 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.749e-05/0.831, allocations: 14.88 kB / 0.9714 GB, free: 10.05 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001473/0.8312, allocations: 362.9 kB / 0.9717 GB, free: 9.703 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002871/0.8315, allocations: 160.9 kB / 0.9719 GB, free: 9.625 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004669/0.8319, allocations: 397.3 kB / 0.9722 GB, free: 9.25 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003402/0.8323, allocations: 186.8 kB / 0.9724 GB, free: 9.16 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.414e-06/0.8323, allocations: 6.672 kB / 0.9724 GB, free: 9.156 MB / 0.7325 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.0009629/0.8333, allocations: 0.6209 MB / 0.973 GB, free: 8.832 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.001021/0.8343, allocations: 2.698 MB / 0.9757 GB, free: 5.945 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.159e-05/0.8343, allocations: 15.23 kB / 0.9757 GB, free: 5.938 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.794e-05/0.8344, allocations: 12.09 kB / 0.9757 GB, free: 5.938 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003796/0.8348, allocations: 110.5 kB / 0.9758 GB, free: 5.898 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.195e-05/0.8348, allocations: 15.5 kB / 0.9758 GB, free: 5.895 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003961/0.8352, allocations: 91.66 kB / 0.9759 GB, free: 5.828 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.448e-05/0.8353, allocations: 34.14 kB / 0.9759 GB, free: 5.82 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 8.806e-06/0.8353, allocations: 3.844 kB / 0.9759 GB, free: 5.82 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009169/0.8362, allocations: 0.5384 MB / 0.9765 GB, free: 5.562 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/0.8362, allocations: 6.188 kB / 0.9765 GB, free: 5.562 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.8362, allocations: 13.06 kB / 0.9765 GB, free: 5.562 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003344/0.8366, allocations: 103 kB / 0.9766 GB, free: 5.531 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.97e-05/0.8366, allocations: 19.09 kB / 0.9766 GB, free: 5.523 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003419/0.837, allocations: 70.05 kB / 0.9767 GB, free: 5.477 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.235e-05/0.837, allocations: 33.59 kB / 0.9767 GB, free: 5.469 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 56 ($PRE.toOn.enableFire,$PRE.toHold.enableFire,$PRE.toDischarge.enableFire,$PRE.toOff.enableFire,$whenCondition1,$PRE.bat.cha.underCharged,bat.cha.underCharged,$PRE.bat.cha.overCharged,bat.cha.overCharged,off.active,$PRE.off.localActive,off.localActive,$PRE.off.newActive,off.newActive,$PRE.off.oldActive,off.oldActive,toOn.condition,toOn.enableFire,$PRE.charge.localActive,charge.localActive,$PRE.charge.newActive,charge.newActive,$PRE.charge.oldActive,charge.oldActive,charge.active,toHold.condition,toHold.enableFire,hold.active,$PRE.hold.localActive,hold.localActive,$PRE.hold.newActive,hold.newActive,$PRE.hold.oldActive,hold.oldActive,toDischarge.condition,toDischarge.enableFire,$PRE.discharge.localActive,discharge.localActive,$PRE.discharge.newActive,discharge.newActive,$PRE.discharge.oldActive,discharge.oldActive,discharge.active,toOff.condition,toOff.enableFire,stateGraphRoot.activeSteps,$PRE.toOn.t_start,toOn.t_start,$PRE.toHold.t_start,toHold.t_start,$PRE.toDischarge.t_start,toDischarge.t_start,$PRE.toOff.t_start,toOff.t_start,stateGraphRoot.resume,stateGraphRoot.suspend) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 96 * 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.0004425/0.8375, allocations: 325.7 kB / 0.977 GB, free: 5.195 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.328e-05/0.8376, allocations: 50.83 kB / 0.977 GB, free: 5.168 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007289/0.8383, allocations: 406.6 kB / 0.9774 GB, free: 4.93 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.12e-05/0.8383, allocations: 6.719 kB / 0.9774 GB, free: 4.93 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/0.8383, allocations: 1.312 kB / 0.9774 GB, free: 4.93 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.107e-05/0.8384, allocations: 5.266 kB / 0.9774 GB, free: 4.926 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001698/0.8401, allocations: 1.109 MB / 0.9785 GB, free: 4.117 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.8401, allocations: 2.5 kB / 0.9785 GB, free: 4.117 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002188/0.8403, allocations: 48.06 kB / 0.9786 GB, free: 4.102 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.834e-06/0.8403, allocations: 3.688 kB / 0.9786 GB, free: 4.102 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.18e-05/0.8404, allocations: 9.062 kB / 0.9786 GB, free: 4.098 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.699e-06/0.8404, allocations: 3.812 kB / 0.9786 GB, free: 4.098 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.8404, allocations: 2.312 kB / 0.9786 GB, free: 4.098 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001051/0.8414, allocations: 0.7696 MB / 0.9793 GB, free: 3.527 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001852/0.8416, allocations: 163.3 kB / 0.9795 GB, free: 3.371 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.764e-05/0.8417, allocations: 13.31 kB / 0.9795 GB, free: 3.363 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001905/0.8419, allocations: 19.64 kB / 0.9795 GB, free: 3.352 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001256/0.842, allocations: 57.97 kB / 0.9796 GB, free: 3.316 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.687e-05/0.8421, allocations: 13.12 kB / 0.9796 GB, free: 3.316 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002888/0.8424, allocations: 260.8 kB / 0.9798 GB, free: 3.145 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8424, allocations: 0 / 0.9798 GB, free: 3.145 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001034/0.8434, allocations: 279.9 kB / 0.9801 GB, free: 3.059 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 1 (bat.cha.SOC) * Number of discrete variables: 36 (toOff.t_start,toDischarge.t_start,toHold.t_start,toOn.t_start,off.localActive,charge.localActive,hold.localActive,discharge.localActive,$cse1,$cse2,$cse3,$cse4,$whenCondition1,bat.cha.underCharged,bat.cha.overCharged,off.active,off.newActive,off.oldActive,toOn.condition,toOn.enableFire,charge.newActive,charge.oldActive,charge.active,toHold.condition,toHold.enableFire,hold.active,hold.newActive,hold.oldActive,toDischarge.condition,toDischarge.enableFire,discharge.newActive,discharge.oldActive,discharge.active,toOff.condition,toOff.enableFire,stateGraphRoot.activeSteps) * Number of discrete states: 10 (discharge.newActive,hold.newActive,charge.newActive,off.newActive,bat.cha.underCharged,bat.cha.overCharged,toOn.t_start,toHold.t_start,toDischarge.t_start,toOff.t_start) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (55): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.001543/0.845, allocations: 1.748 MB / 0.9818 GB, free: 1.555 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001392/0.8464, allocations: 0.7472 MB / 0.9826 GB, free: 1.238 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.8464, allocations: 0 / 0.9826 GB, free: 1.238 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003359/0.8467, allocations: 202.9 kB / 0.9827 GB, free: 1.152 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005402/0.8473, allocations: 98.92 kB / 0.9828 GB, free: 1.059 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006087/0.8534, allocations: 7.51 MB / 0.9902 GB, free: 9.348 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005646/0.854, allocations: 0.9275 MB / 0.9911 GB, free: 8.395 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0004588/0.8545, allocations: 132.6 kB / 0.9912 GB, free: 8.266 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002947/0.8548, allocations: 215.4 kB / 0.9914 GB, free: 8.055 MB / 0.7481 GB Notification: Performance of SimCode: time 1.042e-06/0.8548, allocations: 0 / 0.9914 GB, free: 8.055 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02469/0.8795, allocations: 10.19 MB / 1.001 GB, free: 14.04 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002018/0.8797, allocations: 179.3 kB / 1.002 GB, free: 13.8 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.079/2.959, allocations: 0 / 1.002 GB, free: 13.8 MB / 0.7637 GB (rm -f Buildings_9_Buildings.Electrical.DC.Storage.Examples.Battery.pipe ; mkfifo Buildings_9_Buildings.Electrical.DC.Storage.Examples.Battery.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.DC.Storage.Examples.Battery.pipe >> ../files/Buildings_9_Buildings.Electrical.DC.Storage.Examples.Battery.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.DC.Storage.Examples.Battery_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_DC_Storage_Examples_Battery_fmu --startTime=0 --stopTime=432000 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_DC_Storage_Examples_Battery.fmu > Buildings_9_Buildings.Electrical.DC.Storage.Examples.Battery.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.DC.Storage.Examples.Battery_res.mat does not exist to compare? outputFormat=mat