Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.VariableLoad.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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(BuildingSystems.Electrical.DC.Loads.Examples.VariableLoad,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_DC_Loads_Examples_VariableLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.DC.Loads.Examples.VariableLoad,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_DC_Loads_Examples_VariableLoad",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.008123/0.008123, allocations: 96.64 kB / 15.73 MB, free: 6.484 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.002028/0.002028, allocations: 192 kB / 16.67 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.338/1.338, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002065/0.002065, allocations: 279 kB / 290.8 MB, free: 1.926 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9591/0.9591, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001679/0.001679, allocations: 99.84 kB / 0.681 GB, free: 8 kB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1857/0.1874, allocations: 86.97 MB / 0.7659 GB, free: 8.953 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Loads.Examples.VariableLoad): time 0.008081/0.1955, allocations: 3.853 MB / 0.7697 GB, free: 5.086 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003786/0.1993, allocations: 1.769 MB / 0.7714 GB, free: 3.309 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002702/0.1996, allocations: 11.94 kB / 0.7714 GB, free: 3.297 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.00132/0.201, allocations: 446.2 kB / 0.7718 GB, free: 2.859 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0006277/0.2016, allocations: 246.8 kB / 0.7721 GB, free: 2.617 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006272/0.2022, allocations: 254.7 kB / 0.7723 GB, free: 2.371 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0006102/0.2029, allocations: 498.4 kB / 0.7728 GB, free: 1.883 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006161/0.2035, allocations: 372.8 kB / 0.7731 GB, free: 1.52 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002849/0.2038, allocations: 203.3 kB / 0.7733 GB, free: 1.32 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004377/0.2042, allocations: 223.2 kB / 0.7735 GB, free: 1.102 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 6.039e-05/0.2043, allocations: 32 kB / 0.7736 GB, free: 1.07 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003236/0.2046, allocations: 183.6 kB / 0.7737 GB, free: 0.8906 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001342/0.2048, allocations: 131.7 kB / 0.7739 GB, free: 0.7617 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001803/0.205, allocations: 183.1 kB / 0.774 GB, free: 0.582 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0005408/0.2055, allocations: 0.4903 MB / 0.7745 GB, free: 92 kB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.2055, allocations: 0 / 0.7745 GB, free: 92 kB / 0.5606 GB Notification: Performance of FrontEnd: time 1.433e-06/0.2055, allocations: 0 / 0.7745 GB, free: 92 kB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.358e-06/0.2055, allocations: 0 / 0.7745 GB, free: 92 kB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.3162/0.5218, allocations: 0.6624 MB / 0.7752 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.5218, allocations: 10.28 kB / 0.7752 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.154e-05/0.5219, allocations: 76.14 kB / 0.7752 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005646/0.5225, allocations: 81.58 kB / 0.7753 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003627/0.5229, allocations: 309.5 kB / 0.7756 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.141e-05/0.5229, allocations: 20.98 kB / 0.7756 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.025e-05/0.5229, allocations: 34.09 kB / 0.7757 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007714/0.5237, allocations: 483.6 kB / 0.7761 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.377e-05/0.5237, allocations: 6.344 kB / 0.7761 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.388e-05/0.5238, allocations: 12.06 kB / 0.7762 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.145e-05/0.5238, allocations: 38.3 kB / 0.7762 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007483/0.5246, allocations: 368.3 kB / 0.7765 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001707/0.5263, allocations: 2.036 MB / 0.7785 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005572/0.5269, allocations: 215.4 kB / 0.7787 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003688/0.5273, allocations: 158.5 kB / 0.7789 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.235e-05/0.5273, allocations: 3.328 kB / 0.7789 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.583e-05/0.5273, allocations: 40.38 kB / 0.7789 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=18): time 1.423e-06/0.5273, allocations: 2.125 kB / 0.7789 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of matching and sorting (n=18): time 0.001066/0.5284, allocations: 418.4 kB / 0.7793 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.081e-05/0.5284, allocations: 53.5 kB / 0.7794 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002309/0.5287, allocations: 268.9 kB / 0.7796 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.739e-05/0.5287, allocations: 31.58 kB / 0.7797 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.666e-05/0.5288, allocations: 209.6 kB / 0.7799 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.646e-05/0.5288, allocations: 72.38 kB / 0.7799 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.129e-05/0.5289, allocations: 59.59 kB / 0.78 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.9e-05/0.529, allocations: 339.5 kB / 0.7803 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002517/0.5292, allocations: 94.22 kB / 0.7804 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002739/0.5295, allocations: 204.1 kB / 0.7806 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005143/0.53, allocations: 315.6 kB / 0.7809 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.5301, allocations: 1.781 kB / 0.7809 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007288/0.5308, allocations: 358.2 kB / 0.7812 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.5308, allocations: 7.906 kB / 0.7813 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.5308, allocations: 2.531 kB / 0.7813 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001882/0.531, allocations: 34.44 kB / 0.7813 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002764/0.5313, allocations: 70.52 kB / 0.7814 GB, free: 11.74 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009924/0.5323, allocations: 1.437 MB / 0.7828 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002501/0.5326, allocations: 43.2 kB / 0.7828 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.234e-05/0.5326, allocations: 21.44 kB / 0.7828 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003049/0.5329, allocations: 214.7 kB / 0.783 GB, free: 10.17 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002556/0.5332, allocations: 211.8 kB / 0.7832 GB, free: 9.984 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004847/0.5337, allocations: 313.9 kB / 0.7835 GB, free: 9.766 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.424e-06/0.5337, allocations: 5.281 kB / 0.7835 GB, free: 9.762 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0006098/0.5343, allocations: 335.4 kB / 0.7838 GB, free: 9.625 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.547e-06/0.5343, allocations: 8 kB / 0.7839 GB, free: 9.625 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.177e-06/0.5343, allocations: 3.281 kB / 0.7839 GB, free: 9.625 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.794e-06/0.5343, allocations: 9.719 kB / 0.7839 GB, free: 9.625 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002694/0.5346, allocations: 83.19 kB / 0.7839 GB, free: 9.613 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.5346, allocations: 5.781 kB / 0.784 GB, free: 9.613 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002306/0.5349, allocations: 33.16 kB / 0.784 GB, free: 9.602 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.737e-05/0.5349, allocations: 15.91 kB / 0.784 GB, free: 9.598 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 7.75e-05/0.535, allocations: 197 kB / 0.7842 GB, free: 9.406 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.043e-05/0.535, allocations: 32.67 kB / 0.7842 GB, free: 9.387 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.875e-05/0.5351, allocations: 28.14 kB / 0.7842 GB, free: 9.367 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.5351, allocations: 2.438 kB / 0.7842 GB, free: 9.367 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/0.5351, allocations: 0 / 0.7842 GB, free: 9.367 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.5351, allocations: 0.9844 kB / 0.7843 GB, free: 9.367 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001034/0.5361, allocations: 0.762 MB / 0.785 GB, free: 8.844 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.5362, allocations: 1.344 kB / 0.785 GB, free: 8.844 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001891/0.5363, allocations: 43.28 kB / 0.785 GB, free: 8.836 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.28e-05/0.5365, allocations: 29.36 kB / 0.7851 GB, free: 8.824 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.393e-05/0.5365, allocations: 5.031 kB / 0.7851 GB, free: 8.82 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00065/0.5371, allocations: 1.421 MB / 0.7865 GB, free: 7.402 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/0.5371, allocations: 2.375 kB / 0.7865 GB, free: 7.402 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005573/0.5377, allocations: 367.1 kB / 0.7868 GB, free: 7.176 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.693e-05/0.5378, allocations: 120.4 kB / 0.7869 GB, free: 7.059 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.113e-05/0.5378, allocations: 6.844 kB / 0.7869 GB, free: 7.055 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001884/0.538, allocations: 22 kB / 0.787 GB, free: 7.047 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.284e-05/0.5381, allocations: 13.98 kB / 0.787 GB, free: 7.043 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.244e-05/0.5381, allocations: 4.719 kB / 0.787 GB, free: 7.043 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001419/0.5383, allocations: 184.2 kB / 0.7871 GB, free: 6.934 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5383, allocations: 0 / 0.7871 GB, free: 6.934 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000586/0.5389, allocations: 153.2 kB / 0.7873 GB, free: 6.891 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007406/0.5396, allocations: 0.9014 MB / 0.7882 GB, free: 6.133 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001007/0.5406, allocations: 490.3 kB / 0.7886 GB, free: 5.926 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.5406, allocations: 2.406 kB / 0.7886 GB, free: 5.926 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003005/0.5409, allocations: 225.6 kB / 0.7889 GB, free: 5.785 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004804/0.5414, allocations: 81.3 kB / 0.7889 GB, free: 5.758 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003192/0.5446, allocations: 2.883 MB / 0.7918 GB, free: 3.746 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003045/0.5449, allocations: 0.7973 MB / 0.7925 GB, free: 3.039 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002436/0.5452, allocations: 65.47 kB / 0.7926 GB, free: 3.035 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001302/0.5453, allocations: 90.25 kB / 0.7927 GB, free: 2.969 MB / 0.5606 GB Notification: Performance of SimCode: time 4.01e-07/0.5453, allocations: 4 kB / 0.7927 GB, free: 2.965 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02502/0.5704, allocations: 6.357 MB / 0.7989 GB, free: 2.312 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.73/11.3, allocations: 20.84 kB / 0.7989 GB, free: 2.293 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.VariableLoad.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.VariableLoad.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.VariableLoad.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.VariableLoad.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.VariableLoad_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Electrical_DC_Loads_Examples_VariableLoad.fmu > BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.VariableLoad.pipe 2>&1)