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.00136/0.00136, allocations: 99.64 kB / 18.95 MB, free: 2.676 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.001529/0.001529, allocations: 208 kB / 22.24 MB, free: 5.262 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.393/1.393, allocations: 230.6 MB / 256 MB, free: 7.785 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.8381/0.8381, allocations: 134 MB / 446.4 MB, free: 9.91 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="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: 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.00198/0.00198, allocations: 65.61 kB / 0.6185 GB, free: 6.844 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1608/0.1628, allocations: 85.92 MB / 0.7024 GB, free: 1.012 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.002351/0.1651, allocations: 1.26 MB / 0.7037 GB, free: 15.74 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0009353/0.1661, allocations: 494.7 kB / 0.7041 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.661e-05/0.1661, allocations: 0 / 0.7041 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.979e-05/0.1661, allocations: 0 / 0.7041 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.646e-05/0.1662, allocations: 0 / 0.7041 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003228/0.1665, allocations: 59.8 kB / 0.7042 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 5.16e-05/0.1665, allocations: 11.98 kB / 0.7042 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.619e-05/0.1666, allocations: 4 kB / 0.7042 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.651e-05/0.1666, allocations: 11.98 kB / 0.7042 GB, free: 15.17 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.022e-05/0.1666, allocations: 3.984 kB / 0.7042 GB, free: 15.17 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.134e-05/0.1667, allocations: 4 kB / 0.7042 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001588/0.1668, allocations: 71.72 kB / 0.7043 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 5.275e-05/0.1669, allocations: 15.97 kB / 0.7043 GB, free: 15.08 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.51e-05/0.1669, allocations: 4 kB / 0.7043 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001458/0.167, allocations: 64.06 kB / 0.7044 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.167, allocations: 3.938 kB / 0.7044 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.593e-06/0.1671, allocations: 0 / 0.7044 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.1671, allocations: 0 / 0.7044 GB, free: 15.01 MB / 0.5294 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.0003692/0.1674, allocations: 270.3 kB / 0.7046 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.454e-05/0.1675, allocations: 8.031 kB / 0.7046 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.659e-05/0.1675, allocations: 30.75 kB / 0.7047 GB, free: 14.67 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.717e-05/0.1675, allocations: 4.938 kB / 0.7047 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.427e-05/0.1676, allocations: 106.5 kB / 0.7048 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.25e-05/0.1676, allocations: 4.125 kB / 0.7048 GB, free: 14.53 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.23e-05/0.1676, allocations: 8 kB / 0.7048 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001055/0.1677, allocations: 45.69 kB / 0.7048 GB, free: 14.47 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.244e-06/0.1677, allocations: 4 kB / 0.7048 GB, free: 14.47 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.043e-06/0.1678, allocations: 0 / 0.7048 GB, free: 14.47 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.838e-06/0.1678, allocations: 4 kB / 0.7048 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.894e-05/0.1678, allocations: 15.94 kB / 0.7049 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001546/0.1679, allocations: 124.8 kB / 0.705 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 5.727e-05/0.168, allocations: 30.58 kB / 0.705 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.451e-05/0.168, allocations: 16.88 kB / 0.705 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 7.484e-06/0.168, allocations: 0 / 0.705 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001366/0.1682, allocations: 59.47 kB / 0.7051 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=7): time 1.172e-06/0.1682, allocations: 3.938 kB / 0.7051 GB, free: 14.15 MB / 0.5294 GB Notification: Performance of matching and sorting (n=7): time 0.0002057/0.1684, allocations: 97.62 kB / 0.7052 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.418e-05/0.1684, allocations: 63.39 kB / 0.7052 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.431e-05/0.1685, allocations: 97.83 kB / 0.7053 GB, free: 13.87 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.397e-05/0.1685, allocations: 33.7 kB / 0.7054 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.571e-05/0.1685, allocations: 80.14 kB / 0.7054 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.958e-05/0.1686, allocations: 23.83 kB / 0.7055 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.578e-05/0.1686, allocations: 29.7 kB / 0.7055 GB, free: 13.69 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001499/0.1688, allocations: 314.8 kB / 0.7058 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.314e-05/0.1688, allocations: 23.97 kB / 0.7058 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.407e-05/0.1689, allocations: 69.06 kB / 0.7059 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001344/0.169, allocations: 97.94 kB / 0.706 GB, free: 13.15 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.841e-06/0.169, allocations: 7.922 kB / 0.706 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000157/0.1692, allocations: 105.5 kB / 0.7061 GB, free: 13.03 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.1692, allocations: 8 kB / 0.7061 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.1692, allocations: 4.219 kB / 0.7061 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.1692, allocations: 7.938 kB / 0.7061 GB, free: 13.01 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.936e-05/0.1693, allocations: 15.98 kB / 0.7061 GB, free: 13 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.034e-06/0.1693, allocations: 7.938 kB / 0.7061 GB, free: 12.99 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.281e-05/0.1693, allocations: 7.953 kB / 0.7061 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.196e-06/0.1693, allocations: 4.234 kB / 0.7061 GB, free: 12.98 MB / 0.5294 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.0001114/0.1695, allocations: 133.6 kB / 0.7063 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.225e-06/0.1695, allocations: 0 / 0.7063 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.057e-05/0.1695, allocations: 3.906 kB / 0.7063 GB, free: 12.83 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-06/0.1695, allocations: 4 kB / 0.7063 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.1695, allocations: 3.984 kB / 0.7063 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.1695, allocations: 4 kB / 0.7063 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001384/0.1696, allocations: 132.6 kB / 0.7064 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.1696, allocations: 0 / 0.7064 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.507e-06/0.1696, allocations: 0 / 0.7064 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.442e-06/0.1696, allocations: 0 / 0.7064 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.512e-06/0.1696, allocations: 0 / 0.7064 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.1696, allocations: 0 / 0.7064 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1696, allocations: 0 / 0.7064 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001454/0.1698, allocations: 121 kB / 0.7065 GB, free: 12.51 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 4.869e-06/0.1698, allocations: 4.031 kB / 0.7065 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.567e-05/0.1698, allocations: 4 kB / 0.7065 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.14e-05/0.1698, allocations: 0 / 0.7065 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.99e-05/0.1698, allocations: 0 / 0.7065 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.687e-05/0.1699, allocations: 11.92 kB / 0.7065 GB, free: 12.49 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.215e-05/0.1699, allocations: 75.28 kB / 0.7066 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.1699, allocations: 0 / 0.7066 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002162/0.1701, allocations: 27.94 kB / 0.7066 GB, free: 12.39 MB / 0.5294 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.0005275/0.1706, allocations: 0.6593 MB / 0.7073 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001332/0.1708, allocations: 63.88 kB / 0.7073 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.1708, allocations: 0 / 0.7073 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 2.716e-05/0.1708, allocations: 12 kB / 0.7073 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001248/0.1709, allocations: 0 / 0.7073 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004052/0.1713, allocations: 159.2 kB / 0.7075 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.828e-05/0.1714, allocations: 65.73 kB / 0.7076 GB, free: 11.35 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 1.675e-05/0.1714, allocations: 4.5 kB / 0.7076 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.664e-05/0.1714, allocations: 19.44 kB / 0.7076 GB, free: 11.33 MB / 0.5294 GB Notification: Performance of SimCode: time 2.8e-07/0.1714, allocations: 0 / 0.7076 GB, free: 11.33 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02986/0.2013, allocations: 2.082 MB / 0.7096 GB, free: 9.434 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.67/10.87, allocations: 0 / 0.7096 GB, free: 9.434 MB / 0.5294 GB " [Timeout remaining time 649] (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 sys.exit(0), Time elapsed: 14.343371720053256] Failed to read output from testmodel.py, exit status != 0: 10.973852541763335 11.001794054 10.829682694 Calling exit ...