Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.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.001446/0.001446, allocations: 84.73 kB / 19.44 MB, free: 360 kB / 13.93 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.001639/0.001639, allocations: 157.7 kB / 22.75 MB, free: 1.688 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 1.48/1.48, allocations: 177.2 MB / 203.1 MB, free: 5.594 MB / 186.7 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-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 1.232/1.232, allocations: 154.6 MB / 414.2 MB, free: 0.6016 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 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.AggregationWeightingFactors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.074e-06/2.074e-06, allocations: 3.938 kB / 0.5197 GB, free: 2.516 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.382e-05/3.59e-05, allocations: 4.516 kB / 0.5197 GB, free: 2.512 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors): time 0.002939/0.002975, allocations: 1.264 MB / 0.5209 GB, free: 1.254 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001883/0.004857, allocations: 0.8669 MB / 0.5218 GB, free: 396 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.489e-05/0.004882, allocations: 0 / 0.5218 GB, free: 396 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 4.97e-05/0.004932, allocations: 5.453 kB / 0.5218 GB, free: 392 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001335/0.005066, allocations: 27.91 kB / 0.5218 GB, free: 364 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001016/0.006081, allocations: 261.5 kB / 0.5221 GB, free: 104 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 8.953e-05/0.006171, allocations: 27.92 kB / 0.5221 GB, free: 76 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.826e-05/0.006209, allocations: 3.984 kB / 0.5221 GB, free: 72 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.401e-05/0.006273, allocations: 19.97 kB / 0.5221 GB, free: 52 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001725/0.006446, allocations: 53.86 kB / 0.5222 GB, free: 0 / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 3.485e-05/0.00648, allocations: 7.359 kB / 0.5222 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006207/0.007101, allocations: 295.4 kB / 0.5224 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 6.375e-05/0.007165, allocations: 23.92 kB / 0.5225 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 2.821e-05/0.007193, allocations: 4 kB / 0.5225 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.000811/0.008004, allocations: 285.1 kB / 0.5227 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.008008, allocations: 0 / 0.5227 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.747e-06/0.008012, allocations: 3.984 kB / 0.5227 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.092e-06/0.008018, allocations: 0 / 0.5227 GB, free: 15.4 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005387/0.008557, allocations: 317.7 kB / 0.523 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/0.008598, allocations: 8.531 kB / 0.5231 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.069e-05/0.008649, allocations: 8.891 kB / 0.5231 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001389/0.008788, allocations: 118.2 kB / 0.5232 GB, free: 14.9 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.092e-05/0.008799, allocations: 0.9375 kB / 0.5232 GB, free: 14.9 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.072e-05/0.008809, allocations: 5.234 kB / 0.5232 GB, free: 14.9 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001361/0.008946, allocations: 58.25 kB / 0.5232 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.714e-06/0.008953, allocations: 192 / 0.5232 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.586e-06/0.008962, allocations: 1.844 kB / 0.5232 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.391e-05/0.009006, allocations: 15.92 kB / 0.5233 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.616e-05/0.009052, allocations: 27.98 kB / 0.5233 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000234/0.009286, allocations: 121.2 kB / 0.5234 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 8.26e-05/0.009368, allocations: 43.5 kB / 0.5234 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.452e-05/0.009413, allocations: 32.89 kB / 0.5235 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.987e-06/0.009422, allocations: 1.188 kB / 0.5235 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.606e-05/0.009458, allocations: 34.55 kB / 0.5235 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=10): time 9.81e-07/0.009459, allocations: 0 / 0.5235 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of matching and sorting (n=10): time 0.0002675/0.009726, allocations: 135.1 kB / 0.5236 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.365e-05/0.00978, allocations: 55.34 kB / 0.5237 GB, free: 14.31 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000151/0.009931, allocations: 132.6 kB / 0.5238 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.203e-05/0.009953, allocations: 26.52 kB / 0.5238 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.322e-05/0.01002, allocations: 88.14 kB / 0.5239 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 5.476e-05/0.01007, allocations: 35.69 kB / 0.524 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.674e-05/0.01011, allocations: 19 kB / 0.524 GB, free: 14 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002104/0.01032, allocations: 322.8 kB / 0.5243 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.55e-05/0.01036, allocations: 27.98 kB / 0.5243 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.865e-05/0.0104, allocations: 37.2 kB / 0.5243 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.516e-05/0.0105, allocations: 69.2 kB / 0.5244 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.0105, allocations: 4 kB / 0.5244 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001465/0.01065, allocations: 104.2 kB / 0.5245 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.01066, allocations: 5.094 kB / 0.5245 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.01067, allocations: 0 / 0.5245 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.01068, allocations: 0 / 0.5245 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.072e-06/0.01069, allocations: 0 / 0.5245 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.654e-06/0.01069, allocations: 3.938 kB / 0.5245 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.3e-05/0.01072, allocations: 11.89 kB / 0.5245 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.05e-05/0.01073, allocations: 0 / 0.5245 GB, free: 13.41 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 1 * 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.0001158/0.01084, allocations: 132.6 kB / 0.5247 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.267e-05/0.01086, allocations: 3.953 kB / 0.5247 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.896e-05/0.01087, allocations: 8.438 kB / 0.5247 GB, free: 13.26 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.558e-05/0.0109, allocations: 15.98 kB / 0.5247 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.01091, allocations: 3.938 kB / 0.5247 GB, free: 13.24 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.01091, allocations: 0 / 0.5247 GB, free: 13.24 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001733/0.01108, allocations: 117.3 kB / 0.5248 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.086e-06/0.01109, allocations: 8.906 kB / 0.5248 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.92e-07/0.01109, allocations: 0 / 0.5248 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.469e-06/0.01109, allocations: 4.922 kB / 0.5248 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.945e-06/0.0111, allocations: 3.984 kB / 0.5248 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.0111, allocations: 0.9375 kB / 0.5248 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.0111, allocations: 0 / 0.5248 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001721/0.01128, allocations: 128.9 kB / 0.5249 GB, free: 12.94 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.801e-05/0.01129, allocations: 8.453 kB / 0.525 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.168e-05/0.01131, allocations: 0.7188 kB / 0.525 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.194e-05/0.01132, allocations: 0 / 0.525 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.321e-05/0.01133, allocations: 0.5625 kB / 0.525 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.051e-05/0.01134, allocations: 7.938 kB / 0.525 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 8.398e-05/0.01143, allocations: 104.7 kB / 0.5251 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.01143, allocations: 0 / 0.5251 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003701/0.0118, allocations: 75.81 kB / 0.5251 GB, free: 12.75 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 (1): * Single equations (assignments): 0 * Array equations: 1 * 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.0004444/0.01224, allocations: 185.4 kB / 0.5253 GB, free: 12.56 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001364/0.01238, allocations: 59.92 kB / 0.5254 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.01238, allocations: 4 kB / 0.5254 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 4.101e-05/0.01242, allocations: 27.97 kB / 0.5254 GB, free: 12.47 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001701/0.01259, allocations: 10.81 kB / 0.5254 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004487/0.01304, allocations: 197 kB / 0.5256 GB, free: 12.24 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.502e-05/0.01314, allocations: 79.27 kB / 0.5257 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.884e-05/0.01318, allocations: 8.469 kB / 0.5257 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.043e-05/0.01322, allocations: 13.81 kB / 0.5257 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of SimCode: time 5.41e-07/0.01322, allocations: 3.938 kB / 0.5257 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of Templates: time 0.004983/0.0182, allocations: 1.478 MB / 0.5271 GB, free: 10.75 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.sim & ./IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.806689292076044]