Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001838/0.001839, allocations: 106.2 kB / 16.4 MB, free: 6.488 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002024/0.002024, allocations: 196.5 kB / 19.36 MB, free: 3.73 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.492/1.492, allocations: 222.9 MB / 245.1 MB, free: 15.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8249/0.8249, allocations: 132.2 MB / 429.4 MB, free: 5.973 MB / 334.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.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(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_ShiftAggregationCells",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_ShiftAggregationCells",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002052/0.002052, allocations: 64.27 kB / 0.5894 GB, free: 24 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1578/0.1599, allocations: 80.21 MB / 0.6677 GB, free: 9.797 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.00289/0.1628, allocations: 1.238 MB / 0.6689 GB, free: 8.551 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009961/0.1638, allocations: 491 kB / 0.6694 GB, free: 8.07 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.079e-05/0.1639, allocations: 4 kB / 0.6694 GB, free: 8.066 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.078e-05/0.1639, allocations: 0 / 0.6694 GB, free: 8.066 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.046e-05/0.164, allocations: 11.97 kB / 0.6694 GB, free: 8.055 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003557/0.1644, allocations: 51.81 kB / 0.6695 GB, free: 8.004 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.836e-05/0.1644, allocations: 12 kB / 0.6695 GB, free: 7.992 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.568e-05/0.1645, allocations: 3.984 kB / 0.6695 GB, free: 7.988 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.308e-05/0.1645, allocations: 4 kB / 0.6695 GB, free: 7.984 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.709e-05/0.1645, allocations: 7.984 kB / 0.6695 GB, free: 7.977 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.869e-06/0.1646, allocations: 0 / 0.6695 GB, free: 7.977 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001788/0.1647, allocations: 71.84 kB / 0.6696 GB, free: 7.906 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.881e-05/0.1648, allocations: 8 kB / 0.6696 GB, free: 7.898 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.378e-05/0.1649, allocations: 15.94 kB / 0.6696 GB, free: 7.883 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001548/0.165, allocations: 64 kB / 0.6697 GB, free: 7.82 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.165, allocations: 0 / 0.6697 GB, free: 7.82 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.372e-06/0.165, allocations: 0 / 0.6697 GB, free: 7.82 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.165, allocations: 0 / 0.6697 GB, free: 7.82 MB / 0.4981 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.0004198/0.1655, allocations: 335.5 kB / 0.67 GB, free: 7.445 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.1655, allocations: 8.031 kB / 0.67 GB, free: 7.438 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.959e-05/0.1656, allocations: 42.73 kB / 0.67 GB, free: 7.387 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.927e-05/0.1656, allocations: 4.891 kB / 0.67 GB, free: 7.383 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001308/0.1657, allocations: 164.4 kB / 0.6702 GB, free: 7.184 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.437e-05/0.1658, allocations: 4.125 kB / 0.6702 GB, free: 7.18 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.068e-05/0.1658, allocations: 4 kB / 0.6702 GB, free: 7.176 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001223/0.1659, allocations: 49.69 kB / 0.6702 GB, free: 7.121 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.1659, allocations: 0 / 0.6702 GB, free: 7.121 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.925e-06/0.1659, allocations: 0 / 0.6702 GB, free: 7.121 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.067e-06/0.1659, allocations: 3.984 kB / 0.6702 GB, free: 7.117 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.257e-05/0.166, allocations: 19.92 kB / 0.6703 GB, free: 7.098 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001643/0.1662, allocations: 153.7 kB / 0.6704 GB, free: 6.898 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.531e-05/0.1662, allocations: 34.52 kB / 0.6704 GB, free: 6.855 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.912e-05/0.1663, allocations: 16.95 kB / 0.6705 GB, free: 6.836 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.588e-06/0.1663, allocations: 0 / 0.6705 GB, free: 6.836 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001626/0.1664, allocations: 67.33 kB / 0.6705 GB, free: 6.758 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 1.182e-06/0.1664, allocations: 4 kB / 0.6705 GB, free: 6.754 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.0002951/0.1667, allocations: 93.66 kB / 0.6706 GB, free: 6.656 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.131e-05/0.1668, allocations: 59.44 kB / 0.6707 GB, free: 6.586 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.291e-05/0.1669, allocations: 97.81 kB / 0.6708 GB, free: 6.48 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.565e-05/0.1669, allocations: 33.69 kB / 0.6708 GB, free: 6.441 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.213e-05/0.1669, allocations: 84.14 kB / 0.6709 GB, free: 6.355 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.62e-05/0.167, allocations: 15.84 kB / 0.6709 GB, free: 6.34 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.75e-05/0.167, allocations: 33.64 kB / 0.6709 GB, free: 6.301 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001403/0.1672, allocations: 318.8 kB / 0.6712 GB, free: 5.98 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.337e-05/0.1672, allocations: 23.92 kB / 0.6713 GB, free: 5.957 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.678e-05/0.1673, allocations: 75.3 kB / 0.6713 GB, free: 5.863 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001317/0.1674, allocations: 97.94 kB / 0.6714 GB, free: 5.746 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/0.1675, allocations: 3.938 kB / 0.6714 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001712/0.1676, allocations: 109.5 kB / 0.6715 GB, free: 5.629 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.1676, allocations: 4 kB / 0.6715 GB, free: 5.625 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.1677, allocations: 8.156 kB / 0.6715 GB, free: 5.617 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/0.1677, allocations: 8 kB / 0.6715 GB, free: 5.609 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.178e-05/0.1678, allocations: 12 kB / 0.6716 GB, free: 5.598 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.698e-06/0.1678, allocations: 8.219 kB / 0.6716 GB, free: 5.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.785e-05/0.1678, allocations: 7.953 kB / 0.6716 GB, free: 5.582 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.027e-06/0.1678, allocations: 4 kB / 0.6716 GB, free: 5.578 MB / 0.4981 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.0002259/0.1681, allocations: 133.6 kB / 0.6717 GB, free: 5.438 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.161e-05/0.1681, allocations: 4 kB / 0.6717 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.928e-05/0.1681, allocations: 7.969 kB / 0.6717 GB, free: 5.414 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.1681, allocations: 0 / 0.6717 GB, free: 5.414 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.1681, allocations: 3.984 kB / 0.6717 GB, free: 5.41 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.1681, allocations: 0 / 0.6717 GB, free: 5.41 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000271/0.1684, allocations: 153.6 kB / 0.6719 GB, free: 5.211 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.1684, allocations: 0 / 0.6719 GB, free: 5.211 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.602e-06/0.1684, allocations: 3.984 kB / 0.6719 GB, free: 5.207 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.1684, allocations: 0 / 0.6719 GB, free: 5.207 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.548e-06/0.1685, allocations: 4 kB / 0.6719 GB, free: 5.203 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.1685, allocations: 0 / 0.6719 GB, free: 5.203 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.1685, allocations: 3.984 kB / 0.6719 GB, free: 5.199 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001402/0.1686, allocations: 113 kB / 0.672 GB, free: 5.07 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001172/0.1687, allocations: 85.06 kB / 0.6721 GB, free: 4.969 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.735e-05/0.1688, allocations: 4 kB / 0.6721 GB, free: 4.965 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.237e-05/0.1688, allocations: 0 / 0.6721 GB, free: 4.965 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.564e-05/0.1688, allocations: 0 / 0.6721 GB, free: 4.965 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.433e-05/0.1688, allocations: 4 kB / 0.6721 GB, free: 4.961 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.512e-05/0.1689, allocations: 75.28 kB / 0.6721 GB, free: 4.887 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1689, allocations: 0 / 0.6721 GB, free: 4.887 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002471/0.1691, allocations: 27.95 kB / 0.6722 GB, free: 4.859 MB / 0.4981 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.0005413/0.1697, allocations: 0.6679 MB / 0.6728 GB, free: 4.164 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000148/0.1698, allocations: 60.2 kB / 0.6729 GB, free: 4.105 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.1698, allocations: 4.062 kB / 0.6729 GB, free: 4.102 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.717e-05/0.1699, allocations: 27.92 kB / 0.6729 GB, free: 4.074 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001291/0.17, allocations: 3.938 kB / 0.6729 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003994/0.1704, allocations: 155 kB / 0.6731 GB, free: 3.875 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002998/0.1707, allocations: 0.6838 MB / 0.6737 GB, free: 3.168 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.023e-05/0.1708, allocations: 4 kB / 0.6737 GB, free: 3.164 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.282e-05/0.1708, allocations: 7.438 kB / 0.6737 GB, free: 3.16 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.1708, allocations: 8.062 kB / 0.6738 GB, free: 3.152 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02309/0.1939, allocations: 1.582 MB / 0.6753 GB, free: 1.77 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.773/7.967, allocations: 14 kB / 0.6753 GB, free: 1.758 MB / 0.4981 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.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 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_ShiftAggregationCells.fmu > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.598758204025216] Failed to read output from testmodel.py, exit status != 0: 8.030745861004107 8.045311078 7.877568735 Calling exit ...