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.001059/0.001059, allocations: 114.3 kB / 16.37 MB, free: 6.016 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.001027/0.001027, allocations: 195.1 kB / 17.3 MB, free: 5.613 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.277/1.277, 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.00211/0.00211, allocations: 283.7 kB / 291.4 MB, free: 14.5 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9199/0.9199, allocations: 169.3 MB / 0.4989 GB, free: 4.469 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001727/0.001727, allocations: 98.61 kB / 0.5967 GB, free: 14.41 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1454/0.1471, allocations: 86.98 MB / 0.6817 GB, free: 7.426 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors): time 0.002127/0.1493, allocations: 1.242 MB / 0.6829 GB, free: 6.176 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001295/0.1506, allocations: 0.8851 MB / 0.6837 GB, free: 5.281 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.014e-05/0.1506, allocations: 0 / 0.6837 GB, free: 5.281 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.705e-05/0.1507, allocations: 0 / 0.6837 GB, free: 5.281 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 9.783e-05/0.1508, allocations: 27.95 kB / 0.6838 GB, free: 5.254 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006873/0.1515, allocations: 244.2 kB / 0.684 GB, free: 5.016 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.605e-05/0.1516, allocations: 31.95 kB / 0.684 GB, free: 4.984 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.218e-05/0.1516, allocations: 0 / 0.684 GB, free: 4.984 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.386e-05/0.1516, allocations: 19.92 kB / 0.684 GB, free: 4.965 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001229/0.1518, allocations: 47.88 kB / 0.6841 GB, free: 4.918 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.596e-06/0.1518, allocations: 4 kB / 0.6841 GB, free: 4.914 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003903/0.1522, allocations: 291.5 kB / 0.6844 GB, free: 4.629 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.619e-05/0.1522, allocations: 11.98 kB / 0.6844 GB, free: 4.617 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.838e-05/0.1523, allocations: 19.81 kB / 0.6844 GB, free: 4.598 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002899/0.1526, allocations: 239.4 kB / 0.6846 GB, free: 4.363 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.72e-06/0.1526, allocations: 4 kB / 0.6846 GB, free: 4.359 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.1526, allocations: 4 kB / 0.6846 GB, free: 4.355 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.13e-06/0.1526, allocations: 0 / 0.6846 GB, free: 4.355 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.0003501/0.1529, allocations: 387.2 kB / 0.685 GB, free: 3.93 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.103e-05/0.153, allocations: 12.03 kB / 0.685 GB, free: 3.918 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.357e-05/0.153, allocations: 8.844 kB / 0.685 GB, free: 3.91 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001082/0.1531, allocations: 176.2 kB / 0.6852 GB, free: 3.699 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.027e-06/0.1532, allocations: 384 / 0.6852 GB, free: 3.699 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.566e-06/0.1532, allocations: 384 / 0.6852 GB, free: 3.699 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001142/0.1533, allocations: 62 kB / 0.6852 GB, free: 3.633 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.73e-06/0.1533, allocations: 0 / 0.6852 GB, free: 3.633 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.466e-06/0.1533, allocations: 3.984 kB / 0.6853 GB, free: 3.629 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.11e-05/0.1533, allocations: 15.98 kB / 0.6853 GB, free: 3.613 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.803e-05/0.1534, allocations: 31.98 kB / 0.6853 GB, free: 3.582 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001714/0.1536, allocations: 169.6 kB / 0.6855 GB, free: 3.367 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.923e-05/0.1536, allocations: 50.56 kB / 0.6855 GB, free: 3.309 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.713e-05/0.1537, allocations: 40.88 kB / 0.6855 GB, free: 3.266 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.74e-06/0.1537, allocations: 3.938 kB / 0.6855 GB, free: 3.262 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.737e-05/0.1537, allocations: 34.5 kB / 0.6856 GB, free: 3.219 MB / 494.1 MB Notification: Performance of pre-optimization done (n=10): time 1.112e-06/0.1537, allocations: 0 / 0.6856 GB, free: 3.219 MB / 494.1 MB Notification: Performance of matching and sorting (n=10): time 0.0001813/0.1539, allocations: 133.7 kB / 0.6857 GB, free: 3.082 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.775e-05/0.1539, allocations: 59.44 kB / 0.6858 GB, free: 3.012 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.622e-05/0.154, allocations: 129.8 kB / 0.6859 GB, free: 2.875 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.035e-05/0.1541, allocations: 25.7 kB / 0.6859 GB, free: 2.844 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.386e-05/0.1541, allocations: 84.14 kB / 0.686 GB, free: 2.758 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.345e-05/0.1541, allocations: 35.45 kB / 0.686 GB, free: 2.723 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.763e-05/0.1542, allocations: 17.72 kB / 0.686 GB, free: 2.699 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.771e-05/0.1543, allocations: 318.8 kB / 0.6863 GB, free: 2.379 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.838e-05/0.1543, allocations: 28 kB / 0.6864 GB, free: 2.352 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.693e-05/0.1543, allocations: 40.14 kB / 0.6864 GB, free: 2.312 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.689e-05/0.1544, allocations: 68.83 kB / 0.6865 GB, free: 2.242 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.1544, allocations: 0 / 0.6865 GB, free: 2.242 MB / 494.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.673e-05/0.1545, allocations: 93.61 kB / 0.6866 GB, free: 2.145 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.1545, allocations: 11.94 kB / 0.6866 GB, free: 2.133 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.1546, allocations: 0 / 0.6866 GB, free: 2.133 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.738e-06/0.1546, allocations: 0 / 0.6866 GB, free: 2.133 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.81e-07/0.1546, allocations: 0 / 0.6866 GB, free: 2.133 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.777e-06/0.1546, allocations: 0 / 0.6866 GB, free: 2.133 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.771e-05/0.1546, allocations: 7.969 kB / 0.6866 GB, free: 2.125 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.173e-05/0.1546, allocations: 7.984 kB / 0.6866 GB, free: 2.117 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.255e-05/0.1547, allocations: 117.8 kB / 0.6867 GB, free: 1.992 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.381e-05/0.1547, allocations: 15.83 kB / 0.6867 GB, free: 1.977 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.336e-05/0.1547, allocations: 8.375 kB / 0.6867 GB, free: 1.965 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.596e-05/0.1548, allocations: 8 kB / 0.6867 GB, free: 1.957 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.1548, allocations: 7.969 kB / 0.6867 GB, free: 1.949 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.954e-06/0.1548, allocations: 0 / 0.6867 GB, free: 1.949 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001252/0.1549, allocations: 169.6 kB / 0.6869 GB, free: 1.734 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.1549, allocations: 4 kB / 0.6869 GB, free: 1.73 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.803e-06/0.1549, allocations: 4 kB / 0.6869 GB, free: 1.727 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.389e-06/0.1549, allocations: 3.938 kB / 0.6869 GB, free: 1.723 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.34e-06/0.1549, allocations: 3.938 kB / 0.6869 GB, free: 1.719 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.235e-06/0.1549, allocations: 3.984 kB / 0.6869 GB, free: 1.715 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1549, allocations: 0 / 0.6869 GB, free: 1.715 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001133/0.1551, allocations: 133 kB / 0.6871 GB, free: 1.566 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.842e-05/0.1551, allocations: 88.95 kB / 0.6871 GB, free: 1.461 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.049e-05/0.1551, allocations: 0 / 0.6871 GB, free: 1.461 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.106e-05/0.1551, allocations: 4.031 kB / 0.6871 GB, free: 1.457 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.632e-05/0.1552, allocations: 8 kB / 0.6872 GB, free: 1.449 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.927e-06/0.1552, allocations: 0 / 0.6872 GB, free: 1.449 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.299e-05/0.1552, allocations: 103.2 kB / 0.6872 GB, free: 1.348 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1552, allocations: 4 kB / 0.6873 GB, free: 1.344 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002883/0.1555, allocations: 60 kB / 0.6873 GB, free: 1.285 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.0002817/0.1558, allocations: 179.1 kB / 0.6875 GB, free: 1.102 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001093/0.1559, allocations: 71.92 kB / 0.6875 GB, free: 1.031 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.1559, allocations: 0 / 0.6875 GB, free: 1.031 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 3.179e-05/0.156, allocations: 35.98 kB / 0.6876 GB, free: 0.9961 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001409/0.1561, allocations: 0.9375 kB / 0.6876 GB, free: 0.9961 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003124/0.1564, allocations: 198.2 kB / 0.6878 GB, free: 0.7734 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002305/0.1567, allocations: 0.6924 MB / 0.6885 GB, free: 56 kB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.419e-05/0.1567, allocations: 8.125 kB / 0.6885 GB, free: 48 kB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.132e-05/0.1568, allocations: 7.438 kB / 0.6885 GB, free: 40 kB / 494.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1568, allocations: 0 / 0.6885 GB, free: 40 kB / 494.1 MB Notification: Performance of Templates: time 0.2345/0.3912, allocations: 1.474 MB / 0.6899 GB, free: 17.7 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 gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe 2>&1)