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.001501/0.001501, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001761/0.001761, allocations: 192.2 kB / 16.13 MB, free: 6.664 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.312/1.312, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002012/0.002012, allocations: 279 kB / 290.2 MB, free: 2.195 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9219/0.9219, allocations: 169.2 MB / 0.4977 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001578/0.001578, allocations: 91.92 kB / 0.5945 GB, free: 28.28 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1318/0.1334, allocations: 86.99 MB / 0.6795 GB, free: 1.148 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors): time 0.002013/0.1355, allocations: 1.298 MB / 0.6807 GB, free: 15.85 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001273/0.1367, allocations: 0.9174 MB / 0.6816 GB, free: 14.93 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.389e-05/0.1368, allocations: 1.719 kB / 0.6816 GB, free: 14.93 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.926e-05/0.1368, allocations: 0 / 0.6816 GB, free: 14.93 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 9.666e-05/0.1369, allocations: 31.95 kB / 0.6817 GB, free: 14.89 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005434/0.1375, allocations: 192.9 kB / 0.6819 GB, free: 14.71 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.722e-05/0.1375, allocations: 35.95 kB / 0.6819 GB, free: 14.67 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.055e-05/0.1376, allocations: 0.875 kB / 0.6819 GB, free: 14.67 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.979e-05/0.1376, allocations: 19.92 kB / 0.6819 GB, free: 14.65 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001195/0.1377, allocations: 49.97 kB / 0.682 GB, free: 14.61 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.476e-06/0.1377, allocations: 0.6562 kB / 0.682 GB, free: 14.61 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003643/0.1381, allocations: 279.5 kB / 0.6822 GB, free: 14.33 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.803e-05/0.1382, allocations: 27.92 kB / 0.6823 GB, free: 14.3 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.804e-05/0.1382, allocations: 11.88 kB / 0.6823 GB, free: 14.29 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002918/0.1385, allocations: 247.7 kB / 0.6825 GB, free: 14.05 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.1385, allocations: 3.938 kB / 0.6825 GB, free: 14.05 MB / 494.1 MB Notification: Performance of FrontEnd: time 8.11e-07/0.1385, allocations: 0 / 0.6825 GB, free: 14.05 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.943e-06/0.1385, allocations: 4 kB / 0.6825 GB, free: 14.04 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.000325/0.1388, allocations: 383.3 kB / 0.6829 GB, free: 13.62 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.901e-05/0.1389, allocations: 11.97 kB / 0.6829 GB, free: 13.61 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.871e-05/0.1389, allocations: 8.844 kB / 0.6829 GB, free: 13.6 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001011/0.139, allocations: 172.2 kB / 0.6831 GB, free: 13.39 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.632e-06/0.139, allocations: 4.375 kB / 0.6831 GB, free: 13.39 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.077e-06/0.1391, allocations: 384 / 0.6831 GB, free: 13.39 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001011/0.1392, allocations: 65.98 kB / 0.6831 GB, free: 13.32 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.911e-06/0.1392, allocations: 0 / 0.6831 GB, free: 13.32 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.572e-06/0.1392, allocations: 0 / 0.6831 GB, free: 13.32 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.137e-05/0.1392, allocations: 8 kB / 0.6831 GB, free: 13.31 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.077e-05/0.1393, allocations: 23.98 kB / 0.6832 GB, free: 13.29 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001713/0.1394, allocations: 181.5 kB / 0.6833 GB, free: 13.06 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.496e-05/0.1395, allocations: 50.58 kB / 0.6834 GB, free: 13 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.607e-05/0.1395, allocations: 40.88 kB / 0.6834 GB, free: 12.96 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.69e-06/0.1395, allocations: 0 / 0.6834 GB, free: 12.96 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.059e-05/0.1396, allocations: 34.5 kB / 0.6835 GB, free: 12.92 MB / 494.1 MB Notification: Performance of pre-optimization done (n=10): time 2.064e-06/0.1396, allocations: 3.984 kB / 0.6835 GB, free: 12.91 MB / 494.1 MB Notification: Performance of matching and sorting (n=10): time 0.0001776/0.1398, allocations: 133.7 kB / 0.6836 GB, free: 12.78 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.483e-05/0.1398, allocations: 51.41 kB / 0.6836 GB, free: 12.71 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.486e-05/0.1399, allocations: 137.9 kB / 0.6838 GB, free: 12.57 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 9.898e-06/0.1399, allocations: 25.7 kB / 0.6838 GB, free: 12.54 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.372e-05/0.14, allocations: 88.12 kB / 0.6839 GB, free: 12.45 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.457e-05/0.14, allocations: 39.39 kB / 0.6839 GB, free: 12.41 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.663e-05/0.14, allocations: 13.72 kB / 0.6839 GB, free: 12.39 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.064e-05/0.1401, allocations: 322.8 kB / 0.6842 GB, free: 12.07 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.904e-05/0.1402, allocations: 27.98 kB / 0.6843 GB, free: 12.04 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.322e-05/0.1402, allocations: 24 kB / 0.6843 GB, free: 12.02 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.826e-05/0.1403, allocations: 85.09 kB / 0.6844 GB, free: 11.93 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.1403, allocations: 0 / 0.6844 GB, free: 11.93 MB / 494.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.75e-05/0.1404, allocations: 97.53 kB / 0.6845 GB, free: 11.83 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.1404, allocations: 11.92 kB / 0.6845 GB, free: 11.82 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.1404, allocations: 0 / 0.6845 GB, free: 11.82 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.556e-06/0.1404, allocations: 4 kB / 0.6845 GB, free: 11.81 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.7e-07/0.1404, allocations: 0 / 0.6845 GB, free: 11.81 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.577e-06/0.1404, allocations: 0 / 0.6845 GB, free: 11.81 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.455e-05/0.1404, allocations: 0 / 0.6845 GB, free: 11.81 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.999e-06/0.1405, allocations: 4 kB / 0.6845 GB, free: 11.81 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 6.664e-05/0.1405, allocations: 122.5 kB / 0.6846 GB, free: 11.68 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.552e-05/0.1405, allocations: 11.84 kB / 0.6846 GB, free: 11.67 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.129e-05/0.1406, allocations: 8.375 kB / 0.6846 GB, free: 11.66 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-05/0.1406, allocations: 15.98 kB / 0.6846 GB, free: 11.64 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.1406, allocations: 0 / 0.6846 GB, free: 11.64 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.794e-06/0.1406, allocations: 0 / 0.6846 GB, free: 11.64 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001261/0.1407, allocations: 173.6 kB / 0.6848 GB, free: 11.43 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.1407, allocations: 4 kB / 0.6848 GB, free: 11.42 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.01e-07/0.1408, allocations: 0 / 0.6848 GB, free: 11.42 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.1408, allocations: 7.938 kB / 0.6848 GB, free: 11.41 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.23e-06/0.1408, allocations: 4 kB / 0.6848 GB, free: 11.41 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.12e-07/0.1408, allocations: 0 / 0.6848 GB, free: 11.41 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.1408, allocations: 0 / 0.6848 GB, free: 11.41 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001077/0.1409, allocations: 121 kB / 0.6849 GB, free: 11.27 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.48e-05/0.1409, allocations: 88.95 kB / 0.685 GB, free: 11.17 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.114e-05/0.141, allocations: 7.922 kB / 0.685 GB, free: 11.16 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.106e-05/0.141, allocations: 0 / 0.685 GB, free: 11.16 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.336e-05/0.141, allocations: 4 kB / 0.685 GB, free: 11.16 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.857e-06/0.141, allocations: 4.031 kB / 0.685 GB, free: 11.15 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.198e-05/0.1411, allocations: 107.2 kB / 0.6851 GB, free: 11.05 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1411, allocations: 0 / 0.6851 GB, free: 11.05 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002759/0.1413, allocations: 75.97 kB / 0.6852 GB, free: 10.97 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.0002818/0.1416, allocations: 172.1 kB / 0.6854 GB, free: 10.8 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 9.586e-05/0.1417, allocations: 67.91 kB / 0.6854 GB, free: 10.73 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.1417, allocations: 0 / 0.6854 GB, free: 10.73 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 3.077e-05/0.1418, allocations: 36.06 kB / 0.6855 GB, free: 10.7 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001359/0.1419, allocations: 4 kB / 0.6855 GB, free: 10.69 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002826/0.1422, allocations: 211.8 kB / 0.6857 GB, free: 10.46 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000207/0.1424, allocations: 0.6965 MB / 0.6863 GB, free: 9.734 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.811e-05/0.1425, allocations: 9.469 kB / 0.6864 GB, free: 9.727 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.414e-05/0.1425, allocations: 11.44 kB / 0.6864 GB, free: 9.715 MB / 494.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1425, allocations: 4 kB / 0.6864 GB, free: 9.711 MB / 494.1 MB Notification: Performance of Templates: time 0.003355/0.1459, allocations: 1.473 MB / 0.6878 GB, free: 8.289 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)