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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.8076/0.8076, allocations: 143.4 MB / 158.3 MB, free: 5.809 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001297/0.001297, allocations: 191.4 kB / 191.5 MB, free: 5.762 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.453/1.453, allocations: 223.2 MB / 447.7 MB, free: 4.805 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000952/0.0009519, allocations: 104.2 kB / 0.5188 GB, free: 1.152 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001719/0.001719, allocations: 270.3 kB / 0.6005 GB, free: 48.75 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004537/0.000454, allocations: 11.81 kB / 0.6929 GB, free: 59.68 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1623/0.1628, allocations: 82.79 MB / 0.7738 GB, free: 13.81 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4758/0.6386, allocations: 110.8 MB / 0.882 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002468/0.6388, allocations: 110.7 kB / 0.8821 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.01088/0.6497, allocations: 3.828 MB / 0.8858 GB, free: 108 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.483e-06/0.6498, allocations: 0 / 0.8858 GB, free: 108 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 7.354e-06/0.6498, allocations: 0 / 0.8858 GB, free: 108 MB / 0.5417 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.0003416/0.6501, allocations: 403.2 kB / 0.8862 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.6502, allocations: 8.719 kB / 0.8862 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.819e-05/0.6502, allocations: 7 kB / 0.8862 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.835e-05/0.6503, allocations: 172.3 kB / 0.8864 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.445e-05/0.6503, allocations: 12.77 kB / 0.8864 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.351e-05/0.6503, allocations: 3.547 kB / 0.8864 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001228/0.6505, allocations: 62.03 kB / 0.8864 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.445e-05/0.6505, allocations: 3.531 kB / 0.8864 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.241e-05/0.6505, allocations: 0 / 0.8864 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.403e-05/0.6505, allocations: 4.812 kB / 0.8864 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.572e-05/0.6506, allocations: 32.28 kB / 0.8865 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001816/0.6508, allocations: 178.5 kB / 0.8866 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 7.199e-05/0.6509, allocations: 62.95 kB / 0.8867 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 8.005e-06/0.6509, allocations: 3.953 kB / 0.8867 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.841e-05/0.6509, allocations: 31.22 kB / 0.8867 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=10): time 1.242e-06/0.6509, allocations: 3.938 kB / 0.8867 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of matching and sorting (n=10): time 0.0002726/0.6512, allocations: 235.5 kB / 0.887 GB, free: 107 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.1e-05/0.6512, allocations: 51.41 kB / 0.887 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.549e-05/0.6513, allocations: 120.2 kB / 0.8871 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 7.825e-06/0.6513, allocations: 25.7 kB / 0.8872 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 2.729e-05/0.6513, allocations: 92.41 kB / 0.8872 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 3.614e-05/0.6514, allocations: 32.69 kB / 0.8873 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.288e-06/0.6514, allocations: 3.984 kB / 0.8873 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 4.701e-05/0.6514, allocations: 317.2 kB / 0.8876 GB, free: 106.4 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.689e-05/0.6515, allocations: 31.27 kB / 0.8876 GB, free: 106.4 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.325e-05/0.6515, allocations: 34.56 kB / 0.8876 GB, free: 106.4 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.94e-05/0.6516, allocations: 38.09 kB / 0.8877 GB, free: 106.4 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.6516, allocations: 4 kB / 0.8877 GB, free: 106.4 MB / 0.5417 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001157/0.6517, allocations: 113.9 kB / 0.8878 GB, free: 106.3 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.6517, allocations: 11.34 kB / 0.8878 GB, free: 106.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.6517, allocations: 0.75 kB / 0.8878 GB, free: 106.3 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.6518, allocations: 0 / 0.8878 GB, free: 106.3 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.32e-07/0.6518, allocations: 0 / 0.8878 GB, free: 106.3 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.032e-06/0.6518, allocations: 3.688 kB / 0.8878 GB, free: 106.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.762e-05/0.6518, allocations: 7.844 kB / 0.8878 GB, free: 106.3 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.576e-05/0.6518, allocations: 2.781 kB / 0.8878 GB, free: 106.3 MB / 0.5417 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.064e-05/0.6519, allocations: 126.5 kB / 0.8879 GB, free: 106.2 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.829e-06/0.6519, allocations: 6.406 kB / 0.8879 GB, free: 106.2 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.768e-05/0.6519, allocations: 17.08 kB / 0.888 GB, free: 106.2 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.527e-05/0.6519, allocations: 7.828 kB / 0.888 GB, free: 106.2 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.6519, allocations: 0 / 0.888 GB, free: 106.2 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.652, allocations: 0.6094 kB / 0.888 GB, free: 106.2 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001222/0.6521, allocations: 177.4 kB / 0.8881 GB, free: 106 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.6521, allocations: 0 / 0.8881 GB, free: 106 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.443e-06/0.6521, allocations: 0.875 kB / 0.8881 GB, free: 106 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.6521, allocations: 6.359 kB / 0.8881 GB, free: 106 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.165e-06/0.6521, allocations: 4.562 kB / 0.8881 GB, free: 106 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.6521, allocations: 3.953 kB / 0.8882 GB, free: 106 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.6521, allocations: 4.594 kB / 0.8882 GB, free: 106 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001369/0.6523, allocations: 137.4 kB / 0.8883 GB, free: 105.9 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 2.008e-05/0.6523, allocations: 82.27 kB / 0.8884 GB, free: 105.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.417e-05/0.6523, allocations: 6.594 kB / 0.8884 GB, free: 105.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.263e-05/0.6523, allocations: 1.281 kB / 0.8884 GB, free: 105.8 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.33e-05/0.6524, allocations: 5.828 kB / 0.8884 GB, free: 105.8 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.115e-06/0.6524, allocations: 8.547 kB / 0.8884 GB, free: 105.8 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 5.034e-05/0.6524, allocations: 103.4 kB / 0.8885 GB, free: 105.7 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6524, allocations: 0 / 0.8885 GB, free: 105.7 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0003208/0.6528, allocations: 84.78 kB / 0.8886 GB, free: 105.7 MB / 0.5417 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 (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.0002883/0.653, allocations: 178.2 kB / 0.8887 GB, free: 105.6 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001058/0.6532, allocations: 70.91 kB / 0.8888 GB, free: 105.6 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.6532, allocations: 0 / 0.8888 GB, free: 105.6 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 3.581e-05/0.6532, allocations: 36.7 kB / 0.8888 GB, free: 105.6 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.551e-05/0.6533, allocations: 8.422 kB / 0.8888 GB, free: 105.6 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003006/0.6536, allocations: 208.5 kB / 0.889 GB, free: 105.5 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001335/0.6538, allocations: 0.6988 MB / 0.8897 GB, free: 104.8 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 4.021e-05/0.6538, allocations: 13.22 kB / 0.8897 GB, free: 104.8 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.47e-05/0.6538, allocations: 10.16 kB / 0.8897 GB, free: 104.7 MB / 0.5417 GB Notification: Performance of SimCode: time 2.31e-07/0.6538, allocations: 4 kB / 0.8898 GB, free: 104.7 MB / 0.5417 GB Notification: Performance of Templates: time 0.003859/0.6577, allocations: 1.411 MB / 0.8911 GB, free: 104.7 MB / 0.5417 GB 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)