Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.6.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-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(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_ShiftAggregationCells",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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.0046/0.0046, allocations: 100.9 kB / 15.73 MB, free: 6.062 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.001265/0.001265, allocations: 195.3 kB / 16.67 MB, free: 5.973 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.455/1.455, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo): time 0.9092/0.9092, allocations: 143.3 MB / 433.9 MB, free: 11.81 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002196/0.002196, allocations: 64.77 kB / 0.5954 GB, free: 12.59 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1627/0.1649, allocations: 82.03 MB / 0.6755 GB, free: 10.6 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.002463/0.1674, allocations: 1.235 MB / 0.6767 GB, free: 9.348 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0008783/0.1683, allocations: 491.1 kB / 0.6771 GB, free: 8.863 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.929e-05/0.1683, allocations: 4 kB / 0.6771 GB, free: 8.859 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.822e-05/0.1684, allocations: 0 / 0.6771 GB, free: 8.859 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 6.031e-05/0.1684, allocations: 7.984 kB / 0.6772 GB, free: 8.852 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003339/0.1688, allocations: 47.81 kB / 0.6772 GB, free: 8.805 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 6.276e-05/0.1689, allocations: 19.97 kB / 0.6772 GB, free: 8.785 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.255e-05/0.1689, allocations: 0 / 0.6772 GB, free: 8.785 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 2.139e-05/0.1689, allocations: 4 kB / 0.6772 GB, free: 8.781 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 3.506e-05/0.169, allocations: 7.938 kB / 0.6772 GB, free: 8.773 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 8.326e-06/0.169, allocations: 0 / 0.6772 GB, free: 8.773 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001611/0.1692, allocations: 75.84 kB / 0.6773 GB, free: 8.699 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 4.755e-05/0.1692, allocations: 7.984 kB / 0.6773 GB, free: 8.691 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 4.141e-05/0.1693, allocations: 11.98 kB / 0.6773 GB, free: 8.68 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001355/0.1694, allocations: 64.02 kB / 0.6774 GB, free: 8.617 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.1694, allocations: 0 / 0.6774 GB, free: 8.617 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.493e-06/0.1694, allocations: 0 / 0.6774 GB, free: 8.617 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 3.967e-06/0.1694, allocations: 0 / 0.6774 GB, free: 8.617 MB / 0.5137 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.0003981/0.1698, allocations: 339.4 kB / 0.6777 GB, free: 8.238 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.559e-05/0.1699, allocations: 8.031 kB / 0.6777 GB, free: 8.23 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.348e-05/0.1699, allocations: 38.73 kB / 0.6778 GB, free: 8.184 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.87e-05/0.17, allocations: 8.938 kB / 0.6778 GB, free: 8.176 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001169/0.1701, allocations: 160.4 kB / 0.6779 GB, free: 7.98 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.223e-05/0.1701, allocations: 384 / 0.6779 GB, free: 7.98 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.093e-05/0.1701, allocations: 4.375 kB / 0.6779 GB, free: 7.977 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001121/0.1702, allocations: 53.81 kB / 0.678 GB, free: 7.918 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/0.1702, allocations: 3.938 kB / 0.678 GB, free: 7.914 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.143e-06/0.1703, allocations: 4 kB / 0.678 GB, free: 7.91 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.1703, allocations: 0 / 0.678 GB, free: 7.91 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.121e-05/0.1703, allocations: 15.98 kB / 0.678 GB, free: 7.895 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001717/0.1705, allocations: 153.7 kB / 0.6781 GB, free: 7.695 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 5.499e-05/0.1705, allocations: 38.45 kB / 0.6782 GB, free: 7.648 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.392e-05/0.1706, allocations: 16.95 kB / 0.6782 GB, free: 7.629 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 7.514e-06/0.1706, allocations: 0 / 0.6782 GB, free: 7.629 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001562/0.1708, allocations: 71.27 kB / 0.6783 GB, free: 7.547 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=7): time 1.353e-06/0.1708, allocations: 0 / 0.6783 GB, free: 7.547 MB / 0.5137 GB Notification: Performance of matching and sorting (n=7): time 0.0002246/0.171, allocations: 101.6 kB / 0.6784 GB, free: 7.441 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.101e-05/0.1711, allocations: 55.41 kB / 0.6784 GB, free: 7.375 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.547e-05/0.1711, allocations: 97.84 kB / 0.6785 GB, free: 7.27 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.032e-05/0.1712, allocations: 29.7 kB / 0.6785 GB, free: 7.234 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.663e-05/0.1712, allocations: 84.14 kB / 0.6786 GB, free: 7.148 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.035e-05/0.1712, allocations: 19.83 kB / 0.6786 GB, free: 7.129 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.463e-05/0.1713, allocations: 29.7 kB / 0.6787 GB, free: 7.094 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001394/0.1715, allocations: 318.8 kB / 0.679 GB, free: 6.773 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.341e-05/0.1715, allocations: 24.02 kB / 0.679 GB, free: 6.75 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.04e-05/0.1716, allocations: 69.92 kB / 0.6791 GB, free: 6.66 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001253/0.1717, allocations: 93.94 kB / 0.6791 GB, free: 6.547 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.1717, allocations: 4 kB / 0.6791 GB, free: 6.543 MB / 0.5137 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001741/0.1719, allocations: 117.6 kB / 0.6793 GB, free: 6.422 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.1719, allocations: 8 kB / 0.6793 GB, free: 6.414 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/0.172, allocations: 4 kB / 0.6793 GB, free: 6.41 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.172, allocations: 0 / 0.6793 GB, free: 6.41 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.302e-05/0.1721, allocations: 12 kB / 0.6793 GB, free: 6.398 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.194e-06/0.1721, allocations: 4.219 kB / 0.6793 GB, free: 6.395 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.754e-05/0.1721, allocations: 11.95 kB / 0.6793 GB, free: 6.383 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.346e-06/0.1721, allocations: 4 kB / 0.6793 GB, free: 6.379 MB / 0.5137 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 0.0001024/0.1722, allocations: 125.8 kB / 0.6794 GB, free: 6.246 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.089e-05/0.1723, allocations: 7.938 kB / 0.6794 GB, free: 6.238 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.202e-05/0.1723, allocations: 11.95 kB / 0.6794 GB, free: 6.227 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.1723, allocations: 0 / 0.6794 GB, free: 6.227 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.1723, allocations: 0 / 0.6794 GB, free: 6.227 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.1723, allocations: 0 / 0.6794 GB, free: 6.227 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001442/0.1725, allocations: 161.6 kB / 0.6796 GB, free: 6.02 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.1725, allocations: 0 / 0.6796 GB, free: 6.02 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.671e-06/0.1725, allocations: 3.938 kB / 0.6796 GB, free: 6.016 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.462e-06/0.1725, allocations: 0 / 0.6796 GB, free: 6.016 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.053e-05/0.1725, allocations: 4 kB / 0.6796 GB, free: 6.012 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.1725, allocations: 3.938 kB / 0.6796 GB, free: 6.008 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.043e-05/0.1725, allocations: 7.984 kB / 0.6796 GB, free: 6 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001402/0.1727, allocations: 105 kB / 0.6797 GB, free: 5.879 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.451e-05/0.1727, allocations: 81.05 kB / 0.6798 GB, free: 5.781 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.63e-05/0.1727, allocations: 8 kB / 0.6798 GB, free: 5.773 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.469e-05/0.1728, allocations: 4 kB / 0.6798 GB, free: 5.77 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.548e-05/0.1728, allocations: 3.938 kB / 0.6798 GB, free: 5.766 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.362e-05/0.1728, allocations: 4 kB / 0.6798 GB, free: 5.762 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.431e-05/0.1729, allocations: 83.3 kB / 0.6799 GB, free: 5.68 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1729, allocations: 0 / 0.6799 GB, free: 5.68 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002279/0.1731, allocations: 16 kB / 0.6799 GB, free: 5.664 MB / 0.5137 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.0005448/0.1736, allocations: 0.6709 MB / 0.6806 GB, free: 4.965 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001318/0.1738, allocations: 63.88 kB / 0.6806 GB, free: 4.902 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.1738, allocations: 0 / 0.6806 GB, free: 4.902 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 3.379e-05/0.1738, allocations: 20 kB / 0.6806 GB, free: 4.883 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001272/0.174, allocations: 2.188 kB / 0.6806 GB, free: 4.883 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004031/0.1744, allocations: 159 kB / 0.6808 GB, free: 4.688 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003161/0.1747, allocations: 0.6768 MB / 0.6815 GB, free: 3.984 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.644e-05/0.1747, allocations: 8.5 kB / 0.6815 GB, free: 3.977 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.69e-05/0.1748, allocations: 11.44 kB / 0.6815 GB, free: 3.965 MB / 0.5137 GB Notification: Performance of SimCode: time 2.5e-07/0.1748, allocations: 0 / 0.6815 GB, free: 3.965 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02163/0.1964, allocations: 1.614 MB / 0.683 GB, free: 2.562 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.933/8.13, allocations: 12.34 kB / 0.6831 GB, free: 2.551 MB / 0.5137 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.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 BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_ShiftAggregationCells.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe 2>&1)