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.001391/0.001391, allocations: 113 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.001648/0.001648, allocations: 209 kB / 22.25 MB, free: 5.086 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.411/1.411, allocations: 230.6 MB / 256 MB, free: 8.027 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.8601/0.8601, allocations: 134 MB / 446.4 MB, free: 10.21 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.002044/0.002044, allocations: 69.42 kB / 0.6186 GB, free: 7.211 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.165/0.1671, allocations: 85.9 MB / 0.7025 GB, free: 1.379 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.0026/0.1697, allocations: 1.271 MB / 0.7037 GB, free: 104 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.00107/0.1707, allocations: 0.5298 MB / 0.7042 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.989e-05/0.1708, allocations: 0 / 0.7042 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.758e-05/0.1708, allocations: 4 kB / 0.7042 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.005e-05/0.1709, allocations: 0 / 0.7042 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004062/0.1713, allocations: 59.86 kB / 0.7043 GB, free: 15.51 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.81e-05/0.1713, allocations: 7.984 kB / 0.7043 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.399e-05/0.1714, allocations: 7.938 kB / 0.7043 GB, free: 15.49 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.558e-05/0.1714, allocations: 0 / 0.7043 GB, free: 15.49 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.811e-05/0.1715, allocations: 11.97 kB / 0.7043 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 8.967e-06/0.1715, allocations: 0 / 0.7043 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002117/0.1717, allocations: 87.77 kB / 0.7044 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 5.921e-05/0.1717, allocations: 19.97 kB / 0.7044 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.164e-05/0.1718, allocations: 4 kB / 0.7044 GB, free: 15.37 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001635/0.1719, allocations: 64.06 kB / 0.7045 GB, free: 15.31 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.1719, allocations: 3.938 kB / 0.7045 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.703e-06/0.1719, allocations: 0 / 0.7045 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.942e-06/0.172, allocations: 0 / 0.7045 GB, free: 15.3 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.0004269/0.1724, allocations: 262.3 kB / 0.7047 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/0.1724, allocations: 8.031 kB / 0.7048 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.67e-05/0.1725, allocations: 42.75 kB / 0.7048 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.341e-05/0.1725, allocations: 4.938 kB / 0.7048 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.91e-05/0.1726, allocations: 106.5 kB / 0.7049 GB, free: 14.83 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.456e-05/0.1726, allocations: 8.125 kB / 0.7049 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.148e-05/0.1726, allocations: 3.984 kB / 0.7049 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001343/0.1728, allocations: 49.69 kB / 0.705 GB, free: 14.76 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.1728, allocations: 0 / 0.705 GB, free: 14.76 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.756e-06/0.1728, allocations: 0 / 0.705 GB, free: 14.76 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.1728, allocations: 0 / 0.705 GB, free: 14.76 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.381e-05/0.1728, allocations: 12 kB / 0.705 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001598/0.173, allocations: 128.8 kB / 0.7051 GB, free: 14.58 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 6.846e-05/0.173, allocations: 30.45 kB / 0.7051 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.093e-05/0.1731, allocations: 24.88 kB / 0.7051 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 9.528e-06/0.1731, allocations: 0 / 0.7051 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001878/0.1733, allocations: 67.39 kB / 0.7052 GB, free: 14.44 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=7): time 1.012e-06/0.1733, allocations: 0 / 0.7052 GB, free: 14.44 MB / 0.5294 GB Notification: Performance of matching and sorting (n=7): time 0.0002336/0.1735, allocations: 97.59 kB / 0.7053 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.013e-05/0.1736, allocations: 63.39 kB / 0.7054 GB, free: 14.26 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.221e-05/0.1736, allocations: 93.86 kB / 0.7055 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.962e-05/0.1736, allocations: 29.7 kB / 0.7055 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.07e-05/0.1737, allocations: 84.14 kB / 0.7056 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.546e-05/0.1737, allocations: 23.81 kB / 0.7056 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.229e-05/0.1738, allocations: 29.72 kB / 0.7056 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001444/0.1739, allocations: 318.8 kB / 0.7059 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.642e-05/0.174, allocations: 23.98 kB / 0.7059 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.654e-05/0.1741, allocations: 62 kB / 0.706 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001332/0.1742, allocations: 105.9 kB / 0.7061 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.548e-06/0.1742, allocations: 3.938 kB / 0.7061 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001845/0.1744, allocations: 105.5 kB / 0.7062 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/0.1744, allocations: 8.219 kB / 0.7062 GB, free: 13.31 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.1744, allocations: 4 kB / 0.7062 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.75e-05/0.1744, allocations: 4 kB / 0.7062 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.322e-05/0.1745, allocations: 15.92 kB / 0.7062 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.178e-06/0.1745, allocations: 4 kB / 0.7062 GB, free: 13.28 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.013e-05/0.1746, allocations: 7.953 kB / 0.7062 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.588e-06/0.1746, allocations: 4 kB / 0.7063 GB, free: 13.27 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.0001197/0.1747, allocations: 129.7 kB / 0.7064 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.272e-05/0.1747, allocations: 7.938 kB / 0.7064 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.584e-05/0.1747, allocations: 11.89 kB / 0.7064 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.1747, allocations: 0 / 0.7064 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.1747, allocations: 0 / 0.7064 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.1747, allocations: 0 / 0.7064 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001374/0.1749, allocations: 132.6 kB / 0.7065 GB, free: 12.94 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.1749, allocations: 0 / 0.7065 GB, free: 12.94 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.228e-06/0.1749, allocations: 3.938 kB / 0.7065 GB, free: 12.94 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.2e-06/0.1749, allocations: 4 kB / 0.7065 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.686e-06/0.1749, allocations: 4 kB / 0.7065 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.1749, allocations: 0 / 0.7065 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.1749, allocations: 7.938 kB / 0.7065 GB, free: 12.92 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001467/0.175, allocations: 109 kB / 0.7066 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 7.735e-06/0.175, allocations: 0 / 0.7066 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.944e-05/0.1751, allocations: 4 kB / 0.7066 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.315e-05/0.1751, allocations: 0 / 0.7066 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.017e-05/0.1751, allocations: 3.984 kB / 0.7067 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.539e-05/0.1751, allocations: 4 kB / 0.7067 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 3.266e-05/0.1751, allocations: 75.28 kB / 0.7067 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.1751, allocations: 4.031 kB / 0.7067 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002638/0.1754, allocations: 27.94 kB / 0.7068 GB, free: 12.68 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.0005757/0.176, allocations: 0.6631 MB / 0.7074 GB, free: 11.99 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001491/0.1761, allocations: 56 kB / 0.7075 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1761, allocations: 0 / 0.7075 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 2.915e-05/0.1762, allocations: 16 kB / 0.7075 GB, free: 11.92 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001413/0.1763, allocations: 6.125 kB / 0.7075 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004806/0.1768, allocations: 155.2 kB / 0.7076 GB, free: 11.72 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003604/0.1772, allocations: 0.6844 MB / 0.7083 GB, free: 11.01 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 2.819e-05/0.1772, allocations: 4.438 kB / 0.7083 GB, free: 11.01 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.667e-05/0.1772, allocations: 15.44 kB / 0.7083 GB, free: 10.99 MB / 0.5294 GB Notification: Performance of SimCode: time 3.3e-07/0.1772, allocations: 0 / 0.7083 GB, free: 10.99 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02915/0.2064, allocations: 1.704 MB / 0.71 GB, free: 9.473 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.82/11.03, allocations: 3.25 kB / 0.71 GB, free: 9.473 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.517561930930242] Failed to read output from testmodel.py, exit status != 0: 11.130912545137107 11.155290963 10.979027535 Calling exit ...