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.001009/0.001012, allocations: 107.9 kB / 16.37 MB, free: 6.477 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.0009789/0.0009789, allocations: 193.1 kB / 17.31 MB, free: 5.824 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.23/1.23, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00196/0.00196, allocations: 286.8 kB / 291.4 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8821/0.8821, allocations: 169.2 MB / 0.4989 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001723/0.001723, allocations: 89.58 kB / 0.5967 GB, free: 14.39 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1506/0.1523, allocations: 86.98 MB / 0.6817 GB, free: 7.406 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors): time 0.00206/0.1544, allocations: 1.231 MB / 0.6829 GB, free: 6.164 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001214/0.1556, allocations: 0.8812 MB / 0.6837 GB, free: 5.273 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.183e-05/0.1557, allocations: 4 kB / 0.6837 GB, free: 5.27 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.276e-05/0.1557, allocations: 3.938 kB / 0.6837 GB, free: 5.266 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 9.716e-05/0.1558, allocations: 31.95 kB / 0.6838 GB, free: 5.234 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000653/0.1565, allocations: 248.1 kB / 0.684 GB, free: 4.992 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.926e-05/0.1565, allocations: 23.97 kB / 0.684 GB, free: 4.969 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.92e-05/0.1566, allocations: 0 / 0.684 GB, free: 4.969 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.322e-05/0.1566, allocations: 23.91 kB / 0.684 GB, free: 4.945 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001212/0.1567, allocations: 59.88 kB / 0.6841 GB, free: 4.887 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.826e-06/0.1568, allocations: 0 / 0.6841 GB, free: 4.887 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003704/0.1571, allocations: 279.6 kB / 0.6844 GB, free: 4.613 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.94e-05/0.1572, allocations: 15.98 kB / 0.6844 GB, free: 4.598 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.554e-05/0.1572, allocations: 23.8 kB / 0.6844 GB, free: 4.574 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002805/0.1575, allocations: 235.5 kB / 0.6846 GB, free: 4.344 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1575, allocations: 0 / 0.6846 GB, free: 4.344 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.1575, allocations: 0 / 0.6846 GB, free: 4.344 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.1575, allocations: 0 / 0.6846 GB, free: 4.344 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.0003264/0.1579, allocations: 391.2 kB / 0.685 GB, free: 3.914 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.81e-05/0.1579, allocations: 12.03 kB / 0.685 GB, free: 3.902 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.927e-05/0.1579, allocations: 4.844 kB / 0.685 GB, free: 3.898 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001104/0.158, allocations: 180.2 kB / 0.6852 GB, free: 3.684 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.017e-05/0.1581, allocations: 4.375 kB / 0.6852 GB, free: 3.68 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.873e-06/0.1581, allocations: 384 / 0.6852 GB, free: 3.68 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.786e-05/0.1582, allocations: 58 kB / 0.6852 GB, free: 3.617 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.42e-06/0.1582, allocations: 0 / 0.6852 GB, free: 3.617 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.813e-06/0.1582, allocations: 0 / 0.6852 GB, free: 3.617 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.535e-05/0.1582, allocations: 16 kB / 0.6853 GB, free: 3.602 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.218e-05/0.1583, allocations: 27.98 kB / 0.6853 GB, free: 3.574 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001688/0.1584, allocations: 173.6 kB / 0.6855 GB, free: 3.355 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.566e-05/0.1585, allocations: 50.56 kB / 0.6855 GB, free: 3.297 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.226e-05/0.1585, allocations: 32.89 kB / 0.6855 GB, free: 3.262 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.928e-06/0.1585, allocations: 3.938 kB / 0.6855 GB, free: 3.258 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.946e-05/0.1586, allocations: 46.48 kB / 0.6856 GB, free: 3.203 MB / 494.1 MB Notification: Performance of pre-optimization done (n=10): time 1.272e-06/0.1586, allocations: 3.938 kB / 0.6856 GB, free: 3.199 MB / 494.1 MB Notification: Performance of matching and sorting (n=10): time 0.0001716/0.1588, allocations: 129.7 kB / 0.6857 GB, free: 3.066 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.176e-05/0.1588, allocations: 51.41 kB / 0.6858 GB, free: 3.004 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.751e-05/0.1589, allocations: 129.8 kB / 0.6859 GB, free: 2.867 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.065e-05/0.1589, allocations: 25.7 kB / 0.6859 GB, free: 2.836 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.806e-05/0.159, allocations: 88.14 kB / 0.686 GB, free: 2.746 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.736e-05/0.159, allocations: 39.44 kB / 0.686 GB, free: 2.707 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.56e-05/0.159, allocations: 13.72 kB / 0.686 GB, free: 2.688 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.144e-05/0.1591, allocations: 326.9 kB / 0.6863 GB, free: 2.359 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.795e-05/0.1592, allocations: 27.98 kB / 0.6864 GB, free: 2.332 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.978e-05/0.1592, allocations: 27.98 kB / 0.6864 GB, free: 2.305 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.207e-05/0.1593, allocations: 76.77 kB / 0.6865 GB, free: 2.227 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.1593, allocations: 0 / 0.6865 GB, free: 2.227 MB / 494.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.333e-05/0.1594, allocations: 93.61 kB / 0.6866 GB, free: 2.129 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/0.1594, allocations: 7.938 kB / 0.6866 GB, free: 2.121 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.1594, allocations: 0 / 0.6866 GB, free: 2.121 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.348e-06/0.1594, allocations: 384 / 0.6866 GB, free: 2.121 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.72e-07/0.1594, allocations: 4.062 kB / 0.6866 GB, free: 2.117 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/0.1594, allocations: 4 kB / 0.6866 GB, free: 2.113 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.522e-05/0.1594, allocations: 3.906 kB / 0.6866 GB, free: 2.109 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.536e-06/0.1595, allocations: 3.938 kB / 0.6866 GB, free: 2.105 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.189e-05/0.1595, allocations: 125.8 kB / 0.6867 GB, free: 1.973 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.078e-05/0.1595, allocations: 7.844 kB / 0.6867 GB, free: 1.965 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.276e-05/0.1596, allocations: 8.375 kB / 0.6867 GB, free: 1.953 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.892e-05/0.1596, allocations: 15.98 kB / 0.6867 GB, free: 1.938 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.1596, allocations: 4 kB / 0.6867 GB, free: 1.934 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.1596, allocations: 4 kB / 0.6867 GB, free: 1.93 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001201/0.1597, allocations: 173.6 kB / 0.6869 GB, free: 1.711 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.1597, allocations: 0 / 0.6869 GB, free: 1.711 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.81e-07/0.1597, allocations: 0 / 0.6869 GB, free: 1.711 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.556e-06/0.1597, allocations: 3.938 kB / 0.6869 GB, free: 1.707 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.099e-06/0.1598, allocations: 3.938 kB / 0.6869 GB, free: 1.703 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.1598, allocations: 4 kB / 0.6869 GB, free: 1.699 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1598, allocations: 0 / 0.6869 GB, free: 1.699 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001085/0.1599, allocations: 129 kB / 0.687 GB, free: 1.555 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.523e-05/0.1599, allocations: 92.94 kB / 0.6871 GB, free: 1.445 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.028e-05/0.1599, allocations: 0 / 0.6871 GB, free: 1.445 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.092e-05/0.16, allocations: 0 / 0.6871 GB, free: 1.445 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.015e-05/0.16, allocations: 3.984 kB / 0.6871 GB, free: 1.441 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.019e-06/0.16, allocations: 4 kB / 0.6871 GB, free: 1.438 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.162e-05/0.16, allocations: 99.27 kB / 0.6872 GB, free: 1.34 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.16, allocations: 0 / 0.6872 GB, free: 1.34 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002552/0.1603, allocations: 67.98 kB / 0.6873 GB, free: 1.273 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.0002694/0.1606, allocations: 179.2 kB / 0.6875 GB, free: 1.09 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 9.819e-05/0.1607, allocations: 71.91 kB / 0.6875 GB, free: 1.02 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.1607, allocations: 0 / 0.6875 GB, free: 1.02 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 3.052e-05/0.1607, allocations: 35.98 kB / 0.6876 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001313/0.1609, allocations: 7.281 kB / 0.6876 GB, free: 0.9805 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00027/0.1611, allocations: 190.2 kB / 0.6878 GB, free: 0.7656 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002051/0.1614, allocations: 0.7003 MB / 0.6884 GB, free: 40 kB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.044e-05/0.1614, allocations: 6.812 kB / 0.6885 GB, free: 36 kB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.322e-05/0.1614, allocations: 15.38 kB / 0.6885 GB, free: 20 kB / 494.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1614, allocations: 0 / 0.6885 GB, free: 20 kB / 494.1 MB Notification: Performance of Templates: time 0.2305/0.392, allocations: 1.47 MB / 0.6899 GB, free: 17.69 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe 2>&1)