Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000835/0.000835, allocations: 91.77 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000926/0.0009264, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.308/1.308, allocations: 223.3 MB / 240 MB, free: 5.273 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001735/0.001735, allocations: 262.9 kB / 291.3 MB, free: 1.832 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9626/0.9626, allocations: 169.5 MB / 0.5 GB, free: 14.17 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004316/0.0004316, allocations: 16.38 kB / 0.598 GB, free: 28.29 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1899/0.1904, allocations: 88.55 MB / 0.6845 GB, free: 15.38 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors): time 0.001325/0.1917, allocations: 0.9591 MB / 0.6855 GB, free: 14.41 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001369/0.1931, allocations: 0.8275 MB / 0.6863 GB, free: 13.58 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.498e-05/0.1932, allocations: 0 / 0.6863 GB, free: 13.58 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.851e-05/0.1932, allocations: 0 / 0.6863 GB, free: 13.58 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001288/0.1933, allocations: 31.94 kB / 0.6863 GB, free: 13.55 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006481/0.194, allocations: 193.2 kB / 0.6865 GB, free: 13.37 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.447e-05/0.1941, allocations: 27.95 kB / 0.6865 GB, free: 13.34 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.616e-05/0.1941, allocations: 0 / 0.6865 GB, free: 13.34 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.639e-05/0.1942, allocations: 15.98 kB / 0.6865 GB, free: 13.32 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001507/0.1943, allocations: 49.41 kB / 0.6866 GB, free: 13.28 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.157e-05/0.1943, allocations: 0.5 kB / 0.6866 GB, free: 13.28 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003537/0.1947, allocations: 236.3 kB / 0.6868 GB, free: 13.05 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.081e-05/0.1948, allocations: 19.91 kB / 0.6868 GB, free: 13.03 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.056e-05/0.1948, allocations: 35.83 kB / 0.6868 GB, free: 12.99 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002166/0.195, allocations: 151.9 kB / 0.687 GB, free: 12.84 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.195, allocations: 4 kB / 0.687 GB, free: 12.84 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.195, allocations: 0 / 0.687 GB, free: 12.84 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.081e-06/0.1951, allocations: 0 / 0.687 GB, free: 12.84 MB / 494.1 MB 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.0003998/0.1955, allocations: 379.8 kB / 0.6874 GB, free: 12.42 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.1955, allocations: 12.69 kB / 0.6874 GB, free: 12.41 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.701e-05/0.1955, allocations: 11.84 kB / 0.6874 GB, free: 12.39 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001514/0.1957, allocations: 172.4 kB / 0.6875 GB, free: 12.19 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.369e-05/0.1957, allocations: 0 / 0.6875 GB, free: 12.19 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.012e-05/0.1957, allocations: 4 kB / 0.6875 GB, free: 12.18 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001561/0.1959, allocations: 58.34 kB / 0.6876 GB, free: 12.12 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.1959, allocations: 0 / 0.6876 GB, free: 12.12 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.059e-05/0.1959, allocations: 3.5 kB / 0.6876 GB, free: 12.12 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-05/0.196, allocations: 15.98 kB / 0.6876 GB, free: 12.11 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.4e-05/0.196, allocations: 27.94 kB / 0.6876 GB, free: 12.08 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002269/0.1963, allocations: 177.5 kB / 0.6878 GB, free: 11.86 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.061e-05/0.1963, allocations: 46.56 kB / 0.6879 GB, free: 11.8 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.983e-05/0.1964, allocations: 40.88 kB / 0.6879 GB, free: 11.76 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.909e-06/0.1964, allocations: 0.8125 kB / 0.6879 GB, free: 11.76 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.707e-05/0.1964, allocations: 35.22 kB / 0.6879 GB, free: 11.71 MB / 494.1 MB Notification: Performance of pre-optimization done (n=10): time 1.223e-06/0.1964, allocations: 0 / 0.6879 GB, free: 11.71 MB / 494.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002294/0.1967, allocations: 138.5 kB / 0.6881 GB, free: 11.57 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.776e-05/0.1967, allocations: 52.03 kB / 0.6881 GB, free: 11.51 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001113/0.1968, allocations: 129.8 kB / 0.6882 GB, free: 11.38 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.217e-05/0.1969, allocations: 27.7 kB / 0.6883 GB, free: 11.34 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.363e-05/0.1969, allocations: 92.09 kB / 0.6884 GB, free: 11.25 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.234e-05/0.197, allocations: 31.45 kB / 0.6884 GB, free: 11.22 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.926e-06/0.197, allocations: 0 / 0.6884 GB, free: 11.22 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001104/0.1971, allocations: 322.9 kB / 0.6887 GB, free: 10.89 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.005e-05/0.1971, allocations: 27.98 kB / 0.6887 GB, free: 10.87 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.79e-05/0.1972, allocations: 31.98 kB / 0.6888 GB, free: 10.84 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.16e-05/0.1972, allocations: 35.92 kB / 0.6888 GB, free: 10.8 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.1972, allocations: 0 / 0.6888 GB, free: 10.8 MB / 494.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001044/0.1973, allocations: 97.56 kB / 0.6889 GB, free: 10.7 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.1973, allocations: 5.406 kB / 0.6889 GB, free: 10.7 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.1974, allocations: 0 / 0.6889 GB, free: 10.7 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.072e-05/0.1974, allocations: 0 / 0.6889 GB, free: 10.7 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.022e-06/0.1974, allocations: 0 / 0.6889 GB, free: 10.7 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.887e-06/0.1974, allocations: 8 kB / 0.6889 GB, free: 10.69 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.529e-05/0.1974, allocations: 4.375 kB / 0.6889 GB, free: 10.68 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.192e-05/0.1974, allocations: 3.953 kB / 0.6889 GB, free: 10.68 MB / 494.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.435e-05/0.1975, allocations: 125.8 kB / 0.689 GB, free: 10.55 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.026e-06/0.1975, allocations: 3.906 kB / 0.689 GB, free: 10.54 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.515e-05/0.1976, allocations: 16.3 kB / 0.689 GB, free: 10.53 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-05/0.1976, allocations: 12 kB / 0.689 GB, free: 10.52 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.1976, allocations: 0 / 0.689 GB, free: 10.52 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.973e-06/0.1976, allocations: 0 / 0.689 GB, free: 10.52 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00014/0.1977, allocations: 181.5 kB / 0.6892 GB, free: 10.29 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.1977, allocations: 0 / 0.6892 GB, free: 10.29 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.51e-07/0.1978, allocations: 0 / 0.6892 GB, free: 10.29 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.1978, allocations: 0 / 0.6892 GB, free: 10.29 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.004e-05/0.1978, allocations: 0 / 0.6892 GB, free: 10.29 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.1978, allocations: 4 kB / 0.6892 GB, free: 10.29 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.1978, allocations: 0 / 0.6892 GB, free: 10.29 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001275/0.1979, allocations: 132.9 kB / 0.6894 GB, free: 10.14 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.856e-05/0.198, allocations: 89.05 kB / 0.6894 GB, free: 10.03 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.082e-05/0.198, allocations: 0 / 0.6894 GB, free: 10.03 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.012e-05/0.198, allocations: 0 / 0.6894 GB, free: 10.03 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.042e-05/0.198, allocations: 0 / 0.6894 GB, free: 10.03 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.28e-06/0.198, allocations: 7.938 kB / 0.6894 GB, free: 10.02 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.939e-05/0.1981, allocations: 103.2 kB / 0.6895 GB, free: 9.922 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1981, allocations: 0 / 0.6895 GB, free: 9.922 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002807/0.1984, allocations: 64 kB / 0.6896 GB, free: 9.859 MB / 494.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003128/0.1987, allocations: 172 kB / 0.6898 GB, free: 9.684 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001174/0.1988, allocations: 71.91 kB / 0.6898 GB, free: 9.613 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1988, allocations: 0 / 0.6898 GB, free: 9.613 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 3.648e-05/0.1989, allocations: 35.98 kB / 0.6899 GB, free: 9.578 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001553/0.199, allocations: 8.719 kB / 0.6899 GB, free: 9.57 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003474/0.1994, allocations: 209.5 kB / 0.6901 GB, free: 9.336 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002407/0.1997, allocations: 0.7043 MB / 0.6908 GB, free: 8.605 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.853e-05/0.1997, allocations: 2.109 kB / 0.6908 GB, free: 8.605 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.363e-05/0.1997, allocations: 15.44 kB / 0.6908 GB, free: 8.59 MB / 494.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1997, allocations: 0 / 0.6908 GB, free: 8.59 MB / 494.1 MB Notification: Performance of Templates: time 0.003954/0.2037, allocations: 1.477 MB / 0.6922 GB, free: 7.16 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe 2>&1)