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.001205/0.001205, allocations: 107.6 kB / 16.38 MB, free: 6.414 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.001098/0.001098, allocations: 192.9 kB / 17.32 MB, free: 5.75 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.278/1.278, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002144/0.002144, allocations: 295 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9047/0.9047, allocations: 169.3 MB / 0.4989 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001749/0.001749, allocations: 91.86 kB / 0.6821 GB, free: 6.941 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5412/0.5429, allocations: 86.97 MB / 0.767 GB, free: 3.918 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors): time 0.00229/0.5453, allocations: 1.253 MB / 0.7683 GB, free: 2.656 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001475/0.5468, allocations: 0.883 MB / 0.7691 GB, free: 1.766 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.622e-05/0.5468, allocations: 0 / 0.7691 GB, free: 1.766 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.189e-05/0.5468, allocations: 0 / 0.7691 GB, free: 1.766 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001184/0.547, allocations: 31.95 kB / 0.7691 GB, free: 1.734 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007782/0.5478, allocations: 245.4 kB / 0.7694 GB, free: 1.496 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.828e-05/0.5478, allocations: 31.95 kB / 0.7694 GB, free: 1.465 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.861e-05/0.5479, allocations: 0 / 0.7694 GB, free: 1.465 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.55e-05/0.5479, allocations: 19.98 kB / 0.7694 GB, free: 1.445 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001466/0.5481, allocations: 47.94 kB / 0.7695 GB, free: 1.398 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.062e-05/0.5481, allocations: 3.938 kB / 0.7695 GB, free: 1.395 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004007/0.5485, allocations: 287.5 kB / 0.7698 GB, free: 1.113 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.669e-05/0.5486, allocations: 19.92 kB / 0.7698 GB, free: 1.094 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.663e-05/0.5486, allocations: 11.88 kB / 0.7698 GB, free: 1.082 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003004/0.5489, allocations: 243.1 kB / 0.77 GB, free: 0.8477 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.5489, allocations: 0 / 0.77 GB, free: 0.8477 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.695e-06/0.5489, allocations: 4 kB / 0.77 GB, free: 0.8438 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.01e-05/0.5489, allocations: 7.938 kB / 0.77 GB, free: 0.8359 MB / 0.5294 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.0003773/0.5493, allocations: 377.8 kB / 0.7704 GB, free: 432 kB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.5494, allocations: 8.031 kB / 0.7704 GB, free: 424 kB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.198e-05/0.5494, allocations: 12.83 kB / 0.7704 GB, free: 412 kB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000114/0.5495, allocations: 172.2 kB / 0.7706 GB, free: 200 kB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.255e-05/0.5495, allocations: 384 / 0.7706 GB, free: 200 kB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.171e-05/0.5496, allocations: 384 / 0.7706 GB, free: 200 kB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000128/0.5497, allocations: 69.92 kB / 0.7706 GB, free: 124 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-06/0.5497, allocations: 0 / 0.7706 GB, free: 124 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.227e-06/0.5497, allocations: 4 kB / 0.7706 GB, free: 120 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.619e-05/0.5498, allocations: 11.98 kB / 0.7707 GB, free: 108 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.9e-05/0.5498, allocations: 31.98 kB / 0.7707 GB, free: 76 kB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002258/0.55, allocations: 165.6 kB / 0.7708 GB, free: 15.86 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 7.373e-05/0.5501, allocations: 54.56 kB / 0.7709 GB, free: 15.8 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.823e-05/0.5502, allocations: 40.88 kB / 0.7709 GB, free: 15.76 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 9.287e-06/0.5502, allocations: 192 / 0.7709 GB, free: 15.76 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.471e-05/0.5502, allocations: 42.44 kB / 0.771 GB, free: 15.71 MB / 0.545 GB Notification: Performance of pre-optimization done (n=10): time 9.22e-07/0.5502, allocations: 0 / 0.771 GB, free: 15.71 MB / 0.545 GB Notification: Performance of matching and sorting (n=10): time 0.0002068/0.5504, allocations: 125.6 kB / 0.7711 GB, free: 15.58 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.237e-05/0.5505, allocations: 59.34 kB / 0.7712 GB, free: 15.51 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.791e-05/0.5506, allocations: 125.8 kB / 0.7713 GB, free: 15.38 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.27e-05/0.5506, allocations: 25.7 kB / 0.7713 GB, free: 15.34 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.836e-05/0.5506, allocations: 88.12 kB / 0.7714 GB, free: 15.25 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.113e-05/0.5507, allocations: 27.84 kB / 0.7714 GB, free: 15.23 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.368e-05/0.5507, allocations: 29.73 kB / 0.7714 GB, free: 15.19 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001013/0.5508, allocations: 314.8 kB / 0.7717 GB, free: 14.88 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.881e-05/0.5509, allocations: 31.92 kB / 0.7718 GB, free: 14.84 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.468e-05/0.5509, allocations: 31.98 kB / 0.7718 GB, free: 14.81 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.069e-05/0.551, allocations: 68.83 kB / 0.7719 GB, free: 14.74 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.551, allocations: 0 / 0.7719 GB, free: 14.74 MB / 0.545 GB Notification: Performance of matching and sorting (n=10) (initialization): time 9.981e-05/0.5511, allocations: 101.5 kB / 0.772 GB, free: 14.64 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.5511, allocations: 11.94 kB / 0.772 GB, free: 14.62 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.5511, allocations: 0 / 0.772 GB, free: 14.62 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.5511, allocations: 4.062 kB / 0.772 GB, free: 14.62 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.71e-07/0.5511, allocations: 0 / 0.772 GB, free: 14.62 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.5512, allocations: 0 / 0.772 GB, free: 14.62 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.784e-05/0.5512, allocations: 7.938 kB / 0.772 GB, free: 14.61 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.21e-05/0.5512, allocations: 4 kB / 0.772 GB, free: 14.61 MB / 0.545 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.748e-05/0.5513, allocations: 117.8 kB / 0.7721 GB, free: 14.48 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.267e-05/0.5513, allocations: 11.84 kB / 0.7721 GB, free: 14.47 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.633e-05/0.5513, allocations: 12.36 kB / 0.7721 GB, free: 14.46 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.681e-05/0.5513, allocations: 8 kB / 0.7721 GB, free: 14.45 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.5513, allocations: 4 kB / 0.7721 GB, free: 14.45 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.5514, allocations: 0 / 0.7721 GB, free: 14.45 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001345/0.5515, allocations: 173.6 kB / 0.7723 GB, free: 14.23 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.5515, allocations: 3.938 kB / 0.7723 GB, free: 14.22 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.974e-06/0.5515, allocations: 4 kB / 0.7723 GB, free: 14.22 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.5515, allocations: 3.938 kB / 0.7723 GB, free: 14.21 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.611e-06/0.5515, allocations: 0 / 0.7723 GB, free: 14.21 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.71e-07/0.5515, allocations: 0 / 0.7723 GB, free: 14.21 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.5515, allocations: 96 / 0.7723 GB, free: 14.21 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001189/0.5517, allocations: 136.9 kB / 0.7724 GB, free: 14.06 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.528e-05/0.5517, allocations: 88.89 kB / 0.7725 GB, free: 13.96 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.19e-05/0.5517, allocations: 0 / 0.7725 GB, free: 13.96 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.075e-05/0.5517, allocations: 3.938 kB / 0.7725 GB, free: 13.95 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.4e-05/0.5518, allocations: 7.984 kB / 0.7725 GB, free: 13.95 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.226e-06/0.5518, allocations: 0 / 0.7725 GB, free: 13.95 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.176e-05/0.5518, allocations: 103.2 kB / 0.7726 GB, free: 13.84 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5518, allocations: 7.938 kB / 0.7726 GB, free: 13.84 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002824/0.5521, allocations: 68 kB / 0.7727 GB, free: 13.77 MB / 0.545 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 (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.0003002/0.5524, allocations: 179.2 kB / 0.7729 GB, free: 13.59 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001109/0.5525, allocations: 63.98 kB / 0.7729 GB, free: 13.52 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.5526, allocations: 0 / 0.7729 GB, free: 13.52 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 3.205e-05/0.5526, allocations: 35.98 kB / 0.773 GB, free: 13.49 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001413/0.5527, allocations: 7.688 kB / 0.773 GB, free: 13.48 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000344/0.5531, allocations: 224.7 kB / 0.7732 GB, free: 13.23 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002287/0.5533, allocations: 0.6924 MB / 0.7739 GB, free: 12.51 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.727e-05/0.5534, allocations: 11.44 kB / 0.7739 GB, free: 12.5 MB / 0.545 GB Notification: Performance of SimCode: time 2.1e-07/0.5534, allocations: 0 / 0.7739 GB, free: 12.5 MB / 0.545 GB Notification: Performance of Templates: time 0.00318/0.5566, allocations: 1.501 MB / 0.7753 GB, free: 11 MB / 0.545 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)