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.001173/0.001173, allocations: 103.9 kB / 15.98 MB, free: 6.355 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.001128/0.001128, allocations: 199.1 kB / 16.91 MB, free: 6.191 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.251/1.251, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002044/0.002044, allocations: 288.6 kB / 291 MB, free: 14.71 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.909/0.909, allocations: 169.2 MB / 0.4985 GB, free: 4.719 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001644/0.001644, allocations: 88.27 kB / 0.5954 GB, free: 15.49 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1637/0.1654, allocations: 86.98 MB / 0.6803 GB, free: 8.531 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors): time 0.002394/0.1678, allocations: 1.311 MB / 0.6816 GB, free: 7.207 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001432/0.1693, allocations: 0.8821 MB / 0.6824 GB, free: 6.316 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.298e-05/0.1693, allocations: 0 / 0.6824 GB, free: 6.316 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.853e-05/0.1694, allocations: 3.938 kB / 0.6825 GB, free: 6.312 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001194/0.1695, allocations: 31.94 kB / 0.6825 GB, free: 6.281 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000747/0.1702, allocations: 215.7 kB / 0.6827 GB, free: 6.07 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.243e-05/0.1703, allocations: 35.89 kB / 0.6827 GB, free: 6.035 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.315e-05/0.1704, allocations: 4 kB / 0.6827 GB, free: 6.031 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.922e-05/0.1704, allocations: 19.98 kB / 0.6827 GB, free: 6.012 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001414/0.1706, allocations: 47.94 kB / 0.6828 GB, free: 5.965 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.698e-06/0.1706, allocations: 0 / 0.6828 GB, free: 5.965 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003948/0.171, allocations: 283.5 kB / 0.6831 GB, free: 5.688 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.977e-05/0.171, allocations: 23.92 kB / 0.6831 GB, free: 5.664 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.551e-05/0.1711, allocations: 19.81 kB / 0.6831 GB, free: 5.645 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002164/0.1713, allocations: 164 kB / 0.6833 GB, free: 5.484 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.1713, allocations: 0 / 0.6833 GB, free: 5.484 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1713, allocations: 0 / 0.6833 GB, free: 5.484 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.19e-06/0.1713, allocations: 0 / 0.6833 GB, free: 5.484 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.0004099/0.1717, allocations: 379.2 kB / 0.6836 GB, free: 5.066 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/0.1718, allocations: 12.03 kB / 0.6836 GB, free: 5.055 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.458e-05/0.1718, allocations: 4.844 kB / 0.6836 GB, free: 5.051 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001381/0.172, allocations: 176.2 kB / 0.6838 GB, free: 4.84 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.365e-05/0.172, allocations: 4.375 kB / 0.6838 GB, free: 4.836 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.001e-05/0.172, allocations: 384 / 0.6838 GB, free: 4.836 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001299/0.1721, allocations: 73.86 kB / 0.6839 GB, free: 4.758 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.333e-06/0.1722, allocations: 0 / 0.6839 GB, free: 4.758 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.1722, allocations: 3.984 kB / 0.6839 GB, free: 4.754 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.529e-05/0.1722, allocations: 15.98 kB / 0.6839 GB, free: 4.738 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.837e-05/0.1723, allocations: 24 kB / 0.6839 GB, free: 4.715 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002362/0.1725, allocations: 169.7 kB / 0.6841 GB, free: 4.5 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.067e-05/0.1726, allocations: 54.59 kB / 0.6841 GB, free: 4.438 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.966e-05/0.1726, allocations: 40.88 kB / 0.6842 GB, free: 4.395 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.894e-06/0.1726, allocations: 0 / 0.6842 GB, free: 4.395 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.765e-05/0.1727, allocations: 38.5 kB / 0.6842 GB, free: 4.348 MB / 494.1 MB Notification: Performance of pre-optimization done (n=10): time 9.42e-07/0.1727, allocations: 0 / 0.6842 GB, free: 4.348 MB / 494.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002249/0.1729, allocations: 129.6 kB / 0.6843 GB, free: 4.215 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.446e-05/0.173, allocations: 55.34 kB / 0.6844 GB, free: 4.148 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001166/0.1731, allocations: 133.8 kB / 0.6845 GB, free: 4.008 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.512e-05/0.1731, allocations: 29.73 kB / 0.6845 GB, free: 3.973 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.131e-05/0.1731, allocations: 92.12 kB / 0.6846 GB, free: 3.879 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.041e-05/0.1732, allocations: 31.47 kB / 0.6847 GB, free: 3.848 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.227e-05/0.1732, allocations: 17.7 kB / 0.6847 GB, free: 3.824 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001218/0.1734, allocations: 318.8 kB / 0.685 GB, free: 3.504 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.16e-05/0.1734, allocations: 27.98 kB / 0.685 GB, free: 3.477 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.65e-05/0.1734, allocations: 27.98 kB / 0.685 GB, free: 3.449 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.223e-05/0.1735, allocations: 73.14 kB / 0.6851 GB, free: 3.375 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.634e-06/0.1735, allocations: 7.969 kB / 0.6851 GB, free: 3.367 MB / 494.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001067/0.1736, allocations: 89.67 kB / 0.6852 GB, free: 3.273 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.1736, allocations: 11.94 kB / 0.6852 GB, free: 3.262 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.1737, allocations: 0 / 0.6852 GB, free: 3.262 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/0.1737, allocations: 0 / 0.6852 GB, free: 3.262 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.32e-07/0.1737, allocations: 0 / 0.6852 GB, free: 3.262 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.97e-06/0.1737, allocations: 0 / 0.6852 GB, free: 3.262 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.576e-05/0.1737, allocations: 3.906 kB / 0.6852 GB, free: 3.258 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.092e-05/0.1737, allocations: 4 kB / 0.6852 GB, free: 3.254 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 8.154e-05/0.1738, allocations: 129.8 kB / 0.6853 GB, free: 3.117 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.184e-05/0.1738, allocations: 11.84 kB / 0.6854 GB, free: 3.105 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.85e-05/0.1739, allocations: 12.36 kB / 0.6854 GB, free: 3.09 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-05/0.1739, allocations: 8 kB / 0.6854 GB, free: 3.082 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.1739, allocations: 4 kB / 0.6854 GB, free: 3.078 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.355e-06/0.1739, allocations: 0 / 0.6854 GB, free: 3.078 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001482/0.174, allocations: 181.6 kB / 0.6856 GB, free: 2.852 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.174, allocations: 0 / 0.6856 GB, free: 2.852 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.11e-07/0.1741, allocations: 0 / 0.6856 GB, free: 2.852 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.1741, allocations: 3.938 kB / 0.6856 GB, free: 2.848 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.402e-06/0.1741, allocations: 0 / 0.6856 GB, free: 2.848 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.1741, allocations: 4 kB / 0.6856 GB, free: 2.844 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.1741, allocations: 0 / 0.6856 GB, free: 2.844 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001403/0.1742, allocations: 132.9 kB / 0.6857 GB, free: 2.695 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.507e-05/0.1743, allocations: 88.89 kB / 0.6858 GB, free: 2.59 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.248e-05/0.1743, allocations: 4 kB / 0.6858 GB, free: 2.586 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.026e-05/0.1743, allocations: 0 / 0.6858 GB, free: 2.586 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.217e-05/0.1743, allocations: 0 / 0.6858 GB, free: 2.586 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.901e-06/0.1743, allocations: 4 kB / 0.6858 GB, free: 2.582 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.525e-05/0.1744, allocations: 103.3 kB / 0.6859 GB, free: 2.48 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1744, allocations: 0 / 0.6859 GB, free: 2.48 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002773/0.1747, allocations: 71.92 kB / 0.6859 GB, free: 2.41 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.0003188/0.175, allocations: 175.1 kB / 0.6861 GB, free: 2.23 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001187/0.1751, allocations: 67.97 kB / 0.6862 GB, free: 2.164 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.1751, allocations: 3.938 kB / 0.6862 GB, free: 2.16 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 4.104e-05/0.1752, allocations: 35.98 kB / 0.6862 GB, free: 2.125 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000146/0.1753, allocations: 5.297 kB / 0.6862 GB, free: 2.121 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003693/0.1757, allocations: 243.9 kB / 0.6865 GB, free: 1.848 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000257/0.176, allocations: 0.6924 MB / 0.6871 GB, free: 1.129 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.385e-05/0.176, allocations: 15.44 kB / 0.6871 GB, free: 1.113 MB / 494.1 MB Notification: Performance of SimCode: time 2.1e-07/0.176, allocations: 0 / 0.6871 GB, free: 1.113 MB / 494.1 MB Notification: Performance of Templates: time 0.2646/0.4406, allocations: 1.5 MB / 0.6886 GB, free: 17.85 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)