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.0009845/0.0009845, allocations: 76.55 kB / 19.93 MB, free: 4.633 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.0009797/0.0009797, allocations: 181.9 kB / 23.22 MB, free: 1.348 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.9144/0.9144, allocations: 177.1 MB / 203.5 MB, free: 5.742 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-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 0.7121/0.7121, allocations: 154.6 MB / 414.5 MB, free: 0.8164 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.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.184e-06/2.184e-06, allocations: 0 / 0.6194 GB, free: 13.09 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.38e-05/3.599e-05, allocations: 2.281 kB / 0.6194 GB, free: 13.08 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors): time 0.001886/0.001922, allocations: 1.271 MB / 0.6206 GB, free: 11.8 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001348/0.00327, allocations: 0.8686 MB / 0.6215 GB, free: 10.92 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.262e-05/0.003302, allocations: 4 kB / 0.6215 GB, free: 10.92 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 4.907e-05/0.003352, allocations: 0 / 0.6215 GB, free: 10.92 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0001718/0.003523, allocations: 31.94 kB / 0.6215 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007752/0.004299, allocations: 259.2 kB / 0.6218 GB, free: 10.63 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 9.162e-05/0.00439, allocations: 35.89 kB / 0.6218 GB, free: 10.6 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 5.944e-05/0.00445, allocations: 0 / 0.6218 GB, free: 10.6 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 6.581e-05/0.004516, allocations: 19.97 kB / 0.6218 GB, free: 10.58 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000174/0.00469, allocations: 51.94 kB / 0.6219 GB, free: 10.53 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.342e-05/0.004703, allocations: 0 / 0.6219 GB, free: 10.53 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003929/0.005096, allocations: 299.5 kB / 0.6222 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 5.537e-05/0.005151, allocations: 15.94 kB / 0.6222 GB, free: 10.22 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.602e-05/0.005177, allocations: 8 kB / 0.6222 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0003334/0.005511, allocations: 287.3 kB / 0.6225 GB, free: 9.93 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.594e-06/0.005513, allocations: 4 kB / 0.6225 GB, free: 9.926 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.673e-06/0.005515, allocations: 0 / 0.6225 GB, free: 9.926 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.25e-06/0.00552, allocations: 0 / 0.6225 GB, free: 9.926 MB / 0.5886 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.0003985/0.005919, allocations: 313.7 kB / 0.6228 GB, free: 9.59 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.728e-05/0.005966, allocations: 12.03 kB / 0.6228 GB, free: 9.578 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.784e-05/0.006004, allocations: 4.891 kB / 0.6228 GB, free: 9.574 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001084/0.006112, allocations: 124.8 kB / 0.6229 GB, free: 9.43 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.829e-05/0.00613, allocations: 384 / 0.6229 GB, free: 9.43 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.269e-05/0.006143, allocations: 4.359 kB / 0.6229 GB, free: 9.426 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001404/0.006284, allocations: 58.19 kB / 0.6229 GB, free: 9.363 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.006294, allocations: 4.188 kB / 0.623 GB, free: 9.359 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.21e-05/0.006306, allocations: 8.359 kB / 0.623 GB, free: 9.352 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.097e-05/0.006337, allocations: 11.94 kB / 0.623 GB, free: 9.34 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.037e-05/0.006378, allocations: 27.98 kB / 0.623 GB, free: 9.312 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001829/0.00656, allocations: 133.1 kB / 0.6231 GB, free: 9.152 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 6.076e-05/0.006621, allocations: 42.56 kB / 0.6232 GB, free: 9.102 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.769e-05/0.006649, allocations: 32.88 kB / 0.6232 GB, free: 9.066 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.06e-05/0.006659, allocations: 4 kB / 0.6232 GB, free: 9.062 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.793e-05/0.006687, allocations: 30.56 kB / 0.6232 GB, free: 9.023 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=10): time 8.32e-07/0.006688, allocations: 0 / 0.6232 GB, free: 9.023 MB / 0.5886 GB Notification: Performance of matching and sorting (n=10): time 0.000203/0.006891, allocations: 125.8 kB / 0.6234 GB, free: 8.895 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.853e-05/0.00693, allocations: 59.38 kB / 0.6234 GB, free: 8.824 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.137e-05/0.007021, allocations: 129.8 kB / 0.6235 GB, free: 8.688 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.135e-05/0.007032, allocations: 25.7 kB / 0.6236 GB, free: 8.656 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.722e-05/0.00708, allocations: 92.08 kB / 0.6236 GB, free: 8.562 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004135/0.007493, allocations: 31.73 kB / 0.6237 GB, free: 8.531 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.864e-05/0.007522, allocations: 21.7 kB / 0.6237 GB, free: 8.504 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.882e-05/0.007611, allocations: 318.8 kB / 0.624 GB, free: 8.184 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.162e-05/0.007642, allocations: 35.92 kB / 0.624 GB, free: 8.148 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.433e-05/0.007667, allocations: 27.98 kB / 0.6241 GB, free: 8.121 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.048e-05/0.007727, allocations: 73.14 kB / 0.6241 GB, free: 8.047 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.007729, allocations: 0 / 0.6241 GB, free: 8.047 MB / 0.5886 GB Notification: Performance of matching and sorting (n=10) (initialization): time 8.563e-05/0.007815, allocations: 109.5 kB / 0.6242 GB, free: 7.934 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.007831, allocations: 8 kB / 0.6242 GB, free: 7.926 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.738e-06/0.007841, allocations: 0 / 0.6242 GB, free: 7.926 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.822e-05/0.007859, allocations: 0 / 0.6242 GB, free: 7.926 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.964e-06/0.007861, allocations: 0 / 0.6242 GB, free: 7.926 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.245e-06/0.007869, allocations: 3.938 kB / 0.6242 GB, free: 7.922 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.443e-05/0.007884, allocations: 3.953 kB / 0.6242 GB, free: 7.918 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.27e-05/0.007896, allocations: 4 kB / 0.6243 GB, free: 7.914 MB / 0.5886 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 8.026e-05/0.007977, allocations: 118.8 kB / 0.6244 GB, free: 7.789 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.233e-06/0.007984, allocations: 11.95 kB / 0.6244 GB, free: 7.777 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.026e-05/0.008004, allocations: 16.45 kB / 0.6244 GB, free: 7.758 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.288e-05/0.008017, allocations: 8 kB / 0.6244 GB, free: 7.75 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/0.008024, allocations: 3.938 kB / 0.6244 GB, free: 7.746 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.008027, allocations: 0 / 0.6244 GB, free: 7.746 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.493e-05/0.008122, allocations: 125.3 kB / 0.6245 GB, free: 7.594 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.22e-07/0.008123, allocations: 0 / 0.6245 GB, free: 7.594 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.01e-07/0.008124, allocations: 0 / 0.6245 GB, free: 7.594 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.62e-07/0.008124, allocations: 0 / 0.6245 GB, free: 7.594 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.848e-06/0.008134, allocations: 4 kB / 0.6245 GB, free: 7.59 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.81e-07/0.008135, allocations: 0 / 0.6245 GB, free: 7.59 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.008136, allocations: 0 / 0.6245 GB, free: 7.59 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001017/0.008238, allocations: 128.9 kB / 0.6247 GB, free: 7.445 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.384e-05/0.008252, allocations: 11.89 kB / 0.6247 GB, free: 7.434 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.149e-05/0.008263, allocations: 0 / 0.6247 GB, free: 7.434 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.636e-06/0.008272, allocations: 3.984 kB / 0.6247 GB, free: 7.43 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.66e-05/0.008288, allocations: 4 kB / 0.6247 GB, free: 7.426 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.057e-06/0.008292, allocations: 3.938 kB / 0.6247 GB, free: 7.422 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 4.796e-05/0.00834, allocations: 107.3 kB / 0.6248 GB, free: 7.316 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.00834, allocations: 0 / 0.6248 GB, free: 7.316 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002151/0.008555, allocations: 71.8 kB / 0.6248 GB, free: 7.246 MB / 0.5886 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.0002685/0.008824, allocations: 191 kB / 0.625 GB, free: 7.051 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.000109/0.008933, allocations: 63.91 kB / 0.6251 GB, free: 6.988 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.008935, allocations: 0 / 0.6251 GB, free: 6.988 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 1.846e-05/0.008953, allocations: 28 kB / 0.6251 GB, free: 6.961 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000122/0.009075, allocations: 7.984 kB / 0.6251 GB, free: 6.953 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003491/0.009424, allocations: 215.3 kB / 0.6253 GB, free: 6.703 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.095e-05/0.009495, allocations: 87.2 kB / 0.6254 GB, free: 6.598 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.91e-05/0.009535, allocations: 16.62 kB / 0.6254 GB, free: 6.582 MB / 0.5886 GB Notification: Performance of SimCode: time 9.62e-07/0.009535, allocations: 0 / 0.6254 GB, free: 6.582 MB / 0.5886 GB Notification: Performance of Templates: time 0.002574/0.01211, allocations: 1.549 MB / 0.6269 GB, free: 5.043 MB / 0.5886 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.608985203318298] Failed to read output from testmodel.py, exit status != 0: 0.017450484447181225 0.026248867000000002 0.019020959 Calling exit ...