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.0007746/0.000778, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.004618/0.004618, allocations: 170.7 kB / 16.26 MB, free: 6.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.276/1.276, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001725/0.001725, allocations: 274.4 kB / 291.7 MB, free: 1.879 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9164/0.9164, allocations: 169.5 MB / 0.5004 GB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004029/0.000403, allocations: 16.69 kB / 0.5987 GB, free: 28.19 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1415/0.142, allocations: 88.54 MB / 0.6852 GB, free: 15.03 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors): time 0.001155/0.1431, allocations: 0.9715 MB / 0.6861 GB, free: 14.05 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001378/0.1445, allocations: 0.9004 MB / 0.687 GB, free: 13.14 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.617e-05/0.1446, allocations: 0 / 0.687 GB, free: 13.14 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.875e-05/0.1446, allocations: 0 / 0.687 GB, free: 13.14 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001076/0.1447, allocations: 35.89 kB / 0.687 GB, free: 13.11 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006248/0.1454, allocations: 199.9 kB / 0.6872 GB, free: 12.92 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.827e-05/0.1454, allocations: 31.95 kB / 0.6872 GB, free: 12.89 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.571e-05/0.1455, allocations: 0 / 0.6872 GB, free: 12.89 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.507e-05/0.1455, allocations: 19.97 kB / 0.6873 GB, free: 12.87 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001251/0.1456, allocations: 50.17 kB / 0.6873 GB, free: 12.82 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.406e-06/0.1457, allocations: 0 / 0.6873 GB, free: 12.82 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003779/0.146, allocations: 272.1 kB / 0.6876 GB, free: 12.55 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.672e-05/0.1461, allocations: 23.92 kB / 0.6876 GB, free: 12.53 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.308e-05/0.1461, allocations: 38.98 kB / 0.6876 GB, free: 12.49 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003033/0.1464, allocations: 251.7 kB / 0.6879 GB, free: 12.24 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.818e-06/0.1465, allocations: 3.938 kB / 0.6879 GB, free: 12.24 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.575e-06/0.1465, allocations: 4 kB / 0.6879 GB, free: 12.23 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.248e-06/0.1465, allocations: 1.312 kB / 0.6879 GB, free: 12.23 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.0003417/0.1468, allocations: 379.3 kB / 0.6882 GB, free: 11.82 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.543e-05/0.1469, allocations: 9.688 kB / 0.6882 GB, free: 11.81 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.889e-05/0.1469, allocations: 8.844 kB / 0.6883 GB, free: 11.8 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001033/0.147, allocations: 168.4 kB / 0.6884 GB, free: 11.6 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.117e-06/0.147, allocations: 384 / 0.6884 GB, free: 11.6 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.883e-06/0.147, allocations: 1.312 kB / 0.6884 GB, free: 11.6 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001187/0.1472, allocations: 65.94 kB / 0.6885 GB, free: 11.53 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.711e-06/0.1472, allocations: 1.719 kB / 0.6885 GB, free: 11.53 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.406e-06/0.1472, allocations: 3.984 kB / 0.6885 GB, free: 11.52 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.733e-05/0.1472, allocations: 8 kB / 0.6885 GB, free: 11.52 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.534e-05/0.1473, allocations: 27.98 kB / 0.6885 GB, free: 11.49 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001975/0.1475, allocations: 178.2 kB / 0.6887 GB, free: 11.27 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.861e-05/0.1475, allocations: 51.22 kB / 0.6887 GB, free: 11.21 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.83e-05/0.1476, allocations: 43.53 kB / 0.6888 GB, free: 11.16 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.158e-06/0.1476, allocations: 3.938 kB / 0.6888 GB, free: 11.16 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.476e-05/0.1476, allocations: 34.5 kB / 0.6888 GB, free: 11.12 MB / 494.1 MB Notification: Performance of pre-optimization done (n=10): time 1.373e-06/0.1476, allocations: 0 / 0.6888 GB, free: 11.12 MB / 494.1 MB Notification: Performance of matching and sorting (n=10): time 0.000185/0.1478, allocations: 129.8 kB / 0.6889 GB, free: 10.98 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.97e-05/0.1479, allocations: 57.47 kB / 0.689 GB, free: 10.92 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.633e-05/0.148, allocations: 133.8 kB / 0.6891 GB, free: 10.78 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 9.578e-06/0.148, allocations: 25.7 kB / 0.6892 GB, free: 10.75 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.94e-05/0.148, allocations: 84.14 kB / 0.6892 GB, free: 10.66 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.715e-05/0.1481, allocations: 36.11 kB / 0.6893 GB, free: 10.62 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.349e-05/0.1481, allocations: 15.44 kB / 0.6893 GB, free: 10.61 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.997e-05/0.1482, allocations: 322.8 kB / 0.6896 GB, free: 10.28 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.926e-05/0.1482, allocations: 27.98 kB / 0.6896 GB, free: 10.25 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.248e-05/0.1483, allocations: 23.98 kB / 0.6896 GB, free: 10.23 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.125e-05/0.1483, allocations: 73.7 kB / 0.6897 GB, free: 10.16 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.1483, allocations: 0 / 0.6897 GB, free: 10.16 MB / 494.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.97e-05/0.1484, allocations: 102.2 kB / 0.6898 GB, free: 10.05 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.1485, allocations: 9.25 kB / 0.6898 GB, free: 10.04 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.1485, allocations: 0 / 0.6898 GB, free: 10.04 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.927e-06/0.1485, allocations: 0 / 0.6898 GB, free: 10.04 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.52e-07/0.1485, allocations: 0 / 0.6898 GB, free: 10.04 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.807e-06/0.1485, allocations: 0.75 kB / 0.6898 GB, free: 10.04 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.677e-05/0.1485, allocations: 4 kB / 0.6898 GB, free: 10.04 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.004e-05/0.1485, allocations: 4.625 kB / 0.6898 GB, free: 10.04 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.436e-05/0.1486, allocations: 126.6 kB / 0.6899 GB, free: 9.902 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.023e-05/0.1486, allocations: 7.844 kB / 0.69 GB, free: 9.895 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.622e-05/0.1487, allocations: 12.38 kB / 0.69 GB, free: 9.883 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.827e-05/0.1487, allocations: 11.98 kB / 0.69 GB, free: 9.871 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.1487, allocations: 4 kB / 0.69 GB, free: 9.867 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.783e-06/0.1487, allocations: 3.938 kB / 0.69 GB, free: 9.863 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001273/0.1488, allocations: 177.6 kB / 0.6902 GB, free: 9.641 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.1488, allocations: 3.938 kB / 0.6902 GB, free: 9.637 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.31e-07/0.1488, allocations: 0 / 0.6902 GB, free: 9.637 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.1488, allocations: 7.922 kB / 0.6902 GB, free: 9.629 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.709e-06/0.1489, allocations: 4 kB / 0.6902 GB, free: 9.625 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.1489, allocations: 3.984 kB / 0.6902 GB, free: 9.621 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1489, allocations: 4 kB / 0.6902 GB, free: 9.617 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001113/0.149, allocations: 121 kB / 0.6903 GB, free: 9.48 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.959e-05/0.149, allocations: 89.03 kB / 0.6904 GB, free: 9.375 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.098e-05/0.1491, allocations: 3.984 kB / 0.6904 GB, free: 9.371 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.07e-05/0.1491, allocations: 0 / 0.6904 GB, free: 9.371 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.092e-05/0.1491, allocations: 4.031 kB / 0.6904 GB, free: 9.367 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.01e-06/0.1491, allocations: 4 kB / 0.6904 GB, free: 9.363 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.589e-05/0.1492, allocations: 107.2 kB / 0.6905 GB, free: 9.258 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1492, allocations: 0 / 0.6905 GB, free: 9.258 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002853/0.1494, allocations: 71.98 kB / 0.6906 GB, free: 9.188 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 (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.0002761/0.1497, allocations: 160 kB / 0.6907 GB, free: 9.023 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 9.884e-05/0.1498, allocations: 67.97 kB / 0.6908 GB, free: 8.957 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.1498, allocations: 0 / 0.6908 GB, free: 8.957 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 3.297e-05/0.1499, allocations: 40 kB / 0.6908 GB, free: 8.918 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001404/0.15, allocations: 13.81 kB / 0.6908 GB, free: 8.906 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002974/0.1503, allocations: 213.2 kB / 0.691 GB, free: 8.668 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002106/0.1506, allocations: 0.7004 MB / 0.6917 GB, free: 7.941 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.448e-05/0.1506, allocations: 8.062 kB / 0.6917 GB, free: 7.934 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.243e-05/0.1506, allocations: 7.438 kB / 0.6917 GB, free: 7.926 MB / 494.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1506, allocations: 4 kB / 0.6917 GB, free: 7.922 MB / 494.1 MB Notification: Performance of Templates: time 0.003612/0.1543, allocations: 1.465 MB / 0.6932 GB, free: 6.508 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)