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.006782/0.006782, allocations: 96.7 kB / 15.73 MB, free: 6.043 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.001666/0.001666, allocations: 196.1 kB / 16.67 MB, free: 5.969 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.347/1.347, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001988/0.001988, allocations: 286.6 kB / 290.8 MB, free: 1.895 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9776/0.9776, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00164/0.00164, allocations: 92.09 kB / 0.6815 GB, free: 15.45 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1473/0.1489, allocations: 86.97 MB / 0.7664 GB, free: 8.406 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors): time 0.002101/0.151, allocations: 1.245 MB / 0.7676 GB, free: 7.152 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001362/0.1524, allocations: 0.8895 MB / 0.7685 GB, free: 6.254 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.528e-05/0.1525, allocations: 0 / 0.7685 GB, free: 6.254 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.138e-05/0.1525, allocations: 4 kB / 0.7685 GB, free: 6.25 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001054/0.1526, allocations: 31.89 kB / 0.7685 GB, free: 6.219 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007706/0.1534, allocations: 242.5 kB / 0.7688 GB, free: 5.984 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 6.947e-05/0.1535, allocations: 27.95 kB / 0.7688 GB, free: 5.957 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.579e-05/0.1535, allocations: 4 kB / 0.7688 GB, free: 5.953 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.776e-05/0.1536, allocations: 15.98 kB / 0.7688 GB, free: 5.938 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001334/0.1537, allocations: 55.94 kB / 0.7689 GB, free: 5.883 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.859e-06/0.1537, allocations: 0 / 0.7689 GB, free: 5.883 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004309/0.1542, allocations: 287.5 kB / 0.7691 GB, free: 5.602 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.167e-05/0.1542, allocations: 19.92 kB / 0.7692 GB, free: 5.582 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.347e-05/0.1543, allocations: 11.88 kB / 0.7692 GB, free: 5.57 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003168/0.1546, allocations: 243.3 kB / 0.7694 GB, free: 5.332 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.1546, allocations: 0 / 0.7694 GB, free: 5.332 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.332e-06/0.1546, allocations: 4 kB / 0.7694 GB, free: 5.328 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.358e-06/0.1546, allocations: 0 / 0.7694 GB, free: 5.328 MB / 0.5606 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.0003778/0.155, allocations: 398.8 kB / 0.7698 GB, free: 4.891 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.442e-05/0.155, allocations: 8.031 kB / 0.7698 GB, free: 4.883 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.11e-05/0.1551, allocations: 8.891 kB / 0.7698 GB, free: 4.875 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001112/0.1552, allocations: 176.2 kB / 0.77 GB, free: 4.664 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.414e-06/0.1552, allocations: 384 / 0.77 GB, free: 4.664 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.043e-05/0.1552, allocations: 4.312 kB / 0.77 GB, free: 4.66 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001109/0.1553, allocations: 62 kB / 0.77 GB, free: 4.594 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.252e-06/0.1553, allocations: 4 kB / 0.77 GB, free: 4.59 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.137e-06/0.1554, allocations: 0 / 0.77 GB, free: 4.59 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.141e-05/0.1554, allocations: 11.98 kB / 0.7701 GB, free: 4.578 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.652e-05/0.1554, allocations: 27.98 kB / 0.7701 GB, free: 4.551 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001817/0.1556, allocations: 173.6 kB / 0.7702 GB, free: 4.332 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 6.204e-05/0.1557, allocations: 54.59 kB / 0.7703 GB, free: 4.27 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.713e-05/0.1557, allocations: 40.88 kB / 0.7703 GB, free: 4.227 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.097e-06/0.1557, allocations: 0 / 0.7703 GB, free: 4.227 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.971e-05/0.1558, allocations: 42.5 kB / 0.7704 GB, free: 4.176 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=10): time 8.12e-07/0.1558, allocations: 0 / 0.7704 GB, free: 4.176 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10): time 0.0001922/0.156, allocations: 133.6 kB / 0.7705 GB, free: 4.039 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.827e-05/0.156, allocations: 51.41 kB / 0.7706 GB, free: 3.977 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.711e-05/0.1561, allocations: 129.8 kB / 0.7707 GB, free: 3.84 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 9.598e-06/0.1561, allocations: 29.7 kB / 0.7707 GB, free: 3.805 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.233e-05/0.1562, allocations: 84.14 kB / 0.7708 GB, free: 3.719 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.858e-05/0.1562, allocations: 35.72 kB / 0.7708 GB, free: 3.684 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.801e-05/0.1562, allocations: 17.72 kB / 0.7708 GB, free: 3.66 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.123e-05/0.1563, allocations: 322.8 kB / 0.7711 GB, free: 3.336 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.938e-05/0.1564, allocations: 24 kB / 0.7712 GB, free: 3.312 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.923e-05/0.1564, allocations: 31.98 kB / 0.7712 GB, free: 3.281 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.684e-05/0.1565, allocations: 76.7 kB / 0.7713 GB, free: 3.203 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.1565, allocations: 0 / 0.7713 GB, free: 3.203 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001061/0.1566, allocations: 97.62 kB / 0.7714 GB, free: 3.102 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.1566, allocations: 7.938 kB / 0.7714 GB, free: 3.094 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.1566, allocations: 4.062 kB / 0.7714 GB, free: 3.09 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.1567, allocations: 4 kB / 0.7714 GB, free: 3.086 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.71e-07/0.1567, allocations: 0 / 0.7714 GB, free: 3.086 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.1567, allocations: 4.359 kB / 0.7714 GB, free: 3.082 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.642e-05/0.1567, allocations: 0 / 0.7714 GB, free: 3.082 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.22e-05/0.1567, allocations: 11.92 kB / 0.7714 GB, free: 3.07 MB / 0.5606 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.82e-05/0.1568, allocations: 114.5 kB / 0.7715 GB, free: 2.949 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.497e-05/0.1568, allocations: 23.81 kB / 0.7715 GB, free: 2.926 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.092e-05/0.1568, allocations: 4.375 kB / 0.7715 GB, free: 2.922 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.791e-05/0.1568, allocations: 16 kB / 0.7715 GB, free: 2.906 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.1569, allocations: 0 / 0.7715 GB, free: 2.906 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.075e-06/0.1569, allocations: 3.984 kB / 0.7715 GB, free: 2.902 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001284/0.157, allocations: 173.6 kB / 0.7717 GB, free: 2.684 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.157, allocations: 0 / 0.7717 GB, free: 2.684 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.41e-07/0.157, allocations: 0 / 0.7717 GB, free: 2.684 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.157, allocations: 3.938 kB / 0.7717 GB, free: 2.68 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.019e-06/0.157, allocations: 4 kB / 0.7717 GB, free: 2.676 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.341e-06/0.157, allocations: 3.984 kB / 0.7717 GB, free: 2.672 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.157, allocations: 0 / 0.7717 GB, free: 2.672 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001158/0.1572, allocations: 133 kB / 0.7719 GB, free: 2.523 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.92e-05/0.1572, allocations: 92.94 kB / 0.7719 GB, free: 2.414 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.038e-05/0.1572, allocations: 0 / 0.7719 GB, free: 2.414 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.099e-05/0.1572, allocations: 0 / 0.7719 GB, free: 2.414 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.433e-05/0.1573, allocations: 4 kB / 0.7719 GB, free: 2.41 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.068e-06/0.1573, allocations: 0 / 0.7719 GB, free: 2.41 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.357e-05/0.1573, allocations: 103.2 kB / 0.772 GB, free: 2.309 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1573, allocations: 0 / 0.772 GB, free: 2.309 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002754/0.1576, allocations: 71.91 kB / 0.7721 GB, free: 2.238 MB / 0.5606 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.0002894/0.1579, allocations: 181.4 kB / 0.7723 GB, free: 2.055 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001035/0.158, allocations: 63.92 kB / 0.7723 GB, free: 1.992 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.158, allocations: 4 kB / 0.7723 GB, free: 1.988 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 3.625e-05/0.1581, allocations: 35.98 kB / 0.7724 GB, free: 1.953 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001368/0.1582, allocations: 3.5 kB / 0.7724 GB, free: 1.953 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002923/0.1585, allocations: 202.2 kB / 0.7726 GB, free: 1.727 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002128/0.1587, allocations: 0.6924 MB / 0.7733 GB, free: 1.008 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.367e-05/0.1588, allocations: 5.969 kB / 0.7733 GB, free: 1.004 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.526e-05/0.1588, allocations: 15.44 kB / 0.7733 GB, free: 0.9883 MB / 0.5606 GB Notification: Performance of SimCode: time 3.2e-07/0.1588, allocations: 0 / 0.7733 GB, free: 0.9883 MB / 0.5606 GB Notification: Performance of Templates: time 0.3014/0.4602, allocations: 1.466 MB / 0.7747 GB, free: 14.57 MB / 0.5606 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)