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.0008978/0.0008978, allocations: 73.88 kB / 20.66 MB, free: 3.844 MB / 18.57 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.0008851/0.0008851, allocations: 173 kB / 24.06 MB, free: 452 kB / 18.57 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 0.9437/0.9437, allocations: 177.1 MB / 204.5 MB, free: 5.52 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7659/0.7659, allocations: 154.6 MB / 415.6 MB, free: 0.5469 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.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: translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 0.5216 GB, free: 0.7461 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.171e-05/2.33e-05, allocations: 2.312 kB / 0.5216 GB, free: 0.7422 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.002511/0.002535, allocations: 1.295 MB / 0.5229 GB, free: 15.46 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009533/0.003488, allocations: 0.4984 MB / 0.5233 GB, free: 14.96 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.499e-05/0.003513, allocations: 4.688 kB / 0.5233 GB, free: 14.96 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 3.863e-05/0.003552, allocations: 0.7656 kB / 0.5233 GB, free: 14.96 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 6.806e-05/0.00362, allocations: 1.312 kB / 0.5234 GB, free: 14.96 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003803/0.004, allocations: 57.38 kB / 0.5234 GB, free: 14.9 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 6.245e-05/0.004062, allocations: 20.66 kB / 0.5234 GB, free: 14.88 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.705e-05/0.004099, allocations: 0 / 0.5234 GB, free: 14.88 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.707e-05/0.004137, allocations: 8.562 kB / 0.5234 GB, free: 14.88 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.081e-05/0.004177, allocations: 8.891 kB / 0.5234 GB, free: 14.87 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.028e-05/0.004188, allocations: 0 / 0.5234 GB, free: 14.87 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001846/0.004372, allocations: 75.81 kB / 0.5235 GB, free: 14.79 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 5.009e-05/0.004422, allocations: 4.969 kB / 0.5235 GB, free: 14.79 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 2.705e-05/0.004449, allocations: 4 kB / 0.5235 GB, free: 14.79 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001449/0.004594, allocations: 74.36 kB / 0.5236 GB, free: 14.71 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.314e-06/0.004597, allocations: 0 / 0.5236 GB, free: 14.71 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.004598, allocations: 0 / 0.5236 GB, free: 14.71 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.467e-06/0.004601, allocations: 0 / 0.5236 GB, free: 14.71 MB / 458.7 MB 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.0003379/0.004939, allocations: 368.2 kB / 0.5239 GB, free: 14.32 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.563e-05/0.004975, allocations: 8.031 kB / 0.524 GB, free: 14.31 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.965e-05/0.005004, allocations: 0.9375 kB / 0.524 GB, free: 14.31 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.389e-05/0.005078, allocations: 118.1 kB / 0.5241 GB, free: 14.17 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.172e-05/0.00509, allocations: 384 / 0.5241 GB, free: 14.17 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.348e-06/0.005099, allocations: 4.375 kB / 0.5241 GB, free: 14.17 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.774e-05/0.005177, allocations: 34.25 kB / 0.5241 GB, free: 14.13 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.005185, allocations: 0.7188 kB / 0.5241 GB, free: 14.13 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.265e-06/0.005193, allocations: 9.406 kB / 0.5241 GB, free: 14.12 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.005199, allocations: 7.875 kB / 0.5241 GB, free: 14.11 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.522e-05/0.005214, allocations: 7.984 kB / 0.5241 GB, free: 14.11 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000104/0.005318, allocations: 98.75 kB / 0.5242 GB, free: 13.98 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.731e-05/0.005366, allocations: 35.08 kB / 0.5243 GB, free: 13.94 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.62e-05/0.005382, allocations: 7.688 kB / 0.5243 GB, free: 13.93 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.629e-06/0.005386, allocations: 4.562 kB / 0.5243 GB, free: 13.92 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.65e-05/0.005483, allocations: 66.02 kB / 0.5243 GB, free: 13.84 MB / 458.7 MB Notification: Performance of pre-optimization done (n=7): time 1.092e-06/0.005484, allocations: 0 / 0.5243 GB, free: 13.84 MB / 458.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001807/0.005665, allocations: 75.66 kB / 0.5244 GB, free: 13.77 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.313e-05/0.005708, allocations: 55.41 kB / 0.5245 GB, free: 13.7 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.647e-05/0.005764, allocations: 150.2 kB / 0.5246 GB, free: 13.54 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.688e-05/0.005781, allocations: 25.7 kB / 0.5246 GB, free: 13.51 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.882e-05/0.00582, allocations: 130.9 kB / 0.5247 GB, free: 13.38 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.033e-05/0.00585, allocations: 21.09 kB / 0.5248 GB, free: 13.36 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.138e-05/0.005902, allocations: 39.36 kB / 0.5248 GB, free: 13.31 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001423/0.006044, allocations: 496.1 kB / 0.5253 GB, free: 12.81 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.213e-05/0.006066, allocations: 12.62 kB / 0.5253 GB, free: 12.8 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.145e-05/0.006128, allocations: 77.77 kB / 0.5254 GB, free: 12.7 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.778e-05/0.006225, allocations: 96.38 kB / 0.5255 GB, free: 12.57 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.006229, allocations: 4.812 kB / 0.5255 GB, free: 12.57 MB / 458.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001392/0.006368, allocations: 96.2 kB / 0.5256 GB, free: 12.47 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/0.006381, allocations: 4 kB / 0.5256 GB, free: 12.47 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.006386, allocations: 0 / 0.5256 GB, free: 12.47 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.006398, allocations: 7.984 kB / 0.5256 GB, free: 12.46 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.117e-05/0.006489, allocations: 20 kB / 0.5256 GB, free: 12.44 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.006497, allocations: 10.78 kB / 0.5256 GB, free: 12.43 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.963e-05/0.006536, allocations: 11.88 kB / 0.5256 GB, free: 12.42 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.864e-06/0.006544, allocations: 7.938 kB / 0.5256 GB, free: 12.41 MB / 458.7 MB 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 9.498e-05/0.006639, allocations: 164.6 kB / 0.5258 GB, free: 12.24 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.198e-05/0.006651, allocations: 4 kB / 0.5258 GB, free: 12.24 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.967e-05/0.006671, allocations: 3.969 kB / 0.5258 GB, free: 12.23 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.006673, allocations: 1.406 kB / 0.5258 GB, free: 12.23 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.864e-06/0.006675, allocations: 0 / 0.5258 GB, free: 12.23 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.006679, allocations: 3.938 kB / 0.5258 GB, free: 12.23 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.161e-05/0.006771, allocations: 105.8 kB / 0.5259 GB, free: 12.1 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.006772, allocations: 0 / 0.5259 GB, free: 12.1 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.546e-06/0.006776, allocations: 3.344 kB / 0.5259 GB, free: 12.1 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.006777, allocations: 0 / 0.5259 GB, free: 12.1 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.144e-06/0.006784, allocations: 4 kB / 0.5259 GB, free: 12.1 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.41e-07/0.006785, allocations: 3.938 kB / 0.5259 GB, free: 12.09 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.006786, allocations: 0 / 0.5259 GB, free: 12.09 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001168/0.006903, allocations: 100.4 kB / 0.526 GB, free: 11.97 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.831e-06/0.006909, allocations: 0 / 0.526 GB, free: 11.97 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.897e-05/0.006928, allocations: 11.98 kB / 0.526 GB, free: 11.96 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.087e-05/0.006939, allocations: 0 / 0.526 GB, free: 11.96 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.652e-05/0.006955, allocations: 2.469 kB / 0.526 GB, free: 11.96 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.215e-05/0.006967, allocations: 4 kB / 0.526 GB, free: 11.96 MB / 458.7 MB Notification: Performance of sorting global known variables: time 3.376e-05/0.007001, allocations: 119.2 kB / 0.5261 GB, free: 11.84 MB / 458.7 MB Notification: Performance of sort global known variables: time 9e-08/0.007001, allocations: 0 / 0.5261 GB, free: 11.84 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002646/0.007266, allocations: 27.94 kB / 0.5261 GB, free: 11.81 MB / 458.7 MB 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.0001611/0.007427, allocations: 124.1 kB / 0.5263 GB, free: 11.68 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001115/0.007538, allocations: 59.58 kB / 0.5263 GB, free: 11.62 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.00754, allocations: 0.9375 kB / 0.5263 GB, free: 11.62 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 2.21e-05/0.007562, allocations: 15.67 kB / 0.5263 GB, free: 11.61 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001375/0.0077, allocations: 5.656 kB / 0.5263 GB, free: 11.6 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002274/0.007927, allocations: 114.5 kB / 0.5265 GB, free: 11.46 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.244e-05/0.00796, allocations: 59.34 kB / 0.5265 GB, free: 11.38 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 2.134e-05/0.007981, allocations: 1.031 kB / 0.5265 GB, free: 11.38 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.895e-05/0.00802, allocations: 70.2 kB / 0.5266 GB, free: 11.31 MB / 458.7 MB Notification: Performance of SimCode: time 7.82e-07/0.008021, allocations: 0.6562 kB / 0.5266 GB, free: 11.31 MB / 458.7 MB Notification: Performance of Templates: time 0.002742/0.01076, allocations: 0.7648 MB / 0.5273 GB, free: 10.63 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.makefile [Timeout 660] (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 & ./IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.490148790180683]