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.001024/0.001024, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001046/0.001046, allocations: 193.3 kB / 16.25 MB, free: 6.633 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.267/1.267, allocations: 222.9 MB / 239.9 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002072/0.002072, allocations: 298.7 kB / 290.4 MB, free: 2.145 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9242/0.9242, allocations: 169.2 MB / 0.4978 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001609/0.001609, allocations: 94.53 kB / 0.5947 GB, free: 28.33 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1421/0.1438, allocations: 86.98 MB / 0.6797 GB, free: 1.062 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors): time 0.002156/0.146, allocations: 1.306 MB / 0.6809 GB, free: 15.76 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00129/0.1473, allocations: 0.8844 MB / 0.6818 GB, free: 14.87 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.988e-05/0.1473, allocations: 3.938 kB / 0.6818 GB, free: 14.86 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.823e-05/0.1473, allocations: 4 kB / 0.6818 GB, free: 14.86 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001051/0.1475, allocations: 27.95 kB / 0.6818 GB, free: 14.83 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006378/0.1481, allocations: 223.7 kB / 0.682 GB, free: 14.61 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.028e-05/0.1482, allocations: 23.92 kB / 0.6821 GB, free: 14.59 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.37e-05/0.1482, allocations: 3.984 kB / 0.6821 GB, free: 14.59 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.094e-05/0.1482, allocations: 19.97 kB / 0.6821 GB, free: 14.57 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001205/0.1484, allocations: 59.94 kB / 0.6822 GB, free: 14.51 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.476e-06/0.1484, allocations: 0 / 0.6822 GB, free: 14.51 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003453/0.1487, allocations: 275.6 kB / 0.6824 GB, free: 14.24 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.843e-05/0.1488, allocations: 15.92 kB / 0.6824 GB, free: 14.22 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.036e-05/0.1488, allocations: 27.8 kB / 0.6825 GB, free: 14.2 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002814/0.1491, allocations: 231.8 kB / 0.6827 GB, free: 13.97 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.1491, allocations: 7.938 kB / 0.6827 GB, free: 13.96 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1491, allocations: 4 kB / 0.6827 GB, free: 13.96 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.188e-06/0.1491, allocations: 0 / 0.6827 GB, free: 13.96 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.0003537/0.1495, allocations: 391.2 kB / 0.6831 GB, free: 13.53 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.116e-05/0.1495, allocations: 8.031 kB / 0.6831 GB, free: 13.52 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.646e-05/0.1496, allocations: 8.844 kB / 0.6831 GB, free: 13.51 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001108/0.1497, allocations: 172.2 kB / 0.6832 GB, free: 13.3 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.738e-06/0.1497, allocations: 384 / 0.6832 GB, free: 13.3 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.298e-06/0.1497, allocations: 384 / 0.6832 GB, free: 13.3 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001156/0.1498, allocations: 62 kB / 0.6833 GB, free: 13.24 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.1498, allocations: 4 kB / 0.6833 GB, free: 13.23 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.033e-06/0.1499, allocations: 0 / 0.6833 GB, free: 13.23 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.015e-05/0.1499, allocations: 11.98 kB / 0.6833 GB, free: 13.22 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.555e-05/0.1499, allocations: 31.92 kB / 0.6833 GB, free: 13.19 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001699/0.1501, allocations: 165.7 kB / 0.6835 GB, free: 12.98 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.561e-05/0.1502, allocations: 50.56 kB / 0.6836 GB, free: 12.92 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.633e-05/0.1502, allocations: 40.88 kB / 0.6836 GB, free: 12.88 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.693e-06/0.1502, allocations: 0 / 0.6836 GB, free: 12.88 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.358e-05/0.1502, allocations: 38.5 kB / 0.6836 GB, free: 12.83 MB / 494.1 MB Notification: Performance of pre-optimization done (n=10): time 9.31e-07/0.1503, allocations: 192 / 0.6836 GB, free: 12.83 MB / 494.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002099/0.1505, allocations: 141.4 kB / 0.6838 GB, free: 12.69 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.087e-05/0.1505, allocations: 51.41 kB / 0.6838 GB, free: 12.62 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.63e-05/0.1506, allocations: 129.8 kB / 0.6839 GB, free: 12.49 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.168e-05/0.1506, allocations: 29.64 kB / 0.684 GB, free: 12.45 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.648e-05/0.1507, allocations: 88.14 kB / 0.6841 GB, free: 12.36 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.508e-05/0.1507, allocations: 39.38 kB / 0.6841 GB, free: 12.32 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.6e-05/0.1508, allocations: 21.75 kB / 0.6841 GB, free: 12.3 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.815e-05/0.1509, allocations: 318.8 kB / 0.6844 GB, free: 11.98 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.918e-05/0.1509, allocations: 31.98 kB / 0.6844 GB, free: 11.95 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.292e-05/0.1509, allocations: 20 kB / 0.6845 GB, free: 11.93 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.651e-05/0.151, allocations: 72.83 kB / 0.6845 GB, free: 11.85 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.151, allocations: 0 / 0.6845 GB, free: 11.85 MB / 494.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.761e-05/0.1511, allocations: 101.5 kB / 0.6846 GB, free: 11.75 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.1511, allocations: 11.94 kB / 0.6846 GB, free: 11.73 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.1511, allocations: 64 / 0.6846 GB, free: 11.73 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.033e-05/0.1512, allocations: 4 kB / 0.6846 GB, free: 11.73 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.194e-06/0.1512, allocations: 3.984 kB / 0.6846 GB, free: 11.73 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.406e-06/0.1512, allocations: 0 / 0.6846 GB, free: 11.73 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.411e-05/0.1512, allocations: 0 / 0.6846 GB, free: 11.73 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.116e-05/0.1512, allocations: 4 kB / 0.6847 GB, free: 11.72 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.926e-05/0.1513, allocations: 118.9 kB / 0.6848 GB, free: 11.6 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.216e-05/0.1513, allocations: 11.84 kB / 0.6848 GB, free: 11.59 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.381e-05/0.1513, allocations: 12.38 kB / 0.6848 GB, free: 11.57 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.722e-05/0.1513, allocations: 15.98 kB / 0.6848 GB, free: 11.56 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.1514, allocations: 3.938 kB / 0.6848 GB, free: 11.55 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.664e-06/0.1514, allocations: 0 / 0.6848 GB, free: 11.55 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001287/0.1515, allocations: 169.6 kB / 0.685 GB, free: 11.34 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.1515, allocations: 3.984 kB / 0.685 GB, free: 11.34 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.81e-07/0.1515, allocations: 4 kB / 0.685 GB, free: 11.33 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.516e-06/0.1515, allocations: 7.922 kB / 0.685 GB, free: 11.32 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.16e-06/0.1515, allocations: 0 / 0.685 GB, free: 11.32 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.1515, allocations: 0 / 0.685 GB, free: 11.32 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.1515, allocations: 3.938 kB / 0.685 GB, free: 11.32 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001123/0.1517, allocations: 125 kB / 0.6851 GB, free: 11.18 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.284e-05/0.1517, allocations: 84.95 kB / 0.6852 GB, free: 11.08 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.031e-05/0.1517, allocations: 0 / 0.6852 GB, free: 11.08 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.211e-05/0.1517, allocations: 4 kB / 0.6852 GB, free: 11.07 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.071e-05/0.1518, allocations: 3.984 kB / 0.6852 GB, free: 11.07 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.11e-06/0.1518, allocations: 0 / 0.6852 GB, free: 11.07 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.682e-05/0.1518, allocations: 111.2 kB / 0.6853 GB, free: 10.96 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1518, allocations: 3.938 kB / 0.6853 GB, free: 10.96 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002734/0.1521, allocations: 63.98 kB / 0.6854 GB, free: 10.89 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.0002934/0.1524, allocations: 183.2 kB / 0.6855 GB, free: 10.71 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001058/0.1525, allocations: 59.98 kB / 0.6856 GB, free: 10.65 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.1525, allocations: 0 / 0.6856 GB, free: 10.65 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 3.136e-05/0.1526, allocations: 35.98 kB / 0.6856 GB, free: 10.61 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001351/0.1527, allocations: 4 kB / 0.6856 GB, free: 10.61 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00031/0.153, allocations: 218.3 kB / 0.6858 GB, free: 10.37 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003812/0.1534, allocations: 0.6931 MB / 0.6865 GB, free: 9.648 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.591e-05/0.1535, allocations: 8 kB / 0.6865 GB, free: 9.641 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.774e-05/0.1535, allocations: 19.42 kB / 0.6865 GB, free: 9.621 MB / 494.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1535, allocations: 0 / 0.6865 GB, free: 9.621 MB / 494.1 MB Notification: Performance of Templates: time 0.003529/0.157, allocations: 1.475 MB / 0.688 GB, free: 8.195 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)