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.001638/0.001638, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001759/0.001759, allocations: 197 kB / 16.14 MB, free: 6.715 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.44/1.44, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002542/0.002542, allocations: 279.1 kB / 290.2 MB, free: 2.211 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.108/1.108, allocations: 178.6 MB / 0.5068 GB, free: 4.762 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002712/0.002712, allocations: 99.23 kB / 0.6058 GB, free: 25.11 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1549/0.1576, allocations: 89.16 MB / 0.6928 GB, free: 4.77 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors): time 0.002586/0.1602, allocations: 1.296 MB / 0.6941 GB, free: 3.469 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00162/0.1619, allocations: 0.9245 MB / 0.695 GB, free: 2.539 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.452e-05/0.1619, allocations: 0 / 0.695 GB, free: 2.539 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.952e-05/0.162, allocations: 0.625 kB / 0.695 GB, free: 2.539 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000109/0.1621, allocations: 31.95 kB / 0.695 GB, free: 2.508 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006495/0.1627, allocations: 199.9 kB / 0.6952 GB, free: 2.316 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.373e-05/0.1628, allocations: 28.62 kB / 0.6953 GB, free: 2.289 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.657e-05/0.1629, allocations: 4 kB / 0.6953 GB, free: 2.285 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.444e-05/0.1629, allocations: 22.44 kB / 0.6953 GB, free: 2.266 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000159/0.1631, allocations: 51.83 kB / 0.6953 GB, free: 2.215 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.093e-05/0.1631, allocations: 0 / 0.6953 GB, free: 2.215 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004644/0.1635, allocations: 277.4 kB / 0.6956 GB, free: 1.945 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.164e-05/0.1636, allocations: 15.98 kB / 0.6956 GB, free: 1.93 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.118e-05/0.1637, allocations: 19.75 kB / 0.6956 GB, free: 1.91 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003692/0.164, allocations: 251.7 kB / 0.6959 GB, free: 1.664 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.164, allocations: 4.656 kB / 0.6959 GB, free: 1.66 MB / 494.1 MB Notification: Performance of FrontEnd: time 7.62e-07/0.164, allocations: 0 / 0.6959 GB, free: 1.66 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.607e-06/0.1641, allocations: 4 kB / 0.6959 GB, free: 1.656 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.0004414/0.1645, allocations: 381 kB / 0.6962 GB, free: 1.238 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.1645, allocations: 8.031 kB / 0.6963 GB, free: 1.23 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.208e-05/0.1646, allocations: 8.844 kB / 0.6963 GB, free: 1.223 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001454/0.1647, allocations: 176.2 kB / 0.6964 GB, free: 1.012 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.498e-06/0.1648, allocations: 384 / 0.6964 GB, free: 1.012 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.268e-06/0.1648, allocations: 384 / 0.6964 GB, free: 1.012 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001226/0.1649, allocations: 65.94 kB / 0.6965 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.183e-06/0.1649, allocations: 0 / 0.6965 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.085e-06/0.1649, allocations: 4 kB / 0.6965 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.402e-05/0.165, allocations: 11.98 kB / 0.6965 GB, free: 0.9258 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.402e-05/0.165, allocations: 31.98 kB / 0.6965 GB, free: 0.8945 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002162/0.1652, allocations: 169.5 kB / 0.6967 GB, free: 0.6797 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.507e-05/0.1653, allocations: 54.59 kB / 0.6968 GB, free: 0.6172 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.628e-05/0.1654, allocations: 40.88 kB / 0.6968 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.993e-06/0.1654, allocations: 3.938 kB / 0.6968 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.475e-05/0.1654, allocations: 42.5 kB / 0.6968 GB, free: 0.5195 MB / 494.1 MB Notification: Performance of pre-optimization done (n=10): time 1.112e-06/0.1654, allocations: 0 / 0.6968 GB, free: 0.5195 MB / 494.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002137/0.1657, allocations: 129.6 kB / 0.697 GB, free: 396 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.016e-05/0.1657, allocations: 55.41 kB / 0.697 GB, free: 328 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001179/0.1658, allocations: 129.8 kB / 0.6971 GB, free: 188 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.528e-05/0.1658, allocations: 25.7 kB / 0.6972 GB, free: 156 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.747e-05/0.1659, allocations: 84.14 kB / 0.6972 GB, free: 68 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.308e-05/0.166, allocations: 31.55 kB / 0.6973 GB, free: 36 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.618e-05/0.166, allocations: 21.75 kB / 0.6973 GB, free: 8 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000149/0.1661, allocations: 318.9 kB / 0.6976 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.605e-05/0.1662, allocations: 28 kB / 0.6976 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.95e-05/0.1662, allocations: 27.98 kB / 0.6977 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.849e-05/0.1663, allocations: 77.08 kB / 0.6977 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.1663, allocations: 0 / 0.6977 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001171/0.1665, allocations: 93.58 kB / 0.6978 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.1665, allocations: 11.94 kB / 0.6978 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.1665, allocations: 3.938 kB / 0.6978 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.1665, allocations: 4.062 kB / 0.6978 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.11e-07/0.1665, allocations: 0 / 0.6978 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.072e-06/0.1665, allocations: 3.984 kB / 0.6978 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.566e-05/0.1665, allocations: 0 / 0.6978 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.109e-05/0.1666, allocations: 4 kB / 0.6978 GB, free: 15.43 MB / 0.4981 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 9.656e-05/0.1667, allocations: 126.4 kB / 0.698 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.629e-05/0.1667, allocations: 11.84 kB / 0.698 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.349e-05/0.1667, allocations: 8.375 kB / 0.698 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.156e-05/0.1667, allocations: 11.98 kB / 0.698 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.1667, allocations: 4 kB / 0.698 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.884e-06/0.1667, allocations: 0 / 0.698 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000164/0.1669, allocations: 169.6 kB / 0.6982 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.1669, allocations: 3.984 kB / 0.6982 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.285e-06/0.1669, allocations: 4 kB / 0.6982 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.025e-06/0.1669, allocations: 7.922 kB / 0.6982 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.701e-06/0.1669, allocations: 3.938 kB / 0.6982 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.065e-06/0.167, allocations: 4 kB / 0.6982 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.167, allocations: 0 / 0.6982 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001593/0.1671, allocations: 133 kB / 0.6983 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.823e-05/0.1672, allocations: 84.95 kB / 0.6984 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.068e-05/0.1672, allocations: 0 / 0.6984 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.133e-05/0.1672, allocations: 0 / 0.6984 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.011e-05/0.1672, allocations: 4 kB / 0.6984 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.663e-06/0.1672, allocations: 3.984 kB / 0.6984 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.93e-05/0.1673, allocations: 107.6 kB / 0.6985 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.51e-07/0.1673, allocations: 3.938 kB / 0.6985 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003139/0.1676, allocations: 64 kB / 0.6986 GB, free: 14.59 MB / 0.4981 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.0003416/0.168, allocations: 179.2 kB / 0.6987 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001134/0.1681, allocations: 67.92 kB / 0.6988 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1681, allocations: 0 / 0.6988 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.049e-05/0.1682, allocations: 35.98 kB / 0.6988 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001416/0.1683, allocations: 2.25 kB / 0.6988 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003693/0.1687, allocations: 227.8 kB / 0.6991 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003102/0.169, allocations: 0.6965 MB / 0.6997 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.937e-05/0.1691, allocations: 8 kB / 0.6997 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.754e-05/0.1691, allocations: 11.44 kB / 0.6998 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of SimCode: time 2.41e-07/0.1691, allocations: 0 / 0.6998 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of Templates: time 0.004321/0.1734, allocations: 1.465 MB / 0.7012 GB, free: 11.9 MB / 0.4981 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)