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.00132/0.00132, allocations: 74.58 kB / 19.18 MB, free: 2.539 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.001451/0.001451, allocations: 172.6 kB / 22.46 MB, free: 5.348 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.404/1.404, allocations: 177.2 MB / 202.8 MB, free: 9.188 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.193/1.193, allocations: 154.6 MB / 413.8 MB, free: 5.234 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.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 1.533e-06/1.533e-06, allocations: 0 / 0.6186 GB, free: 4.492 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.613e-05/2.766e-05, allocations: 5.781 kB / 0.6186 GB, free: 4.488 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors): time 0.00259/0.002618, allocations: 1.267 MB / 0.6199 GB, free: 3.219 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001761/0.004379, allocations: 0.8725 MB / 0.6207 GB, free: 2.34 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.513e-05/0.004404, allocations: 0 / 0.6207 GB, free: 2.34 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.299e-05/0.004437, allocations: 0 / 0.6207 GB, free: 2.34 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001263/0.004563, allocations: 31.89 kB / 0.6208 GB, free: 2.309 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009603/0.005523, allocations: 270.7 kB / 0.621 GB, free: 2.047 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.7e-05/0.0056, allocations: 27.97 kB / 0.621 GB, free: 2.02 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.779e-05/0.005648, allocations: 0 / 0.621 GB, free: 2.02 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 6.205e-05/0.00571, allocations: 19.97 kB / 0.6211 GB, free: 2 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001712/0.005881, allocations: 51.94 kB / 0.6211 GB, free: 1.949 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.587e-05/0.005897, allocations: 3.984 kB / 0.6211 GB, free: 1.945 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006384/0.006536, allocations: 299.4 kB / 0.6214 GB, free: 1.652 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 5.788e-05/0.006594, allocations: 19.94 kB / 0.6214 GB, free: 1.633 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.722e-05/0.006621, allocations: 7.984 kB / 0.6214 GB, free: 1.625 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0005198/0.007141, allocations: 283.3 kB / 0.6217 GB, free: 1.348 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 9.017e-06/0.00715, allocations: 4 kB / 0.6217 GB, free: 1.344 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.094e-06/0.007152, allocations: 0 / 0.6217 GB, free: 1.344 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.303e-05/0.007165, allocations: 0 / 0.6217 GB, free: 1.344 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005526/0.007717, allocations: 317.7 kB / 0.622 GB, free: 1.004 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.007762, allocations: 8.031 kB / 0.622 GB, free: 0.9961 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.028e-05/0.007813, allocations: 8.891 kB / 0.622 GB, free: 0.9883 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001436/0.007956, allocations: 125.6 kB / 0.6221 GB, free: 0.8398 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.686e-06/0.007965, allocations: 384 / 0.6221 GB, free: 0.8398 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.339e-05/0.007978, allocations: 384 / 0.6221 GB, free: 0.8398 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001468/0.008125, allocations: 58.25 kB / 0.6222 GB, free: 0.7773 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.008135, allocations: 192 / 0.6222 GB, free: 0.7773 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/0.008146, allocations: 4.359 kB / 0.6222 GB, free: 0.7734 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.675e-05/0.008193, allocations: 11.94 kB / 0.6222 GB, free: 0.7617 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.463e-05/0.008238, allocations: 31.98 kB / 0.6222 GB, free: 0.7305 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002137/0.008452, allocations: 121.2 kB / 0.6224 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 8.528e-05/0.008537, allocations: 42.56 kB / 0.6224 GB, free: 0.5312 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.086e-05/0.008588, allocations: 40.88 kB / 0.6224 GB, free: 500 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 6.101e-06/0.008594, allocations: 4 kB / 0.6224 GB, free: 496 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.375e-05/0.008628, allocations: 30.56 kB / 0.6225 GB, free: 456 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=10): time 1.293e-06/0.008629, allocations: 0 / 0.6225 GB, free: 456 kB / 0.5294 GB Notification: Performance of matching and sorting (n=10): time 0.0002417/0.008871, allocations: 133.7 kB / 0.6226 GB, free: 316 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.986e-05/0.00892, allocations: 59.34 kB / 0.6227 GB, free: 244 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001194/0.00904, allocations: 125.8 kB / 0.6228 GB, free: 108 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.857e-05/0.009058, allocations: 25.7 kB / 0.6228 GB, free: 76 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 9.621e-05/0.009155, allocations: 96.06 kB / 0.6229 GB, free: 15.98 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.069e-05/0.009205, allocations: 35.69 kB / 0.6229 GB, free: 15.94 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.067e-05/0.009246, allocations: 17.7 kB / 0.6229 GB, free: 15.92 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001528/0.009399, allocations: 322.9 kB / 0.6233 GB, free: 15.59 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.665e-05/0.009445, allocations: 27.98 kB / 0.6233 GB, free: 15.57 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.761e-05/0.009483, allocations: 27.98 kB / 0.6233 GB, free: 15.54 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.306e-05/0.009566, allocations: 72.77 kB / 0.6234 GB, free: 15.46 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.009568, allocations: 0 / 0.6234 GB, free: 15.46 MB / 0.545 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001432/0.009711, allocations: 105.6 kB / 0.6235 GB, free: 15.36 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.009726, allocations: 4 kB / 0.6235 GB, free: 15.35 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/0.009734, allocations: 3.984 kB / 0.6235 GB, free: 15.35 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.009748, allocations: 0 / 0.6235 GB, free: 15.35 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.02e-07/0.009748, allocations: 384 / 0.6235 GB, free: 15.35 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.645e-06/0.009756, allocations: 3.938 kB / 0.6235 GB, free: 15.34 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.356e-05/0.00978, allocations: 15.95 kB / 0.6235 GB, free: 15.33 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.208e-05/0.009792, allocations: 0 / 0.6235 GB, free: 15.33 MB / 0.545 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.0001014/0.009893, allocations: 126.8 kB / 0.6236 GB, free: 15.2 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.178e-06/0.009902, allocations: 0 / 0.6236 GB, free: 15.2 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.943e-05/0.009922, allocations: 12.42 kB / 0.6236 GB, free: 15.18 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-05/0.009942, allocations: 8 kB / 0.6236 GB, free: 15.17 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.009948, allocations: 7.938 kB / 0.6237 GB, free: 15.16 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.00995, allocations: 0 / 0.6237 GB, free: 15.16 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001574/0.01011, allocations: 125.2 kB / 0.6238 GB, free: 15.01 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.01011, allocations: 0 / 0.6238 GB, free: 15.01 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.605e-06/0.01011, allocations: 7.984 kB / 0.6238 GB, free: 15 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.939e-06/0.01012, allocations: 4 kB / 0.6238 GB, free: 15 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.494e-06/0.01012, allocations: 0 / 0.6238 GB, free: 15 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.01013, allocations: 0 / 0.6238 GB, free: 15 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.01013, allocations: 0 / 0.6238 GB, free: 15 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001591/0.01029, allocations: 128.9 kB / 0.6239 GB, free: 14.86 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.275e-05/0.0103, allocations: 7.953 kB / 0.6239 GB, free: 14.85 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.785e-05/0.01032, allocations: 7.984 kB / 0.6239 GB, free: 14.84 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.161e-05/0.01033, allocations: 0 / 0.6239 GB, free: 14.84 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.204e-05/0.01034, allocations: 0 / 0.6239 GB, free: 14.84 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.347e-06/0.01035, allocations: 7.938 kB / 0.6239 GB, free: 14.83 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.577e-05/0.01043, allocations: 110.5 kB / 0.624 GB, free: 14.73 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.01043, allocations: 0 / 0.624 GB, free: 14.73 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003733/0.0108, allocations: 75.8 kB / 0.6241 GB, free: 14.65 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 (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.0004301/0.01123, allocations: 184.8 kB / 0.6243 GB, free: 14.46 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001515/0.01138, allocations: 63.91 kB / 0.6243 GB, free: 14.4 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.01138, allocations: 0 / 0.6243 GB, free: 14.4 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 3.234e-05/0.01141, allocations: 28 kB / 0.6244 GB, free: 14.38 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001622/0.01158, allocations: 4.859 kB / 0.6244 GB, free: 14.37 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000479/0.01206, allocations: 197.6 kB / 0.6246 GB, free: 14.15 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.771e-05/0.01214, allocations: 91.19 kB / 0.6247 GB, free: 14.04 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.606e-05/0.01218, allocations: 4 kB / 0.6247 GB, free: 14.04 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.233e-05/0.01221, allocations: 12.5 kB / 0.6247 GB, free: 14.02 MB / 0.545 GB Notification: Performance of SimCode: time 5.31e-07/0.01221, allocations: 3.938 kB / 0.6247 GB, free: 14.02 MB / 0.545 GB Notification: Performance of Templates: time 0.005102/0.01731, allocations: 1.44 MB / 0.6261 GB, free: 12.62 MB / 0.545 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.806591033935547] Failed to read output from testmodel.py, exit status != 0: 0.02769039198756218 0.043146157000000004 0.032554882 Calling exit ...