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.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.001288/0.001288, allocations: 117.1 kB / 17.16 MB, free: 5.895 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.001362/0.001362, allocations: 215 kB / 20.13 MB, free: 2.949 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.404/1.404, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.8449/0.8449, allocations: 133.9 MB / 443.5 MB, free: 13.83 MB / 350.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.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(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_ShiftAggregationCells",fmuType="cs",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="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS 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.001939/0.001939, allocations: 69.23 kB / 0.6141 GB, free: 38.26 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1623/0.1642, allocations: 85.86 MB / 0.698 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.002693/0.1669, allocations: 1.256 MB / 0.6992 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001322/0.1682, allocations: 0.5203 MB / 0.6997 GB, free: 12.28 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.021e-05/0.1682, allocations: 0 / 0.6997 GB, free: 12.28 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 3.232e-05/0.1683, allocations: 5.125 kB / 0.6997 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 6.504e-05/0.1683, allocations: 0 / 0.6997 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003894/0.1687, allocations: 57.7 kB / 0.6998 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 6.122e-05/0.1688, allocations: 7.125 kB / 0.6998 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.2e-05/0.1688, allocations: 9.234 kB / 0.6998 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 2.436e-05/0.1689, allocations: 6.406 kB / 0.6998 GB, free: 12.22 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 4.49e-05/0.1689, allocations: 11.48 kB / 0.6998 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 8.806e-06/0.1689, allocations: 1.188 kB / 0.6998 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001608/0.1691, allocations: 74.38 kB / 0.6999 GB, free: 12.17 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 4.975e-05/0.1691, allocations: 8.672 kB / 0.6999 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.949e-05/0.1692, allocations: 11.59 kB / 0.6999 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001272/0.1693, allocations: 53.91 kB / 0.7 GB, free: 12.13 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.1693, allocations: 0 / 0.7 GB, free: 12.13 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.193e-06/0.1693, allocations: 0 / 0.7 GB, free: 12.13 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.714e-06/0.1693, allocations: 7.922 kB / 0.7 GB, free: 12.12 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.0003809/0.1697, allocations: 337.7 kB / 0.7003 GB, free: 11.76 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.566e-05/0.1697, allocations: 11.23 kB / 0.7003 GB, free: 11.76 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.777e-05/0.1697, allocations: 5.562 kB / 0.7003 GB, free: 11.76 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.162e-05/0.1698, allocations: 36.12 kB / 0.7003 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.162e-05/0.1698, allocations: 2.375 kB / 0.7003 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000109/0.1699, allocations: 160.4 kB / 0.7005 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.435e-05/0.1699, allocations: 9.359 kB / 0.7005 GB, free: 11.51 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.648e-06/0.1699, allocations: 6.688 kB / 0.7005 GB, free: 11.51 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001134/0.17, allocations: 51.11 kB / 0.7006 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.17, allocations: 1.031 kB / 0.7006 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.043e-06/0.17, allocations: 0 / 0.7006 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.596e-06/0.1701, allocations: 0 / 0.7006 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.737e-05/0.1701, allocations: 15.38 kB / 0.7006 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001686/0.1702, allocations: 166.3 kB / 0.7007 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 5.049e-05/0.1703, allocations: 21.67 kB / 0.7007 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.864e-05/0.1703, allocations: 20.25 kB / 0.7008 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 4.278e-06/0.1703, allocations: 1.594 kB / 0.7008 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001397/0.1705, allocations: 77.42 kB / 0.7008 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=7): time 1.123e-06/0.1705, allocations: 3.938 kB / 0.7008 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of matching and sorting (n=7): time 0.0002043/0.1707, allocations: 91.55 kB / 0.7009 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.852e-05/0.1707, allocations: 59.86 kB / 0.701 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.859e-05/0.1708, allocations: 93.86 kB / 0.7011 GB, free: 10.92 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.854e-05/0.1708, allocations: 28.36 kB / 0.7011 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.82e-05/0.1708, allocations: 85.45 kB / 0.7012 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.171e-05/0.1709, allocations: 23.77 kB / 0.7012 GB, free: 10.78 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.36e-05/0.1709, allocations: 27.12 kB / 0.7012 GB, free: 10.76 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001448/0.1711, allocations: 324.1 kB / 0.7015 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.955e-05/0.1711, allocations: 20.36 kB / 0.7016 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.356e-05/0.1712, allocations: 67.81 kB / 0.7016 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001255/0.1713, allocations: 102.9 kB / 0.7017 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.1713, allocations: 0 / 0.7017 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001684/0.1715, allocations: 115.1 kB / 0.7018 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/0.1715, allocations: 5.5 kB / 0.7018 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.1715, allocations: 1.375 kB / 0.7018 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.1715, allocations: 6.688 kB / 0.7019 GB, free: 10.19 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.866e-05/0.1716, allocations: 13.61 kB / 0.7019 GB, free: 10.19 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.1716, allocations: 2.75 kB / 0.7019 GB, free: 10.19 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.2e-05/0.1716, allocations: 6.75 kB / 0.7019 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.524e-06/0.1716, allocations: 4.125 kB / 0.7019 GB, free: 10.18 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.0001052/0.1717, allocations: 135.3 kB / 0.702 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.128e-05/0.1718, allocations: 1.375 kB / 0.702 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.278e-05/0.1718, allocations: 3.969 kB / 0.702 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-06/0.1718, allocations: 0 / 0.702 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.1718, allocations: 5.312 kB / 0.702 GB, free: 10.03 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.1718, allocations: 0 / 0.702 GB, free: 10.03 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001399/0.1719, allocations: 161.6 kB / 0.7022 GB, free: 9.828 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.52e-07/0.1719, allocations: 0 / 0.7022 GB, free: 9.828 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.417e-06/0.1719, allocations: 0 / 0.7022 GB, free: 9.828 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.243e-06/0.1719, allocations: 1.375 kB / 0.7022 GB, free: 9.828 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.268e-06/0.1719, allocations: 9.375 kB / 0.7022 GB, free: 9.82 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.001e-06/0.1719, allocations: 0 / 0.7022 GB, free: 9.82 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.1719, allocations: 0 / 0.7022 GB, free: 9.82 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001353/0.1721, allocations: 111.5 kB / 0.7023 GB, free: 9.73 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.279e-05/0.1721, allocations: 82.48 kB / 0.7024 GB, free: 9.633 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.536e-05/0.1721, allocations: 4.125 kB / 0.7024 GB, free: 9.633 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.418e-05/0.1722, allocations: 3.984 kB / 0.7024 GB, free: 9.629 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.611e-05/0.1722, allocations: 1.375 kB / 0.7024 GB, free: 9.629 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.351e-05/0.1722, allocations: 10.78 kB / 0.7024 GB, free: 9.621 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.15e-05/0.1722, allocations: 75.28 kB / 0.7025 GB, free: 9.547 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/0.1722, allocations: 0 / 0.7025 GB, free: 9.547 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002139/0.1724, allocations: 23.19 kB / 0.7025 GB, free: 9.543 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.0005247/0.173, allocations: 0.6718 MB / 0.7031 GB, free: 8.914 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001268/0.1731, allocations: 60.78 kB / 0.7032 GB, free: 8.887 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.1731, allocations: 1.375 kB / 0.7032 GB, free: 8.887 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 2.706e-05/0.1731, allocations: 13.62 kB / 0.7032 GB, free: 8.883 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001243/0.1732, allocations: 2.25 kB / 0.7032 GB, free: 8.883 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004102/0.1736, allocations: 152.6 kB / 0.7034 GB, free: 8.727 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003174/0.174, allocations: 0.6827 MB / 0.704 GB, free: 8.023 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 1.937e-05/0.174, allocations: 7.875 kB / 0.704 GB, free: 8.02 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.209e-05/0.174, allocations: 10.56 kB / 0.704 GB, free: 8.016 MB / 0.5137 GB Notification: Performance of SimCode: time 2.91e-07/0.174, allocations: 0 / 0.704 GB, free: 8.016 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0178/0.1918, allocations: 1.649 MB / 0.7057 GB, free: 6.789 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.906/8.098, allocations: 11.66 kB / 0.7057 GB, free: 6.781 MB / 0.5137 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_ShiftAggregationCells_fmu --startTime=3.5 --stopTime=5.5 --stepSize=0.0008 --timeout=50 --tolerance=1e-06 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 os._exit(0), Time elapsed: 11.685259422985837] Failed to read output from testmodel.py, exit status != 0: 8.485855522972997 8.243647295 8.07009584 Calling exit ...