Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.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.001633/0.001633, allocations: 77.36 kB / 19.01 MB, free: 2.859 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.001721/0.001721, allocations: 155.8 kB / 22.25 MB, free: 5.109 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.386/1.386, allocations: 177.2 MB / 202.6 MB, free: 9.266 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002401/0.002401, allocations: 227.4 kB / 259.2 MB, free: 0.582 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.076/1.076, allocations: 138.5 MB / 454.2 MB, free: 2.039 MB / 366.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/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: translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells") [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.003066/0.003066, allocations: 107.8 kB / 0.6466 GB, free: 5.18 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3688/0.3718, allocations: 95.34 MB / 0.7397 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells): time 0.001619/0.3734, allocations: 0.5623 MB / 0.7403 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0009486/0.3744, allocations: 0.7912 MB / 0.7411 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.804e-05/0.3744, allocations: 0 / 0.7411 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.132e-05/0.3744, allocations: 4 kB / 0.7411 GB, free: 13.81 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.13e-06/0.3744, allocations: 0 / 0.7411 GB, free: 13.81 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002477/0.3747, allocations: 19.86 kB / 0.7411 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 4.38e-05/0.3747, allocations: 4 kB / 0.7411 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.489e-05/0.3748, allocations: 4 kB / 0.7411 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 2.097e-05/0.3748, allocations: 4 kB / 0.7411 GB, free: 13.78 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001253/0.3749, allocations: 19.97 kB / 0.7411 GB, free: 13.76 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 7.003e-06/0.3749, allocations: 0 / 0.7411 GB, free: 13.76 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 3.346e-06/0.3749, allocations: 0 / 0.7411 GB, free: 13.76 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 7.704e-06/0.3749, allocations: 0 / 0.7411 GB, free: 13.76 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 1.603e-05/0.3749, allocations: 0 / 0.7411 GB, free: 13.76 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 3.358e-05/0.375, allocations: 0 / 0.7411 GB, free: 13.76 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 9.678e-06/0.375, allocations: 8 kB / 0.7411 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.272e-06/0.375, allocations: 0 / 0.7411 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.638e-06/0.375, allocations: 0 / 0.7411 GB, free: 13.75 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002537/0.3752, allocations: 246.4 kB / 0.7414 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.155e-05/0.3753, allocations: 8.625 kB / 0.7414 GB, free: 13.47 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.74e-05/0.3753, allocations: 4.938 kB / 0.7414 GB, free: 13.47 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.824e-05/0.3754, allocations: 102.5 kB / 0.7415 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.819e-05/0.3754, allocations: 4.375 kB / 0.7415 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.58e-06/0.3754, allocations: 384 / 0.7415 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.518e-05/0.3755, allocations: 26.27 kB / 0.7415 GB, free: 13.31 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.722e-06/0.3755, allocations: 192 / 0.7415 GB, free: 13.31 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.547e-06/0.3755, allocations: 7.938 kB / 0.7415 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.477e-06/0.3755, allocations: 0 / 0.7415 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.589e-05/0.3755, allocations: 7.938 kB / 0.7415 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002832/0.3758, allocations: 335.1 kB / 0.7418 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 9.723e-05/0.3759, allocations: 165.1 kB / 0.742 GB, free: 12.76 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.869e-05/0.3759, allocations: 80.14 kB / 0.7421 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 4.049e-05/0.376, allocations: 79.22 kB / 0.7422 GB, free: 12.6 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.69e-05/0.376, allocations: 117.8 kB / 0.7423 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 6.91e-07/0.376, allocations: 0 / 0.7423 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 6.548e-05/0.3761, allocations: 29.64 kB / 0.7423 GB, free: 12.44 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.501e-05/0.3762, allocations: 130.7 kB / 0.7424 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.285e-05/0.3763, allocations: 97.84 kB / 0.7425 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.285e-05/0.3763, allocations: 25.7 kB / 0.7425 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.659e-05/0.3763, allocations: 80.14 kB / 0.7426 GB, free: 12.08 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.204e-06/0.3763, allocations: 0 / 0.7426 GB, free: 12.08 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.005e-05/0.3763, allocations: 17.72 kB / 0.7426 GB, free: 12.06 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001354/0.3765, allocations: 310.8 kB / 0.7429 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.692e-06/0.3765, allocations: 0 / 0.7429 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.777e-06/0.3765, allocations: 0 / 0.7429 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.227e-05/0.3765, allocations: 13.05 kB / 0.7429 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.3765, allocations: 0 / 0.7429 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.952e-05/0.3766, allocations: 41.56 kB / 0.743 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.3766, allocations: 8 kB / 0.743 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.3766, allocations: 0 / 0.743 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.051e-05/0.3766, allocations: 0 / 0.743 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.189e-05/0.3767, allocations: 0 / 0.743 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.3767, allocations: 0 / 0.743 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.211e-05/0.3767, allocations: 4 kB / 0.743 GB, free: 11.67 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.567e-06/0.3767, allocations: 0 / 0.743 GB, free: 11.67 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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.0001172/0.3768, allocations: 189.2 kB / 0.7432 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.616e-05/0.3769, allocations: 108.9 kB / 0.7433 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.93e-05/0.3769, allocations: 123.7 kB / 0.7434 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.457e-05/0.377, allocations: 176.3 kB / 0.7436 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.259e-05/0.3771, allocations: 180.2 kB / 0.7437 GB, free: 10.87 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.098e-05/0.3772, allocations: 184.3 kB / 0.7439 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002149/0.3774, allocations: 348.9 kB / 0.7442 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.331e-05/0.3775, allocations: 108.9 kB / 0.7443 GB, free: 10.19 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.13e-05/0.3775, allocations: 101 kB / 0.7444 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.451e-05/0.3776, allocations: 192.1 kB / 0.7446 GB, free: 9.891 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.32e-05/0.3777, allocations: 180.3 kB / 0.7448 GB, free: 9.707 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.3e-05/0.3777, allocations: 184.3 kB / 0.745 GB, free: 9.52 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.363e-05/0.3778, allocations: 188.2 kB / 0.7451 GB, free: 9.328 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000155/0.378, allocations: 303.8 kB / 0.7454 GB, free: 9.008 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.747e-05/0.378, allocations: 108.9 kB / 0.7455 GB, free: 8.895 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.821e-05/0.3781, allocations: 184.2 kB / 0.7457 GB, free: 8.707 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.032e-05/0.3782, allocations: 105.3 kB / 0.7458 GB, free: 8.598 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.729e-05/0.3783, allocations: 176.3 kB / 0.746 GB, free: 8.418 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.725e-05/0.3783, allocations: 109 kB / 0.7461 GB, free: 8.305 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.862e-05/0.3784, allocations: 79.28 kB / 0.7462 GB, free: 8.227 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.3784, allocations: 3.938 kB / 0.7462 GB, free: 8.223 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002104/0.3786, allocations: 4.094 kB / 0.7462 GB, free: 8.219 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.0001367/0.3787, allocations: 182.5 kB / 0.7463 GB, free: 8.027 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 5.767e-05/0.3788, allocations: 0 / 0.7463 GB, free: 8.027 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.127e-06/0.3788, allocations: 4 kB / 0.7464 GB, free: 8.023 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 1.403e-06/0.3788, allocations: 0 / 0.7464 GB, free: 8.023 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003894/0.3792, allocations: 457.2 kB / 0.7468 GB, free: 7.574 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001938/0.3794, allocations: 157.4 kB / 0.7469 GB, free: 7.395 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.773e-05/0.3794, allocations: 51.36 kB / 0.747 GB, free: 7.324 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 9.869e-06/0.3794, allocations: 4.062 kB / 0.747 GB, free: 7.32 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.204e-05/0.3795, allocations: 12.5 kB / 0.747 GB, free: 7.309 MB / 0.5762 GB Notification: Performance of SimCode: time 3.01e-07/0.3795, allocations: 0 / 0.747 GB, free: 7.309 MB / 0.5762 GB Notification: Performance of Templates: time 0.002097/0.3816, allocations: 187.4 kB / 0.7472 GB, free: 7.176 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.532668221741915] Failed to read output from testmodel.py, exit status != 0: 0.3895935323089361 0.40415752499999996 0.026185766000000003 Calling exit ...