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.001301/0.001301, allocations: 77.86 kB / 20.66 MB, free: 3.832 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.001485/0.001485, allocations: 169 kB / 24.06 MB, free: 448 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.8794/0.8794, allocations: 177.1 MB / 204.5 MB, free: 5.488 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.7804/0.7804, allocations: 154.6 MB / 415.6 MB, free: 0.5273 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.723e-06/1.723e-06, allocations: 0.6562 kB / 0.5216 GB, free: 1.84 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.707e-05/2.879e-05, allocations: 5.594 kB / 0.5216 GB, free: 1.836 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells): time 0.001715/0.001744, allocations: 0.5568 MB / 0.5221 GB, free: 1.297 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.000986/0.00273, allocations: 0.8093 MB / 0.5229 GB, free: 488 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.985e-05/0.00275, allocations: 0.875 kB / 0.5229 GB, free: 488 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.574e-05/0.002765, allocations: 0 / 0.5229 GB, free: 488 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.162e-06/0.002771, allocations: 0 / 0.5229 GB, free: 488 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000241/0.003012, allocations: 21.45 kB / 0.5229 GB, free: 468 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 3.818e-05/0.003051, allocations: 0 / 0.5229 GB, free: 468 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.195e-05/0.003093, allocations: 7.984 kB / 0.523 GB, free: 460 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.221e-05/0.003115, allocations: 4.922 kB / 0.523 GB, free: 456 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001252/0.00324, allocations: 17.39 kB / 0.523 GB, free: 440 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 9.398e-06/0.003249, allocations: 0 / 0.523 GB, free: 440 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.198e-06/0.003254, allocations: 1.156 kB / 0.523 GB, free: 440 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 9.438e-06/0.003263, allocations: 0 / 0.523 GB, free: 440 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.156e-05/0.003275, allocations: 0 / 0.523 GB, free: 440 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 3.599e-05/0.003311, allocations: 0 / 0.523 GB, free: 440 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.294e-06/0.003313, allocations: 0.6875 kB / 0.523 GB, free: 440 kB / 490.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.003314, allocations: 1.281 kB / 0.523 GB, free: 440 kB / 490.7 MB Notification: Performance of Transformations before backend: time 3.597e-06/0.003317, allocations: 0 / 0.523 GB, free: 440 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.0002311/0.003548, allocations: 340.4 kB / 0.5233 GB, free: 60 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.003587, allocations: 12.03 kB / 0.5233 GB, free: 48 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.142e-05/0.003608, allocations: 5.375 kB / 0.5233 GB, free: 44 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.228e-05/0.00369, allocations: 109.7 kB / 0.5234 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.064e-05/0.003701, allocations: 384 / 0.5234 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.679e-06/0.003706, allocations: 384 / 0.5234 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.893e-05/0.003765, allocations: 30.8 kB / 0.5235 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.191e-06/0.003771, allocations: 2.219 kB / 0.5235 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.41e-06/0.003776, allocations: 384 / 0.5235 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.003781, allocations: 4.312 kB / 0.5235 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.162e-05/0.003793, allocations: 3.938 kB / 0.5235 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002472/0.00404, allocations: 458.8 kB / 0.5239 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 8.645e-05/0.004126, allocations: 270.9 kB / 0.5242 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.283e-05/0.004159, allocations: 126.9 kB / 0.5243 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.022e-05/0.00419, allocations: 119.2 kB / 0.5244 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.641e-05/0.004236, allocations: 160.5 kB / 0.5245 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=0): time 1.193e-06/0.004237, allocations: 1.469 kB / 0.5245 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of matching and sorting (n=0): time 5.55e-05/0.004293, allocations: 29.64 kB / 0.5246 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.82e-05/0.004351, allocations: 170.6 kB / 0.5247 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.104e-05/0.004432, allocations: 154.9 kB / 0.5249 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 9.297e-06/0.004441, allocations: 25.7 kB / 0.5249 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.114e-05/0.004482, allocations: 128.4 kB / 0.525 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.973e-06/0.004484, allocations: 0 / 0.525 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.203e-05/0.004516, allocations: 19.36 kB / 0.5251 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003806/0.004897, allocations: 0.4923 MB / 0.5255 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.028e-05/0.004907, allocations: 4.5 kB / 0.5255 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.094e-06/0.004914, allocations: 4.969 kB / 0.5255 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.676e-05/0.004941, allocations: 11.69 kB / 0.5256 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.004943, allocations: 1.125 kB / 0.5256 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.341e-05/0.005017, allocations: 29.7 kB / 0.5256 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.171e-05/0.005028, allocations: 4 kB / 0.5256 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.005033, allocations: 0.625 kB / 0.5256 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.023e-05/0.005043, allocations: 9.484 kB / 0.5256 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.215e-05/0.005085, allocations: 4 kB / 0.5256 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.074e-06/0.005087, allocations: 0 / 0.5256 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.088e-05/0.005098, allocations: 352 / 0.5256 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.579e-06/0.005103, allocations: 3.984 kB / 0.5256 GB, free: 13.55 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 8.968e-05/0.005193, allocations: 278.1 kB / 0.5259 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.319e-05/0.005256, allocations: 164.8 kB / 0.526 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.911e-05/0.005305, allocations: 147.9 kB / 0.5262 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.851e-05/0.005373, allocations: 276 kB / 0.5264 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.019e-05/0.005444, allocations: 268.1 kB / 0.5267 GB, free: 12.4 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.635e-05/0.00551, allocations: 270.5 kB / 0.5269 GB, free: 12.13 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001922/0.005702, allocations: 480.5 kB / 0.5274 GB, free: 11.63 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.714e-05/0.005739, allocations: 144.9 kB / 0.5275 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.745e-05/0.005777, allocations: 148.8 kB / 0.5277 GB, free: 11.33 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.394e-05/0.005841, allocations: 272.1 kB / 0.5279 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.719e-05/0.005908, allocations: 268 kB / 0.5282 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.518e-05/0.005973, allocations: 270 kB / 0.5285 GB, free: 10.52 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.247e-05/0.006035, allocations: 268.1 kB / 0.5287 GB, free: 10.25 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001416/0.006177, allocations: 451.9 kB / 0.5291 GB, free: 9.777 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.66e-05/0.006224, allocations: 148.8 kB / 0.5293 GB, free: 9.625 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.036e-05/0.006294, allocations: 268.1 kB / 0.5295 GB, free: 9.355 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.564e-05/0.00637, allocations: 144.9 kB / 0.5297 GB, free: 9.207 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.819e-05/0.006448, allocations: 277 kB / 0.5299 GB, free: 8.93 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.273e-05/0.006491, allocations: 152.8 kB / 0.5301 GB, free: 8.773 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.238e-05/0.006533, allocations: 120.1 kB / 0.5302 GB, free: 8.656 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6.1e-08/0.006533, allocations: 0 / 0.5302 GB, free: 8.656 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001854/0.006718, allocations: 3.25 kB / 0.5302 GB, free: 8.656 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 0.0001271/0.006845, allocations: 218.4 kB / 0.5304 GB, free: 8.434 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 6.291e-05/0.006908, allocations: 15.62 kB / 0.5304 GB, free: 8.414 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.00691, allocations: 0 / 0.5304 GB, free: 8.414 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.353e-06/0.006911, allocations: 0 / 0.5304 GB, free: 8.414 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000382/0.007293, allocations: 0.7016 MB / 0.5311 GB, free: 7.711 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000184/0.007477, allocations: 218.1 kB / 0.5313 GB, free: 7.469 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.459e-05/0.007512, allocations: 55.3 kB / 0.5314 GB, free: 7.395 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.152e-05/0.007523, allocations: 0 / 0.5314 GB, free: 7.395 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.326e-05/0.007557, allocations: 66.2 kB / 0.5314 GB, free: 7.328 MB / 0.4948 GB Notification: Performance of SimCode: time 7.72e-07/0.007557, allocations: 0 / 0.5314 GB, free: 7.328 MB / 0.4948 GB Notification: Performance of Templates: time 0.00176/0.009318, allocations: 221.4 kB / 0.5316 GB, free: 7.16 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.535607683006674]