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.001386/0.001386, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001799/0.001799, allocations: 214.3 kB / 22.25 MB, free: 5.258 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.421/1.421, allocations: 230.6 MB / 256 MB, free: 7.773 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.8994/0.8994, allocations: 145 MB / 457.4 MB, free: 15.25 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.002159/0.002159, allocations: 67.28 kB / 0.6331 GB, free: 6.602 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1725/0.1746, allocations: 87.89 MB / 0.719 GB, free: 14.74 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.00245/0.1771, allocations: 1.277 MB / 0.7202 GB, free: 13.45 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0009163/0.178, allocations: 490.7 kB / 0.7207 GB, free: 12.96 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.052e-05/0.178, allocations: 0 / 0.7207 GB, free: 12.96 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.359e-05/0.178, allocations: 3.984 kB / 0.7207 GB, free: 12.96 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.846e-05/0.1781, allocations: 0 / 0.7207 GB, free: 12.96 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003398/0.1784, allocations: 63.8 kB / 0.7208 GB, free: 12.9 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 5.579e-05/0.1785, allocations: 12 kB / 0.7208 GB, free: 12.89 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.419e-05/0.1785, allocations: 0 / 0.7208 GB, free: 12.89 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.576e-05/0.1786, allocations: 11.97 kB / 0.7208 GB, free: 12.88 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 3.885e-05/0.1786, allocations: 4 kB / 0.7208 GB, free: 12.87 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 8.937e-06/0.1786, allocations: 0 / 0.7208 GB, free: 12.87 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001665/0.1788, allocations: 67.83 kB / 0.7208 GB, free: 12.8 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.373e-05/0.1788, allocations: 11.97 kB / 0.7209 GB, free: 12.79 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.999e-05/0.1789, allocations: 11.94 kB / 0.7209 GB, free: 12.78 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001421/0.179, allocations: 63.8 kB / 0.7209 GB, free: 12.72 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.179, allocations: 3.938 kB / 0.7209 GB, free: 12.71 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.552e-06/0.179, allocations: 0 / 0.7209 GB, free: 12.71 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.179, allocations: 0 / 0.7209 GB, free: 12.71 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.0003812/0.1794, allocations: 262.3 kB / 0.7212 GB, free: 12.43 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.552e-05/0.1794, allocations: 8.031 kB / 0.7212 GB, free: 12.42 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.876e-05/0.1795, allocations: 38.69 kB / 0.7212 GB, free: 12.38 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.697e-05/0.1795, allocations: 4.938 kB / 0.7212 GB, free: 12.37 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.826e-05/0.1796, allocations: 103.2 kB / 0.7213 GB, free: 12.25 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.249e-05/0.1796, allocations: 384 / 0.7213 GB, free: 12.25 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.138e-05/0.1796, allocations: 4.375 kB / 0.7213 GB, free: 12.24 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000116/0.1797, allocations: 61.8 kB / 0.7214 GB, free: 12.18 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.1797, allocations: 0 / 0.7214 GB, free: 12.18 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.612e-06/0.1798, allocations: 0 / 0.7214 GB, free: 12.18 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.356e-06/0.1798, allocations: 0 / 0.7214 GB, free: 12.18 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.059e-05/0.1798, allocations: 12 kB / 0.7214 GB, free: 12.16 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001575/0.1799, allocations: 132.7 kB / 0.7215 GB, free: 11.99 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 5.759e-05/0.18, allocations: 22.58 kB / 0.7216 GB, free: 11.96 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.72e-05/0.18, allocations: 16.95 kB / 0.7216 GB, free: 11.94 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 7.995e-06/0.18, allocations: 0 / 0.7216 GB, free: 11.94 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001414/0.1802, allocations: 75.33 kB / 0.7216 GB, free: 11.86 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.032e-06/0.1802, allocations: 0 / 0.7216 GB, free: 11.86 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0002122/0.1804, allocations: 93.61 kB / 0.7217 GB, free: 11.76 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.851e-05/0.1804, allocations: 55.41 kB / 0.7218 GB, free: 11.69 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.027e-05/0.1805, allocations: 93.86 kB / 0.7219 GB, free: 11.59 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.898e-05/0.1805, allocations: 33.69 kB / 0.7219 GB, free: 11.55 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.844e-05/0.1806, allocations: 84.14 kB / 0.722 GB, free: 11.46 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.082e-05/0.1806, allocations: 19.83 kB / 0.722 GB, free: 11.45 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.401e-05/0.1806, allocations: 29.7 kB / 0.722 GB, free: 11.41 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001471/0.1808, allocations: 318.8 kB / 0.7223 GB, free: 11.09 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.959e-05/0.1808, allocations: 19.98 kB / 0.7224 GB, free: 11.07 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.614e-05/0.1809, allocations: 74.02 kB / 0.7224 GB, free: 10.98 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001279/0.181, allocations: 93.88 kB / 0.7225 GB, free: 10.86 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.181, allocations: 0 / 0.7225 GB, free: 10.86 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001695/0.1812, allocations: 125.4 kB / 0.7226 GB, free: 10.73 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.1812, allocations: 4 kB / 0.7226 GB, free: 10.73 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.1812, allocations: 3.938 kB / 0.7226 GB, free: 10.73 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.1812, allocations: 4 kB / 0.7226 GB, free: 10.72 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.47e-05/0.1813, allocations: 15.94 kB / 0.7227 GB, free: 10.71 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.1813, allocations: 3.984 kB / 0.7227 GB, free: 10.7 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.506e-05/0.1814, allocations: 8 kB / 0.7227 GB, free: 10.7 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.516e-06/0.1814, allocations: 4 kB / 0.7227 GB, free: 10.69 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.0001084/0.1815, allocations: 130.7 kB / 0.7228 GB, free: 10.55 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.246e-05/0.1815, allocations: 7.891 kB / 0.7228 GB, free: 10.55 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.031e-05/0.1815, allocations: 3.906 kB / 0.7228 GB, free: 10.54 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.1815, allocations: 4 kB / 0.7228 GB, free: 10.54 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.1815, allocations: 3.984 kB / 0.7228 GB, free: 10.53 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.1815, allocations: 0 / 0.7228 GB, free: 10.53 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001217/0.1816, allocations: 120.8 kB / 0.7229 GB, free: 10.37 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.1816, allocations: 0 / 0.7229 GB, free: 10.37 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.334e-06/0.1817, allocations: 7.938 kB / 0.7229 GB, free: 10.36 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.1817, allocations: 0 / 0.7229 GB, free: 10.36 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.012e-05/0.1817, allocations: 7.984 kB / 0.7229 GB, free: 10.36 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.1817, allocations: 4 kB / 0.723 GB, free: 10.35 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.1817, allocations: 0 / 0.723 GB, free: 10.35 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000131/0.1818, allocations: 97.12 kB / 0.723 GB, free: 10.24 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.541e-05/0.1818, allocations: 15.81 kB / 0.7231 GB, free: 10.22 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.857e-05/0.1818, allocations: 7.984 kB / 0.7231 GB, free: 10.21 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.167e-05/0.1818, allocations: 0 / 0.7231 GB, free: 10.21 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.315e-05/0.1819, allocations: 7.938 kB / 0.7231 GB, free: 10.21 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.175e-05/0.1819, allocations: 0 / 0.7231 GB, free: 10.21 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.856e-05/0.1819, allocations: 79.28 kB / 0.7232 GB, free: 10.13 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.1819, allocations: 4 kB / 0.7232 GB, free: 10.12 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002217/0.1821, allocations: 24.03 kB / 0.7232 GB, free: 10.1 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.000532/0.1827, allocations: 0.675 MB / 0.7238 GB, free: 9.398 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001352/0.1828, allocations: 51.92 kB / 0.7239 GB, free: 9.348 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.1828, allocations: 0 / 0.7239 GB, free: 9.348 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 2.715e-05/0.1828, allocations: 19.92 kB / 0.7239 GB, free: 9.328 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001257/0.183, allocations: 4.531 kB / 0.7239 GB, free: 9.324 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004159/0.1834, allocations: 160.3 kB / 0.7241 GB, free: 9.129 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.26e-05/0.1834, allocations: 63.3 kB / 0.7241 GB, free: 9.047 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.416e-05/0.1835, allocations: 7.984 kB / 0.7241 GB, free: 9.039 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.68e-05/0.1835, allocations: 11.44 kB / 0.7241 GB, free: 9.027 MB / 0.545 GB Notification: Performance of SimCode: time 2.6e-07/0.1835, allocations: 0 / 0.7241 GB, free: 9.027 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03153/0.215, allocations: 2.086 MB / 0.7262 GB, free: 7.137 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.24/11.45, allocations: 8.547 kB / 0.7262 GB, free: 7.129 MB / 0.545 GB " [Timeout remaining time 648] (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: 15.128272355999798] Failed to read output from testmodel.py, exit status != 0: 11.563074483070523 11.590533702 11.406447416 Calling exit ...