Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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.001459/0.001459, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.001611/0.001611, allocations: 169 kB / 23.27 MB, free: 1.223 MB / 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.9462/0.9462, allocations: 177.1 MB / 203.7 MB, free: 5.516 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.7383/0.7383, allocations: 154.6 MB / 414.8 MB, free: 0.5234 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.CountAggregationCells,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 0.5208 GB, free: 1.812 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.986e-05/2.156e-05, allocations: 3.875 kB / 0.5208 GB, free: 1.809 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells): time 0.001421/0.001442, allocations: 0.5607 MB / 0.5214 GB, free: 1.27 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007222/0.002165, allocations: 0.802 MB / 0.5222 GB, free: 468 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.785e-05/0.002182, allocations: 4 kB / 0.5222 GB, free: 464 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.553e-05/0.002198, allocations: 5.688 kB / 0.5222 GB, free: 460 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.092e-06/0.002204, allocations: 0 / 0.5222 GB, free: 460 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002319/0.002436, allocations: 17.39 kB / 0.5222 GB, free: 444 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 3.556e-05/0.002472, allocations: 4 kB / 0.5222 GB, free: 440 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.123e-05/0.002503, allocations: 0.5625 kB / 0.5222 GB, free: 440 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.469e-05/0.002528, allocations: 0.5 kB / 0.5222 GB, free: 440 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001186/0.002646, allocations: 26.73 kB / 0.5222 GB, free: 416 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 8.356e-06/0.002654, allocations: 0 / 0.5222 GB, free: 416 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.377e-06/0.002658, allocations: 0.625 kB / 0.5222 GB, free: 416 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 9.017e-06/0.002667, allocations: 0 / 0.5222 GB, free: 416 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.235e-05/0.002679, allocations: 1.641 kB / 0.5222 GB, free: 416 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 3.408e-05/0.002713, allocations: 0 / 0.5222 GB, free: 416 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.002716, allocations: 15.86 kB / 0.5222 GB, free: 400 kB / 490.7 MB Notification: Performance of FrontEnd: time 8.02e-07/0.002717, allocations: 0.625 kB / 0.5222 GB, free: 400 kB / 490.7 MB Notification: Performance of Transformations before backend: time 3.256e-06/0.00272, allocations: 0 / 0.5222 GB, free: 400 kB / 490.7 MB 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.0001929/0.002913, allocations: 337.9 kB / 0.5226 GB, free: 24 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.353e-05/0.002947, allocations: 8.031 kB / 0.5226 GB, free: 16 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.803e-05/0.002965, allocations: 0.9375 kB / 0.5226 GB, free: 16 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.646e-05/0.003021, allocations: 108.6 kB / 0.5227 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.087e-06/0.00303, allocations: 1 kB / 0.5227 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.649e-06/0.003035, allocations: 384 / 0.5227 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.978e-05/0.003085, allocations: 31.62 kB / 0.5227 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.781e-06/0.00309, allocations: 192 / 0.5227 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.689e-06/0.003095, allocations: 384 / 0.5227 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.62e-06/0.003101, allocations: 5.125 kB / 0.5227 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.185e-06/0.003109, allocations: 3.938 kB / 0.5227 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002004/0.003309, allocations: 459.3 kB / 0.5231 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 6.826e-05/0.003378, allocations: 262.4 kB / 0.5234 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.922e-05/0.003407, allocations: 130.9 kB / 0.5235 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.888e-05/0.003436, allocations: 127.2 kB / 0.5236 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.867e-05/0.003474, allocations: 153.6 kB / 0.5238 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=0): time 7.11e-07/0.003475, allocations: 0 / 0.5238 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of matching and sorting (n=0): time 4.683e-05/0.003522, allocations: 40.09 kB / 0.5238 GB, free: 14.63 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.485e-05/0.003567, allocations: 174.6 kB / 0.524 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.129e-05/0.003638, allocations: 153.9 kB / 0.5241 GB, free: 14.28 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 7.064e-06/0.003645, allocations: 25.7 kB / 0.5242 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.137e-05/0.003676, allocations: 126.9 kB / 0.5243 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.353e-06/0.003678, allocations: 0 / 0.5243 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.598e-05/0.003704, allocations: 20.94 kB / 0.5243 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001021/0.003806, allocations: 492.1 kB / 0.5248 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.278e-06/0.00381, allocations: 0 / 0.5248 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.101e-06/0.003816, allocations: 4 kB / 0.5248 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.374e-05/0.00384, allocations: 12.7 kB / 0.5248 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.003842, allocations: 0 / 0.5248 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.936e-05/0.003901, allocations: 38.83 kB / 0.5248 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.148e-05/0.003912, allocations: 9.562 kB / 0.5248 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.003916, allocations: 0 / 0.5248 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.09e-05/0.003927, allocations: 4.5 kB / 0.5248 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.69e-05/0.003964, allocations: 4.969 kB / 0.5248 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.234e-06/0.003966, allocations: 0 / 0.5248 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.175e-06/0.003975, allocations: 4.344 kB / 0.5248 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.016e-06/0.003978, allocations: 1 kB / 0.5248 GB, free: 13.52 MB / 0.4948 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 7.627e-05/0.004054, allocations: 279.8 kB / 0.5251 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.602e-05/0.0041, allocations: 161.6 kB / 0.5253 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.089e-05/0.004141, allocations: 155.9 kB / 0.5254 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.204e-05/0.004193, allocations: 270.8 kB / 0.5257 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.853e-05/0.004251, allocations: 268 kB / 0.5259 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.405e-05/0.004305, allocations: 268.1 kB / 0.5262 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001466/0.004452, allocations: 480.5 kB / 0.5266 GB, free: 11.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.319e-05/0.004485, allocations: 148.9 kB / 0.5268 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.184e-05/0.004517, allocations: 144.9 kB / 0.5269 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.622e-05/0.004573, allocations: 272 kB / 0.5272 GB, free: 11.03 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.214e-05/0.004635, allocations: 271 kB / 0.5274 GB, free: 10.76 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.198e-05/0.004697, allocations: 272 kB / 0.5277 GB, free: 10.48 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.68e-05/0.004754, allocations: 264.1 kB / 0.528 GB, free: 10.22 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001147/0.004869, allocations: 443.9 kB / 0.5284 GB, free: 9.758 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003004/0.005169, allocations: 152.9 kB / 0.5285 GB, free: 9.602 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.386e-05/0.005233, allocations: 272 kB / 0.5288 GB, free: 9.328 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.951e-05/0.005283, allocations: 148.9 kB / 0.5289 GB, free: 9.176 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.718e-05/0.00534, allocations: 268 kB / 0.5292 GB, free: 8.906 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.032e-05/0.00537, allocations: 150.3 kB / 0.5293 GB, free: 8.754 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.121e-05/0.005401, allocations: 123.2 kB / 0.5294 GB, free: 8.633 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.005401, allocations: 0 / 0.5294 GB, free: 8.633 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001226/0.005524, allocations: 0.5 kB / 0.5294 GB, free: 8.633 MB / 0.4948 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 9.364e-05/0.005618, allocations: 221.7 kB / 0.5297 GB, free: 8.41 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 4.703e-05/0.005665, allocations: 11.69 kB / 0.5297 GB, free: 8.395 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.005666, allocations: 0 / 0.5297 GB, free: 8.395 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.196e-06/0.005669, allocations: 3.938 kB / 0.5297 GB, free: 8.391 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000258/0.005927, allocations: 0.714 MB / 0.5304 GB, free: 7.672 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001473/0.006075, allocations: 199.1 kB / 0.5306 GB, free: 7.445 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.936e-05/0.006104, allocations: 61.75 kB / 0.5306 GB, free: 7.367 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.34e-05/0.006117, allocations: 4 kB / 0.5306 GB, free: 7.363 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.988e-05/0.006147, allocations: 66.2 kB / 0.5307 GB, free: 7.297 MB / 0.4948 GB Notification: Performance of SimCode: time 4.31e-07/0.006148, allocations: 0 / 0.5307 GB, free: 7.297 MB / 0.4948 GB Notification: Performance of Templates: time 0.00137/0.007518, allocations: 214.3 kB / 0.5309 GB, free: 7.133 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.sim & ./IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4717820840887725]