Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.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.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_ShiftAggregationCells",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_ShiftAggregationCells",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.005667/0.005667, allocations: 98.52 kB / 15.73 MB, free: 5.527 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.001484/0.001484, allocations: 187.4 kB / 16.67 MB, free: 5.465 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.34/1.34, allocations: 222.9 MB / 240.4 MB, free: 4.16 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002373/0.002373, allocations: 283 kB / 290.8 MB, free: 1.754 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.005/1.005, allocations: 178.6 MB / 0.5074 GB, free: 4.477 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002582/0.002582, allocations: 102.2 kB / 0.6943 GB, free: 3.59 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4244/0.427, allocations: 89.14 MB / 0.7814 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.002268/0.4293, allocations: 1.247 MB / 0.7826 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0008749/0.4302, allocations: 483.8 kB / 0.7831 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.803e-05/0.4302, allocations: 0 / 0.7831 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.422e-05/0.4303, allocations: 1.562 kB / 0.7831 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.67e-05/0.4304, allocations: 4.5 kB / 0.7831 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003105/0.4307, allocations: 50.61 kB / 0.7831 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 5.523e-05/0.4307, allocations: 16.53 kB / 0.7831 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.134e-05/0.4308, allocations: 6.188 kB / 0.7831 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 2.221e-05/0.4308, allocations: 7.859 kB / 0.7831 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 3.339e-05/0.4308, allocations: 8.766 kB / 0.7831 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.945e-06/0.4309, allocations: 0 / 0.7831 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001617/0.431, allocations: 71.47 kB / 0.7832 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.788e-05/0.4311, allocations: 12.09 kB / 0.7832 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.912e-05/0.4311, allocations: 12.98 kB / 0.7832 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001359/0.4313, allocations: 57.86 kB / 0.7833 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.4313, allocations: 0 / 0.7833 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.352e-06/0.4313, allocations: 0 / 0.7833 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.559e-06/0.4313, allocations: 0 / 0.7833 GB, free: 12.56 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003816/0.4317, allocations: 341.9 kB / 0.7836 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/0.4317, allocations: 11.09 kB / 0.7836 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.161e-05/0.4318, allocations: 35.27 kB / 0.7837 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.507e-05/0.4318, allocations: 4.016 kB / 0.7837 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001145/0.4319, allocations: 165.5 kB / 0.7838 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.216e-05/0.4319, allocations: 1.812 kB / 0.7838 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.536e-06/0.4319, allocations: 3 kB / 0.7838 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001103/0.4321, allocations: 60.89 kB / 0.7839 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.294e-06/0.4321, allocations: 4 kB / 0.7839 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.822e-06/0.4321, allocations: 1.5 kB / 0.7839 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.4321, allocations: 0 / 0.7839 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.83e-05/0.4321, allocations: 12.58 kB / 0.7839 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001592/0.4323, allocations: 157.2 kB / 0.7841 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 5.242e-05/0.4324, allocations: 29.02 kB / 0.7841 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.83e-05/0.4324, allocations: 22.05 kB / 0.7841 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 6.181e-06/0.4324, allocations: 1.656 kB / 0.7841 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001337/0.4325, allocations: 75.64 kB / 0.7842 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 1.182e-06/0.4326, allocations: 0 / 0.7842 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7): time 0.000199/0.4328, allocations: 96.25 kB / 0.7843 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.602e-05/0.4328, allocations: 56.53 kB / 0.7843 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.728e-05/0.4329, allocations: 95.92 kB / 0.7844 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.104e-05/0.4329, allocations: 28.77 kB / 0.7844 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.742e-05/0.4329, allocations: 84.16 kB / 0.7845 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.612e-05/0.433, allocations: 21.39 kB / 0.7845 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.559e-05/0.433, allocations: 37.72 kB / 0.7846 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001276/0.4332, allocations: 318 kB / 0.7849 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.965e-05/0.4332, allocations: 21.33 kB / 0.7849 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.11e-05/0.4333, allocations: 64.05 kB / 0.785 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001219/0.4334, allocations: 96.94 kB / 0.7851 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.4334, allocations: 1.312 kB / 0.7851 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001569/0.4336, allocations: 121 kB / 0.7852 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.4336, allocations: 6.828 kB / 0.7852 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.4336, allocations: 1.312 kB / 0.7852 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.4336, allocations: 6.719 kB / 0.7852 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.615e-05/0.4337, allocations: 12.27 kB / 0.7852 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.237e-06/0.4337, allocations: 7.328 kB / 0.7852 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.537e-05/0.4338, allocations: 13.55 kB / 0.7852 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.784e-06/0.4338, allocations: 8.406 kB / 0.7852 GB, free: 10.68 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 (QAggShi_flow[5],$PRE.QAggShi_flow[5],QAggShi_flow[4],$PRE.QAggShi_flow[4],QAggShi_flow[3],$PRE.QAggShi_flow[3],QAggShi_flow[2],$PRE.QAggShi_flow[2],QAggShi_flow[1],$PRE.QAggShi_flow[1],curCel,$PRE.curCel,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * 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 9.976e-05/0.4339, allocations: 120.7 kB / 0.7853 GB, free: 10.56 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.355e-05/0.4339, allocations: 5.438 kB / 0.7853 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.755e-05/0.4339, allocations: 8.562 kB / 0.7854 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.4339, allocations: 1.281 kB / 0.7854 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.434, allocations: 0 / 0.7854 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.434, allocations: 0.75 kB / 0.7854 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001247/0.4341, allocations: 152.4 kB / 0.7855 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.4341, allocations: 4.703 kB / 0.7855 GB, free: 10.35 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.613e-06/0.4341, allocations: 5.156 kB / 0.7855 GB, free: 10.35 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.4341, allocations: 0 / 0.7855 GB, free: 10.35 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.706e-06/0.4341, allocations: 2.078 kB / 0.7855 GB, free: 10.35 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.4341, allocations: 1.281 kB / 0.7855 GB, free: 10.35 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.4341, allocations: 0 / 0.7855 GB, free: 10.35 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001448/0.4343, allocations: 110.4 kB / 0.7856 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.646e-05/0.4343, allocations: 90.66 kB / 0.7857 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.64e-05/0.4344, allocations: 8.906 kB / 0.7857 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.146e-05/0.4344, allocations: 0.6094 kB / 0.7857 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.67e-05/0.4344, allocations: 1.844 kB / 0.7857 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.183e-05/0.4344, allocations: 2.906 kB / 0.7857 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.964e-05/0.4345, allocations: 75.28 kB / 0.7858 GB, free: 10.08 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.4345, allocations: 1.188 kB / 0.7858 GB, free: 10.08 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002195/0.4347, allocations: 19.19 kB / 0.7858 GB, free: 10.08 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,curCel,QAggShi_flow[1],QAggShi_flow[2],QAggShi_flow[3],QAggShi_flow[4],QAggShi_flow[5]) * Number of discrete states: 5 (QAggShi_flow[1],QAggShi_flow[2],QAggShi_flow[3],QAggShi_flow[4],QAggShi_flow[5]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0005109/0.4352, allocations: 0.6786 MB / 0.7865 GB, free: 9.461 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000126/0.4353, allocations: 54.16 kB / 0.7865 GB, free: 9.449 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.4354, allocations: 1.625 kB / 0.7865 GB, free: 9.449 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 3.012e-05/0.4354, allocations: 16.41 kB / 0.7865 GB, free: 9.445 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001283/0.4355, allocations: 9.438 kB / 0.7866 GB, free: 9.441 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003799/0.4359, allocations: 146.9 kB / 0.7867 GB, free: 9.293 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002827/0.4362, allocations: 0.6822 MB / 0.7874 GB, free: 8.594 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 1.968e-05/0.4362, allocations: 5.562 kB / 0.7874 GB, free: 8.594 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.677e-05/0.4363, allocations: 14.22 kB / 0.7874 GB, free: 8.582 MB / 0.5606 GB Notification: Performance of SimCode: time 2.31e-07/0.4363, allocations: 0 / 0.7874 GB, free: 8.582 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02311/0.4594, allocations: 1.606 MB / 0.7889 GB, free: 8.238 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.694/8.153, allocations: 19.06 kB / 0.789 GB, free: 8.227 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells_res.csv --start-time 3.5 --stop-time 5.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_ShiftAggregationCells.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe 2>&1)