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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001619/0.001619, allocations: 114.3 kB / 18.94 MB, free: 2.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001954/0.001954, allocations: 215.2 kB / 22.25 MB, free: 5.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.419/1.419, allocations: 230.6 MB / 256 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.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.7.0/package.mo): time 0.9064/0.9064, allocations: 145 MB / 457.4 MB, free: 15.51 MB / 366.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: BuildSysPro requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002026/0.002026, allocations: 70.39 kB / 0.6332 GB, free: 7.262 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1624/0.1644, allocations: 87.89 MB / 0.7191 GB, free: 15.4 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.002313/0.1667, allocations: 1.267 MB / 0.7203 GB, free: 14.12 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0009657/0.1677, allocations: 0.5181 MB / 0.7208 GB, free: 13.59 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.68e-05/0.1677, allocations: 4 kB / 0.7208 GB, free: 13.59 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.932e-05/0.1677, allocations: 3.984 kB / 0.7208 GB, free: 13.59 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.766e-05/0.1678, allocations: 11.92 kB / 0.7208 GB, free: 13.57 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003255/0.1681, allocations: 55.86 kB / 0.7209 GB, free: 13.52 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 5.196e-05/0.1682, allocations: 12 kB / 0.7209 GB, free: 13.51 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.78e-05/0.1682, allocations: 3.984 kB / 0.7209 GB, free: 13.5 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 1.946e-05/0.1682, allocations: 4 kB / 0.7209 GB, free: 13.5 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 3.751e-05/0.1683, allocations: 7.984 kB / 0.7209 GB, free: 13.49 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 7.734e-06/0.1683, allocations: 0 / 0.7209 GB, free: 13.49 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000174/0.1685, allocations: 83.83 kB / 0.721 GB, free: 13.41 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.001e-05/0.1685, allocations: 11.98 kB / 0.721 GB, free: 13.4 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.791e-05/0.1685, allocations: 11.92 kB / 0.721 GB, free: 13.39 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000141/0.1687, allocations: 71.72 kB / 0.7211 GB, free: 13.32 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.1687, allocations: 0 / 0.7211 GB, free: 13.32 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.493e-06/0.1687, allocations: 0 / 0.7211 GB, free: 13.32 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.738e-06/0.1687, allocations: 0 / 0.7211 GB, free: 13.32 MB / 0.545 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.0003674/0.1691, allocations: 258.3 kB / 0.7213 GB, free: 13.04 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.416e-05/0.1691, allocations: 8.031 kB / 0.7213 GB, free: 13.03 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.834e-05/0.1691, allocations: 42.73 kB / 0.7214 GB, free: 12.98 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.58e-05/0.1692, allocations: 4.938 kB / 0.7214 GB, free: 12.97 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.779e-05/0.1693, allocations: 103.2 kB / 0.7215 GB, free: 12.85 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.317e-06/0.1693, allocations: 4.375 kB / 0.7215 GB, free: 12.84 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.411e-05/0.1693, allocations: 4.375 kB / 0.7215 GB, free: 12.84 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001156/0.1694, allocations: 57.75 kB / 0.7215 GB, free: 12.78 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-06/0.1694, allocations: 0 / 0.7215 GB, free: 12.78 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.043e-06/0.1694, allocations: 0 / 0.7215 GB, free: 12.78 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.597e-06/0.1694, allocations: 0 / 0.7215 GB, free: 12.78 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.731e-05/0.1694, allocations: 11.98 kB / 0.7215 GB, free: 12.77 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001713/0.1696, allocations: 132.7 kB / 0.7217 GB, free: 12.59 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 5.737e-05/0.1697, allocations: 26.64 kB / 0.7217 GB, free: 12.56 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.315e-05/0.1697, allocations: 12.89 kB / 0.7217 GB, free: 12.54 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 6.753e-06/0.1697, allocations: 0 / 0.7217 GB, free: 12.54 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001303/0.1698, allocations: 75.33 kB / 0.7218 GB, free: 12.46 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.112e-06/0.1698, allocations: 0 / 0.7218 GB, free: 12.46 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0002061/0.17, allocations: 97.67 kB / 0.7219 GB, free: 12.36 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.739e-05/0.1701, allocations: 55.41 kB / 0.7219 GB, free: 12.29 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.1e-05/0.1701, allocations: 89.86 kB / 0.722 GB, free: 12.19 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.729e-05/0.1702, allocations: 41.62 kB / 0.722 GB, free: 12.14 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.57e-05/0.1702, allocations: 80.14 kB / 0.7221 GB, free: 12.06 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.656e-05/0.1702, allocations: 23.83 kB / 0.7221 GB, free: 12.04 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.389e-05/0.1703, allocations: 29.7 kB / 0.7222 GB, free: 12 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001321/0.1704, allocations: 314.8 kB / 0.7225 GB, free: 11.69 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.344e-05/0.1704, allocations: 31.95 kB / 0.7225 GB, free: 11.66 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.251e-05/0.1705, allocations: 61.98 kB / 0.7226 GB, free: 11.57 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001284/0.1706, allocations: 93.94 kB / 0.7227 GB, free: 11.46 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.1706, allocations: 0 / 0.7227 GB, free: 11.46 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000171/0.1708, allocations: 129.4 kB / 0.7228 GB, free: 11.33 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.1708, allocations: 10.25 kB / 0.7228 GB, free: 11.32 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.1708, allocations: 4 kB / 0.7228 GB, free: 11.32 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.1708, allocations: 0 / 0.7228 GB, free: 11.32 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.924e-05/0.1709, allocations: 12 kB / 0.7228 GB, free: 11.3 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.1709, allocations: 0 / 0.7228 GB, free: 11.3 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.609e-05/0.171, allocations: 11.92 kB / 0.7228 GB, free: 11.29 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.696e-06/0.171, allocations: 7.938 kB / 0.7228 GB, free: 11.29 MB / 0.545 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.1711, allocations: 118.6 kB / 0.7229 GB, free: 11.16 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.196e-05/0.1711, allocations: 11.89 kB / 0.7229 GB, free: 11.15 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.648e-05/0.1711, allocations: 7.906 kB / 0.723 GB, free: 11.14 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.1711, allocations: 7.984 kB / 0.723 GB, free: 11.13 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.706e-06/0.1711, allocations: 0 / 0.723 GB, free: 11.13 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.1711, allocations: 3.984 kB / 0.723 GB, free: 11.12 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001175/0.1713, allocations: 116.8 kB / 0.7231 GB, free: 10.97 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.1713, allocations: 0 / 0.7231 GB, free: 10.97 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.33e-06/0.1713, allocations: 3.938 kB / 0.7231 GB, free: 10.96 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.1713, allocations: 3.984 kB / 0.7231 GB, free: 10.96 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.416e-06/0.1713, allocations: 4 kB / 0.7231 GB, free: 10.96 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.81e-07/0.1713, allocations: 4 kB / 0.7231 GB, free: 10.95 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.1713, allocations: 4 kB / 0.7231 GB, free: 10.95 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001352/0.1714, allocations: 105 kB / 0.7232 GB, free: 10.83 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.488e-05/0.1714, allocations: 15.83 kB / 0.7232 GB, free: 10.81 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.556e-05/0.1714, allocations: 4 kB / 0.7232 GB, free: 10.81 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.186e-05/0.1714, allocations: 0 / 0.7232 GB, free: 10.81 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.792e-05/0.1715, allocations: 4 kB / 0.7232 GB, free: 10.8 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.438e-05/0.1715, allocations: 4 kB / 0.7232 GB, free: 10.8 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.084e-05/0.1715, allocations: 79.31 kB / 0.7233 GB, free: 10.72 MB / 0.545 GB Notification: Performance of sort global known variables: time 5e-08/0.1715, allocations: 0 / 0.7233 GB, free: 10.72 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002212/0.1717, allocations: 19.94 kB / 0.7233 GB, free: 10.7 MB / 0.545 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.000551/0.1723, allocations: 0.6815 MB / 0.724 GB, free: 9.996 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001389/0.1724, allocations: 59.94 kB / 0.724 GB, free: 9.938 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1724, allocations: 0 / 0.724 GB, free: 9.938 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 2.599e-05/0.1725, allocations: 11.98 kB / 0.724 GB, free: 9.926 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001343/0.1726, allocations: 8 kB / 0.7241 GB, free: 9.918 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004279/0.173, allocations: 151.1 kB / 0.7242 GB, free: 9.73 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003398/0.1734, allocations: 0.6768 MB / 0.7249 GB, free: 9.027 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.792e-05/0.1734, allocations: 12.48 kB / 0.7249 GB, free: 9.016 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.162e-05/0.1734, allocations: 15.38 kB / 0.7249 GB, free: 9 MB / 0.545 GB Notification: Performance of SimCode: time 2.91e-07/0.1734, allocations: 4 kB / 0.7249 GB, free: 8.996 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02663/0.2001, allocations: 1.702 MB / 0.7266 GB, free: 7.48 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.79/10.99, allocations: 4.562 kB / 0.7266 GB, free: 7.477 MB / 0.545 GB " [Timeout remaining time 649] (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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.613182150002103] Failed to read output from testmodel.py, exit status != 0: 11.093128361997515 11.109269918 10.937507352 Calling exit ...