Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001307/0.001307, allocations: 78.81 kB / 19 MB, free: 2.867 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.001471/0.001471, allocations: 163.2 kB / 22.26 MB, free: 5.133 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.392/1.392, allocations: 177.2 MB / 202.6 MB, free: 9.258 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.002393/0.002393, allocations: 241.8 kB / 259.2 MB, free: 0.5742 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.056/1.056, allocations: 138.5 MB / 454.2 MB, free: 2.066 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.ShiftAggregationCells,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells") [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.002997/0.002997, allocations: 103.8 kB / 0.6466 GB, free: 5.211 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.391/0.394, allocations: 95.35 MB / 0.7398 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.002349/0.3963, allocations: 1.277 MB / 0.741 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0009395/0.3973, allocations: 489.4 kB / 0.7415 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.814e-05/0.3973, allocations: 4 kB / 0.7415 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.973e-05/0.3973, allocations: 0 / 0.7415 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 6.685e-05/0.3974, allocations: 12 kB / 0.7415 GB, free: 13.31 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003422/0.3977, allocations: 51.8 kB / 0.7415 GB, free: 13.26 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 5.719e-05/0.3978, allocations: 15.97 kB / 0.7415 GB, free: 13.24 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.733e-05/0.3978, allocations: 0 / 0.7415 GB, free: 13.24 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.537e-05/0.3979, allocations: 8 kB / 0.7416 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 3.961e-05/0.3979, allocations: 7.984 kB / 0.7416 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 8.406e-06/0.3979, allocations: 4 kB / 0.7416 GB, free: 13.22 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001753/0.3981, allocations: 71.84 kB / 0.7416 GB, free: 13.15 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 5.701e-05/0.3981, allocations: 15.91 kB / 0.7417 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.664e-05/0.3982, allocations: 8 kB / 0.7417 GB, free: 13.13 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001326/0.3983, allocations: 56.97 kB / 0.7417 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.3983, allocations: 0 / 0.7417 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.102e-06/0.3983, allocations: 0 / 0.7417 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.548e-06/0.3983, allocations: 0 / 0.7417 GB, free: 13.07 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003436/0.3987, allocations: 262.3 kB / 0.742 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.287e-05/0.3987, allocations: 8.625 kB / 0.742 GB, free: 12.78 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.656e-05/0.3987, allocations: 4.938 kB / 0.742 GB, free: 12.78 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.949e-05/0.3988, allocations: 114.5 kB / 0.7421 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.358e-05/0.3988, allocations: 4.375 kB / 0.7421 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.468e-06/0.3989, allocations: 384 / 0.7421 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001068/0.399, allocations: 54 kB / 0.7421 GB, free: 12.58 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.399, allocations: 0 / 0.7421 GB, free: 12.58 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.955e-06/0.399, allocations: 0 / 0.7421 GB, free: 12.58 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.587e-06/0.399, allocations: 0 / 0.7421 GB, free: 12.58 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.608e-05/0.399, allocations: 8 kB / 0.7422 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001396/0.3991, allocations: 121.1 kB / 0.7423 GB, free: 12.42 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 5.872e-05/0.3992, allocations: 26.64 kB / 0.7423 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.511e-05/0.3992, allocations: 16.89 kB / 0.7423 GB, free: 12.37 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 9.047e-06/0.3992, allocations: 3.984 kB / 0.7423 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001375/0.3994, allocations: 63.47 kB / 0.7424 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=7): time 1.132e-06/0.3994, allocations: 0 / 0.7424 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of matching and sorting (n=7): time 0.0002139/0.3996, allocations: 101.5 kB / 0.7425 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.931e-05/0.3996, allocations: 55.41 kB / 0.7425 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.438e-05/0.3997, allocations: 93.84 kB / 0.7426 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.462e-05/0.3997, allocations: 33.7 kB / 0.7426 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.215e-05/0.3998, allocations: 80.14 kB / 0.7427 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.885e-05/0.3998, allocations: 23.83 kB / 0.7427 GB, free: 11.87 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.726e-05/0.3998, allocations: 33.73 kB / 0.7428 GB, free: 11.83 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001444/0.4, allocations: 314.8 kB / 0.7431 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.116e-05/0.4, allocations: 19.98 kB / 0.7431 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.583e-05/0.4001, allocations: 68.61 kB / 0.7432 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001357/0.4002, allocations: 97.88 kB / 0.7433 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.4002, allocations: 4 kB / 0.7433 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001748/0.4004, allocations: 117.5 kB / 0.7434 GB, free: 11.17 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.4004, allocations: 8 kB / 0.7434 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.4004, allocations: 3.938 kB / 0.7434 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.4005, allocations: 4 kB / 0.7434 GB, free: 11.15 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.603e-05/0.4005, allocations: 15.92 kB / 0.7434 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.937e-06/0.4006, allocations: 4 kB / 0.7434 GB, free: 11.13 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.93e-05/0.4006, allocations: 12.16 kB / 0.7434 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.264e-05/0.4006, allocations: 4 kB / 0.7434 GB, free: 11.12 MB / 0.5762 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.0001221/0.4007, allocations: 124.1 kB / 0.7435 GB, free: 10.99 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.223e-05/0.4007, allocations: 3.953 kB / 0.7435 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.009e-05/0.4008, allocations: 15.89 kB / 0.7436 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.4008, allocations: 0 / 0.7436 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.4008, allocations: 4 kB / 0.7436 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.4008, allocations: 4 kB / 0.7436 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001123/0.4009, allocations: 93.33 kB / 0.7437 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.4009, allocations: 4 kB / 0.7437 GB, free: 10.83 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.721e-06/0.4009, allocations: 3.984 kB / 0.7437 GB, free: 10.83 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.4009, allocations: 4 kB / 0.7437 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.312e-06/0.4009, allocations: 0 / 0.7437 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.257e-06/0.4009, allocations: 3.938 kB / 0.7437 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.4009, allocations: 3.984 kB / 0.7437 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001492/0.4011, allocations: 97.12 kB / 0.7438 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.859e-06/0.4011, allocations: 4 kB / 0.7438 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.971e-05/0.4011, allocations: 7.984 kB / 0.7438 GB, free: 10.69 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.403e-05/0.4011, allocations: 7.875 kB / 0.7438 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.048e-05/0.4011, allocations: 3.938 kB / 0.7438 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.479e-05/0.4011, allocations: 8.031 kB / 0.7438 GB, free: 10.67 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.589e-05/0.4012, allocations: 75.28 kB / 0.7439 GB, free: 10.6 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.4012, allocations: 0 / 0.7439 GB, free: 10.6 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002417/0.4014, allocations: 31.88 kB / 0.7439 GB, free: 10.57 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: 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.0002078/0.4016, allocations: 119.2 kB / 0.744 GB, free: 10.44 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001436/0.4018, allocations: 55.91 kB / 0.7441 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.4018, allocations: 448 / 0.7441 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 2.986e-05/0.4018, allocations: 19.98 kB / 0.7441 GB, free: 10.37 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000139/0.4019, allocations: 9.469 kB / 0.7441 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003062/0.4022, allocations: 109.6 kB / 0.7442 GB, free: 10.23 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.338e-05/0.4023, allocations: 67.34 kB / 0.7443 GB, free: 10.14 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 2.001e-05/0.4023, allocations: 4 kB / 0.7443 GB, free: 10.14 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.061e-05/0.4024, allocations: 12.5 kB / 0.7443 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of SimCode: time 5.51e-07/0.4024, allocations: 0 / 0.7443 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of Templates: time 0.003322/0.4057, allocations: 0.684 MB / 0.7449 GB, free: 9.496 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.719005906954408] Failed to read output from testmodel.py, exit status != 0: 0.414183059707284 0.42963316799999995 0.028138548000000003 Calling exit ...