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.7639/0.7639, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009833/0.0009833, allocations: 191.8 kB / 187.3 MB, free: 11.87 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.431/1.431, allocations: 221.3 MB / 441.4 MB, free: 4.605 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.0009406/0.0009405, allocations: 93.03 kB / 0.5124 GB, free: 24.2 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001857/0.001856, allocations: 288.2 kB / 0.5939 GB, free: 7.953 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.884e-05/3.894e-05, allocations: 4 kB / 0.6835 GB, free: 12.2 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4373/0.4373, allocations: 82.76 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1207/0.5581, allocations: 110.7 MB / 0.8724 GB, free: 13.8 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002498/0.5584, allocations: 112.3 kB / 0.8725 GB, free: 13.7 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.01135/0.5698, allocations: 3.823 MB / 0.8763 GB, free: 9.895 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.302e-06/0.5698, allocations: 3.938 kB / 0.8763 GB, free: 9.891 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 5.621e-06/0.5698, allocations: 0 / 0.8763 GB, free: 9.891 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.0003429/0.5702, allocations: 386.2 kB / 0.8767 GB, free: 9.469 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/0.5702, allocations: 12.03 kB / 0.8767 GB, free: 9.457 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.102e-05/0.5703, allocations: 0 / 0.8767 GB, free: 9.457 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001215/0.5704, allocations: 175 kB / 0.8768 GB, free: 9.246 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.304e-05/0.5704, allocations: 7.891 kB / 0.8768 GB, free: 9.238 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.125e-05/0.5704, allocations: 4 kB / 0.8768 GB, free: 9.234 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001396/0.5706, allocations: 69.67 kB / 0.8769 GB, free: 9.16 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-06/0.5706, allocations: 0 / 0.8769 GB, free: 9.16 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.678e-06/0.5706, allocations: 4 kB / 0.8769 GB, free: 9.156 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.633e-05/0.5706, allocations: 7.984 kB / 0.8769 GB, free: 9.148 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.121e-05/0.5707, allocations: 35.97 kB / 0.877 GB, free: 9.113 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002372/0.5709, allocations: 173.6 kB / 0.8771 GB, free: 8.895 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 7.733e-05/0.571, allocations: 62.58 kB / 0.8772 GB, free: 8.824 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.075e-05/0.5711, allocations: 44.83 kB / 0.8772 GB, free: 8.777 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 6.302e-06/0.5711, allocations: 8 kB / 0.8772 GB, free: 8.77 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.037e-05/0.5711, allocations: 30.56 kB / 0.8773 GB, free: 8.73 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=10): time 1.203e-06/0.5711, allocations: 0 / 0.8773 GB, free: 8.73 MB / 0.5417 GB Notification: Performance of matching and sorting (n=10): time 0.0001955/0.5713, allocations: 113.6 kB / 0.8774 GB, free: 8.613 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.131e-05/0.5714, allocations: 51.41 kB / 0.8774 GB, free: 8.551 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001091/0.5715, allocations: 128.9 kB / 0.8775 GB, free: 8.418 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.397e-05/0.5715, allocations: 29.69 kB / 0.8776 GB, free: 8.383 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 3.761e-05/0.5716, allocations: 84.14 kB / 0.8776 GB, free: 8.297 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 5.072e-05/0.5716, allocations: 39.48 kB / 0.8777 GB, free: 8.258 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.436e-06/0.5716, allocations: 0 / 0.8777 GB, free: 8.258 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001126/0.5717, allocations: 314.8 kB / 0.878 GB, free: 7.941 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.038e-05/0.5718, allocations: 31.98 kB / 0.878 GB, free: 7.91 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.978e-05/0.5718, allocations: 43.91 kB / 0.8781 GB, free: 7.867 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.879e-05/0.5719, allocations: 35.98 kB / 0.8781 GB, free: 7.832 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.5719, allocations: 0 / 0.8781 GB, free: 7.832 MB / 0.5417 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001414/0.572, allocations: 117.4 kB / 0.8782 GB, free: 7.711 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.5721, allocations: 4 kB / 0.8782 GB, free: 7.707 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.5721, allocations: 4.062 kB / 0.8782 GB, free: 7.703 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.5721, allocations: 4 kB / 0.8782 GB, free: 7.699 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.21e-07/0.5721, allocations: 0 / 0.8782 GB, free: 7.699 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.052e-06/0.5721, allocations: 0 / 0.8782 GB, free: 7.699 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.602e-05/0.5721, allocations: 0 / 0.8782 GB, free: 7.699 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.799e-05/0.5722, allocations: 8 kB / 0.8782 GB, free: 7.691 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 () * 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 5.601e-05/0.5722, allocations: 105 kB / 0.8783 GB, free: 7.582 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.252e-05/0.5722, allocations: 11.86 kB / 0.8783 GB, free: 7.57 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.651e-05/0.5723, allocations: 8.625 kB / 0.8783 GB, free: 7.562 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-05/0.5723, allocations: 11.98 kB / 0.8784 GB, free: 7.551 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.5723, allocations: 0 / 0.8784 GB, free: 7.551 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.5723, allocations: 0 / 0.8784 GB, free: 7.551 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001669/0.5725, allocations: 181.6 kB / 0.8785 GB, free: 7.324 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.5725, allocations: 0 / 0.8785 GB, free: 7.324 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.024e-06/0.5725, allocations: 0 / 0.8785 GB, free: 7.324 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-06/0.5725, allocations: 3.938 kB / 0.8785 GB, free: 7.32 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.937e-06/0.5725, allocations: 3.953 kB / 0.8785 GB, free: 7.316 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.81e-07/0.5725, allocations: 0 / 0.8785 GB, free: 7.316 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.5725, allocations: 0 / 0.8785 GB, free: 7.316 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000155/0.5727, allocations: 149.8 kB / 0.8787 GB, free: 7.152 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.996e-05/0.5727, allocations: 85.02 kB / 0.8788 GB, free: 7.051 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.243e-05/0.5728, allocations: 0 / 0.8788 GB, free: 7.051 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.386e-05/0.5728, allocations: 3.953 kB / 0.8788 GB, free: 7.047 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.639e-05/0.5728, allocations: 3.938 kB / 0.8788 GB, free: 7.043 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.721e-06/0.5728, allocations: 7.938 kB / 0.8788 GB, free: 7.035 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 6.525e-05/0.5729, allocations: 103.3 kB / 0.8789 GB, free: 6.934 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5729, allocations: 0 / 0.8789 GB, free: 6.934 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0003097/0.5732, allocations: 79.95 kB / 0.879 GB, free: 6.855 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 () * 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.0003108/0.5735, allocations: 183.1 kB / 0.8791 GB, free: 6.668 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001128/0.5736, allocations: 63.98 kB / 0.8792 GB, free: 6.605 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.5737, allocations: 0 / 0.8792 GB, free: 6.605 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 3.304e-05/0.5737, allocations: 39.92 kB / 0.8792 GB, free: 6.566 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.671e-05/0.5738, allocations: 0 / 0.8792 GB, free: 6.566 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002486/0.5741, allocations: 143.1 kB / 0.8794 GB, free: 6.402 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002722/0.5743, allocations: 0.7004 MB / 0.88 GB, free: 5.676 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 3.299e-05/0.5744, allocations: 0 / 0.88 GB, free: 5.676 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.81e-05/0.5744, allocations: 15.44 kB / 0.8801 GB, free: 5.66 MB / 0.5417 GB Notification: Performance of SimCode: time 2.1e-07/0.5744, allocations: 3.938 kB / 0.8801 GB, free: 5.656 MB / 0.5417 GB Notification: Performance of Templates: time 0.003613/0.578, allocations: 1.455 MB / 0.8815 GB, free: 4.246 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)