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/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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.005274/0.005274, allocations: 98.52 kB / 15.73 MB, free: 5.602 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.001168/0.001168, allocations: 196.9 kB / 16.68 MB, free: 5.523 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.291/1.291, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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/package.mo): time 0.8292/0.8292, allocations: 143.1 MB / 433.6 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001179/0.001179, allocations: 61.16 kB / 0.5951 GB, free: 12.79 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1433/0.1445, allocations: 82.03 MB / 0.6752 GB, free: 10.85 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.002382/0.1469, allocations: 1.253 MB / 0.6764 GB, free: 9.586 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0009209/0.1479, allocations: 495.1 kB / 0.6769 GB, free: 9.098 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.254e-05/0.1479, allocations: 0 / 0.6769 GB, free: 9.098 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 3.214e-05/0.148, allocations: 0 / 0.6769 GB, free: 9.098 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 6.597e-05/0.1481, allocations: 7.984 kB / 0.6769 GB, free: 9.09 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.000349/0.1484, allocations: 43.88 kB / 0.677 GB, free: 9.047 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 6.721e-05/0.1485, allocations: 15.98 kB / 0.677 GB, free: 9.031 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.777e-05/0.1485, allocations: 3.984 kB / 0.677 GB, free: 9.027 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 2.193e-05/0.1486, allocations: 7.938 kB / 0.677 GB, free: 9.02 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 3.768e-05/0.1486, allocations: 4 kB / 0.677 GB, free: 9.016 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.049e-05/0.1486, allocations: 4 kB / 0.677 GB, free: 9.012 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001719/0.1488, allocations: 75.78 kB / 0.6771 GB, free: 8.938 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 5.108e-05/0.1489, allocations: 7.984 kB / 0.6771 GB, free: 8.93 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 4.692e-05/0.1489, allocations: 12 kB / 0.6771 GB, free: 8.918 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001375/0.1491, allocations: 60.06 kB / 0.6771 GB, free: 8.859 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.1491, allocations: 0 / 0.6771 GB, free: 8.859 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.513e-06/0.1491, allocations: 0 / 0.6771 GB, free: 8.859 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.1e-06/0.1491, allocations: 0 / 0.6771 GB, free: 8.859 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.0004043/0.1495, allocations: 339.4 kB / 0.6775 GB, free: 8.48 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.1495, allocations: 8.031 kB / 0.6775 GB, free: 8.473 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.627e-05/0.1496, allocations: 42.73 kB / 0.6775 GB, free: 8.422 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.059e-05/0.1496, allocations: 4.938 kB / 0.6775 GB, free: 8.418 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.973e-05/0.1497, allocations: 164.3 kB / 0.6777 GB, free: 8.219 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.498e-06/0.1497, allocations: 384 / 0.6777 GB, free: 8.219 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.436e-05/0.1498, allocations: 4.375 kB / 0.6777 GB, free: 8.215 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001162/0.1499, allocations: 49.81 kB / 0.6777 GB, free: 8.16 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.1499, allocations: 0 / 0.6777 GB, free: 8.16 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.645e-06/0.1499, allocations: 4 kB / 0.6777 GB, free: 8.156 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.1499, allocations: 0 / 0.6777 GB, free: 8.156 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.164e-05/0.15, allocations: 15.98 kB / 0.6777 GB, free: 8.141 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001509/0.1501, allocations: 153.7 kB / 0.6779 GB, free: 7.941 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 5.325e-05/0.1502, allocations: 34.52 kB / 0.6779 GB, free: 7.898 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000101/0.1503, allocations: 20.89 kB / 0.6779 GB, free: 7.875 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 4.178e-06/0.1503, allocations: 3.938 kB / 0.6779 GB, free: 7.871 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001445/0.1504, allocations: 67.33 kB / 0.678 GB, free: 7.793 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=7): time 1.212e-06/0.1504, allocations: 4 kB / 0.678 GB, free: 7.789 MB / 0.5137 GB Notification: Performance of matching and sorting (n=7): time 0.000205/0.1507, allocations: 101.6 kB / 0.6781 GB, free: 7.684 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.178e-05/0.1507, allocations: 59.39 kB / 0.6782 GB, free: 7.613 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.008e-05/0.1508, allocations: 93.86 kB / 0.6783 GB, free: 7.512 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.942e-05/0.1508, allocations: 33.69 kB / 0.6783 GB, free: 7.473 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.82e-05/0.1508, allocations: 84.14 kB / 0.6784 GB, free: 7.387 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.439e-05/0.1509, allocations: 15.84 kB / 0.6784 GB, free: 7.371 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.013e-05/0.1509, allocations: 29.7 kB / 0.6784 GB, free: 7.336 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001079/0.151, allocations: 322.9 kB / 0.6787 GB, free: 7.012 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.846e-05/0.1511, allocations: 19.98 kB / 0.6787 GB, free: 6.992 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.098e-05/0.1511, allocations: 65.98 kB / 0.6788 GB, free: 6.906 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001109/0.1513, allocations: 97.88 kB / 0.6789 GB, free: 6.789 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.1513, allocations: 4 kB / 0.6789 GB, free: 6.785 MB / 0.5137 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001642/0.1514, allocations: 121.6 kB / 0.679 GB, free: 6.66 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.1515, allocations: 4 kB / 0.679 GB, free: 6.656 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.942e-06/0.1515, allocations: 4 kB / 0.679 GB, free: 6.652 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.162e-05/0.1515, allocations: 0 / 0.679 GB, free: 6.652 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.081e-05/0.1516, allocations: 15.94 kB / 0.679 GB, free: 6.637 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.1516, allocations: 3.984 kB / 0.679 GB, free: 6.633 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.493e-05/0.1516, allocations: 11.95 kB / 0.6791 GB, free: 6.621 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.217e-05/0.1516, allocations: 4 kB / 0.6791 GB, free: 6.617 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 9.647e-05/0.1517, allocations: 122.6 kB / 0.6792 GB, free: 6.488 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.106e-05/0.1518, allocations: 3.938 kB / 0.6792 GB, free: 6.484 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.095e-05/0.1518, allocations: 7.969 kB / 0.6792 GB, free: 6.477 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.1518, allocations: 0 / 0.6792 GB, free: 6.477 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.1518, allocations: 3.984 kB / 0.6792 GB, free: 6.473 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.1518, allocations: 0 / 0.6792 GB, free: 6.473 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000121/0.1519, allocations: 157.6 kB / 0.6793 GB, free: 6.27 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.1519, allocations: 4 kB / 0.6793 GB, free: 6.266 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.275e-06/0.152, allocations: 11.86 kB / 0.6794 GB, free: 6.254 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.152, allocations: 0 / 0.6794 GB, free: 6.254 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.694e-06/0.152, allocations: 4 kB / 0.6794 GB, free: 6.25 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.152, allocations: 4 kB / 0.6794 GB, free: 6.246 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.152, allocations: 0 / 0.6794 GB, free: 6.246 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001282/0.1521, allocations: 105 kB / 0.6795 GB, free: 6.125 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 3.665e-05/0.1522, allocations: 85.05 kB / 0.6795 GB, free: 6.023 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.446e-05/0.1522, allocations: 0 / 0.6795 GB, free: 6.023 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.308e-05/0.1522, allocations: 4 kB / 0.6795 GB, free: 6.02 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.877e-05/0.1522, allocations: 0 / 0.6795 GB, free: 6.02 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.337e-05/0.1522, allocations: 11.97 kB / 0.6796 GB, free: 6.008 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.428e-05/0.1523, allocations: 75.28 kB / 0.6796 GB, free: 5.934 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.1523, allocations: 0 / 0.6796 GB, free: 5.934 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002256/0.1525, allocations: 19.98 kB / 0.6796 GB, free: 5.914 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.0005369/0.1531, allocations: 0.6748 MB / 0.6803 GB, free: 5.211 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001354/0.1532, allocations: 59.94 kB / 0.6804 GB, free: 5.152 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.1532, allocations: 0 / 0.6804 GB, free: 5.152 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 3.12e-05/0.1532, allocations: 16 kB / 0.6804 GB, free: 5.137 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001357/0.1534, allocations: 4 kB / 0.6804 GB, free: 5.133 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003914/0.1538, allocations: 163 kB / 0.6805 GB, free: 4.934 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002906/0.1541, allocations: 0.6804 MB / 0.6812 GB, free: 4.23 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.38e-05/0.1541, allocations: 8 kB / 0.6812 GB, free: 4.223 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.641e-05/0.1542, allocations: 11.44 kB / 0.6812 GB, free: 4.211 MB / 0.5137 GB Notification: Performance of SimCode: time 3.21e-07/0.1542, allocations: 0 / 0.6812 GB, free: 4.211 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01843/0.1726, allocations: 1.611 MB / 0.6828 GB, free: 2.812 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.381/7.554, allocations: 13.53 kB / 0.6828 GB, free: 2.797 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)