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.001374/0.001374, allocations: 84.05 kB / 19.18 MB, free: 2.523 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.001635/0.001635, allocations: 167.6 kB / 22.46 MB, free: 5.359 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.464/1.464, allocations: 177.1 MB / 202.8 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] 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-531:686: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-531:694: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 1.206/1.206, allocations: 154.6 MB / 413.8 MB, free: 5.254 MB / 382.1 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 178] 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.423e-06/1.423e-06, allocations: 0 / 0.6186 GB, free: 4.531 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.124e-05/3.266e-05, allocations: 6.969 kB / 0.6186 GB, free: 4.527 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells): time 0.001666/0.001699, allocations: 0.5521 MB / 0.6192 GB, free: 3.98 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00118/0.002879, allocations: 0.7885 MB / 0.6199 GB, free: 3.18 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.93e-05/0.002898, allocations: 0 / 0.6199 GB, free: 3.18 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.399e-05/0.002912, allocations: 0 / 0.6199 GB, free: 3.18 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.562e-06/0.002919, allocations: 0 / 0.6199 GB, free: 3.18 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003069/0.003226, allocations: 15.92 kB / 0.62 GB, free: 3.164 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 4.144e-05/0.003267, allocations: 8 kB / 0.62 GB, free: 3.156 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.388e-05/0.003321, allocations: 7.984 kB / 0.62 GB, free: 3.148 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.367e-05/0.003345, allocations: 0 / 0.62 GB, free: 3.148 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001605/0.003505, allocations: 19.98 kB / 0.62 GB, free: 3.129 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 9.829e-06/0.003515, allocations: 0 / 0.62 GB, free: 3.129 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 3.627e-06/0.003519, allocations: 0 / 0.62 GB, free: 3.129 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 8.857e-06/0.003527, allocations: 0 / 0.62 GB, free: 3.129 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.801e-05/0.003545, allocations: 4 kB / 0.62 GB, free: 3.125 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 6.493e-05/0.00361, allocations: 4 kB / 0.62 GB, free: 3.121 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.481e-06/0.003616, allocations: 0 / 0.62 GB, free: 3.121 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.543e-06/0.003617, allocations: 0 / 0.62 GB, free: 3.121 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.482e-06/0.003624, allocations: 0 / 0.62 GB, free: 3.121 MB / 0.5294 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.000334/0.003958, allocations: 238.4 kB / 0.6202 GB, free: 2.855 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.429e-05/0.004002, allocations: 8.031 kB / 0.6202 GB, free: 2.848 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.304e-05/0.004035, allocations: 8.938 kB / 0.6202 GB, free: 2.84 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001065/0.004142, allocations: 109.7 kB / 0.6204 GB, free: 2.707 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.151e-05/0.004153, allocations: 384 / 0.6204 GB, free: 2.707 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.853e-06/0.00416, allocations: 384 / 0.6204 GB, free: 2.707 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.185e-05/0.004252, allocations: 34.25 kB / 0.6204 GB, free: 2.668 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.328e-06/0.004261, allocations: 192 / 0.6204 GB, free: 2.668 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.426e-06/0.00427, allocations: 384 / 0.6204 GB, free: 2.668 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.968e-06/0.00428, allocations: 8.312 kB / 0.6204 GB, free: 2.66 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.117e-05/0.004301, allocations: 7.922 kB / 0.6204 GB, free: 2.652 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003141/0.004615, allocations: 331.1 kB / 0.6207 GB, free: 2.297 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001146/0.00473, allocations: 169.1 kB / 0.6209 GB, free: 2.121 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.108e-05/0.004781, allocations: 80.14 kB / 0.621 GB, free: 2.039 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 4.361e-05/0.004824, allocations: 79.34 kB / 0.621 GB, free: 1.961 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.156e-05/0.004896, allocations: 109.8 kB / 0.6211 GB, free: 1.844 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=0): time 9.32e-07/0.004897, allocations: 4 kB / 0.6211 GB, free: 1.84 MB / 0.5294 GB Notification: Performance of matching and sorting (n=0): time 8.453e-05/0.004981, allocations: 33.58 kB / 0.6212 GB, free: 1.801 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.896e-05/0.00507, allocations: 138.7 kB / 0.6213 GB, free: 1.652 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001091/0.005179, allocations: 89.86 kB / 0.6214 GB, free: 1.555 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.557e-05/0.005195, allocations: 25.7 kB / 0.6214 GB, free: 1.523 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.787e-05/0.005243, allocations: 80.14 kB / 0.6215 GB, free: 1.441 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.156e-06/0.005246, allocations: 0 / 0.6215 GB, free: 1.441 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.999e-05/0.005276, allocations: 13.72 kB / 0.6215 GB, free: 1.422 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002711/0.005547, allocations: 310.8 kB / 0.6218 GB, free: 1.109 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.269e-05/0.00556, allocations: 4 kB / 0.6218 GB, free: 1.105 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.031e-05/0.00557, allocations: 8.125 kB / 0.6218 GB, free: 1.098 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.248e-05/0.005602, allocations: 4.859 kB / 0.6218 GB, free: 1.09 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.005604, allocations: 0 / 0.6218 GB, free: 1.09 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001036/0.005707, allocations: 37.62 kB / 0.6219 GB, free: 1.047 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.005724, allocations: 8 kB / 0.6219 GB, free: 1.039 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.005731, allocations: 3.938 kB / 0.6219 GB, free: 1.035 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.005748, allocations: 0 / 0.6219 GB, free: 1.035 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.649e-05/0.005804, allocations: 0 / 0.6219 GB, free: 1.035 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.005809, allocations: 0 / 0.6219 GB, free: 1.035 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.129e-05/0.00582, allocations: 4 kB / 0.6219 GB, free: 1.031 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.669e-06/0.005825, allocations: 8.031 kB / 0.6219 GB, free: 1.023 MB / 0.5294 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.000126/0.005951, allocations: 181.1 kB / 0.622 GB, free: 0.8359 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.857e-05/0.00603, allocations: 109 kB / 0.6222 GB, free: 0.7227 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.066e-05/0.0061, allocations: 115.8 kB / 0.6223 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.799e-05/0.006188, allocations: 176.3 kB / 0.6224 GB, free: 436 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001158/0.006304, allocations: 184.3 kB / 0.6226 GB, free: 244 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001464/0.00645, allocations: 180.3 kB / 0.6228 GB, free: 56 kB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002608/0.006711, allocations: 356.9 kB / 0.6231 GB, free: 15.67 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.581e-05/0.006757, allocations: 104.9 kB / 0.6232 GB, free: 15.56 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.264e-05/0.00681, allocations: 101 kB / 0.6233 GB, free: 15.45 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.91e-05/0.006889, allocations: 184.2 kB / 0.6235 GB, free: 15.27 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.892e-05/0.006978, allocations: 180.3 kB / 0.6237 GB, free: 15.08 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.598e-05/0.007074, allocations: 184.2 kB / 0.6238 GB, free: 14.89 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.263e-05/0.007166, allocations: 184.2 kB / 0.624 GB, free: 14.71 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001784/0.007345, allocations: 311.8 kB / 0.6243 GB, free: 14.38 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.684e-05/0.007402, allocations: 108.9 kB / 0.6244 GB, free: 14.27 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001026/0.007504, allocations: 180.3 kB / 0.6246 GB, free: 14.08 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.958e-05/0.007604, allocations: 108.9 kB / 0.6247 GB, free: 13.97 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.664e-05/0.00769, allocations: 180.3 kB / 0.6249 GB, free: 13.79 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.096e-05/0.007751, allocations: 108.9 kB / 0.625 GB, free: 13.67 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.894e-05/0.0078, allocations: 79.28 kB / 0.625 GB, free: 13.59 MB / 0.545 GB Notification: Performance of sort global known variables: time 6e-08/0.0078, allocations: 0 / 0.625 GB, free: 13.59 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002344/0.008035, allocations: 0 / 0.625 GB, free: 13.59 MB / 0.545 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.0001837/0.008218, allocations: 178.5 kB / 0.6252 GB, free: 13.41 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 7.359e-05/0.008292, allocations: 0 / 0.6252 GB, free: 13.41 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.008294, allocations: 0 / 0.6252 GB, free: 13.41 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 4.889e-06/0.008299, allocations: 4 kB / 0.6252 GB, free: 13.4 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004048/0.008704, allocations: 456.6 kB / 0.6257 GB, free: 12.95 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003199/0.009023, allocations: 164.2 kB / 0.6258 GB, free: 12.77 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.416e-05/0.009078, allocations: 55.34 kB / 0.6259 GB, free: 12.69 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.573e-05/0.009093, allocations: 0 / 0.6259 GB, free: 12.69 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.698e-05/0.00912, allocations: 8.5 kB / 0.6259 GB, free: 12.68 MB / 0.545 GB Notification: Performance of SimCode: time 6.81e-07/0.009121, allocations: 0 / 0.6259 GB, free: 12.68 MB / 0.545 GB Notification: Performance of Templates: time 0.0026/0.01172, allocations: 195.4 kB / 0.6261 GB, free: 12.54 MB / 0.545 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=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.144137676805258] Failed to read output from testmodel.py, exit status != 0: 0.02204359695315361 0.039356179000000005 0.032077656 Calling exit ...