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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.8159/0.8159, allocations: 143.4 MB / 159.2 MB, free: 4.879 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001155/0.001155, allocations: 184.5 kB / 191.9 MB, free: 5.715 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.363/1.363, allocations: 222.9 MB / 447.3 MB, free: 5.848 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001056/0.001056, allocations: 115.3 kB / 0.517 GB, free: 3.723 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001853/0.001853, allocations: 294.4 kB / 0.5973 GB, free: 49.38 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001447/0.001447, allocations: 79.89 kB / 0.6886 GB, free: 3.82 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3295/0.331, allocations: 81.3 MB / 0.768 GB, free: 27.69 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors): time 0.001948/0.333, allocations: 1.314 MB / 0.7692 GB, free: 26.36 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.00112/0.3341, allocations: 0.9138 MB / 0.7701 GB, free: 25.45 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.477e-05/0.3341, allocations: 0 / 0.7701 GB, free: 25.45 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 3.271e-05/0.3342, allocations: 7.984 kB / 0.7701 GB, free: 25.44 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 9.68e-05/0.3343, allocations: 23.97 kB / 0.7702 GB, free: 25.41 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000541/0.3348, allocations: 191.6 kB / 0.7703 GB, free: 25.23 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 5.511e-05/0.3349, allocations: 35.95 kB / 0.7704 GB, free: 25.19 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.11e-05/0.3349, allocations: 4 kB / 0.7704 GB, free: 25.19 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.669e-05/0.335, allocations: 19.91 kB / 0.7704 GB, free: 25.17 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001158/0.3351, allocations: 55.89 kB / 0.7705 GB, free: 25.11 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 9.147e-06/0.3351, allocations: 0 / 0.7705 GB, free: 25.11 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003086/0.3354, allocations: 279.6 kB / 0.7707 GB, free: 24.84 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 3.57e-05/0.3355, allocations: 15.98 kB / 0.7707 GB, free: 24.82 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 2.332e-05/0.3355, allocations: 19.81 kB / 0.7708 GB, free: 24.8 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002377/0.3357, allocations: 242.2 kB / 0.771 GB, free: 24.57 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.3357, allocations: 0 / 0.771 GB, free: 24.57 MB / 458.7 MB Notification: Performance of FrontEnd: time 7.91e-07/0.3357, allocations: 0 / 0.771 GB, free: 24.57 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.647e-06/0.3357, allocations: 0 / 0.771 GB, free: 24.57 MB / 458.7 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.0003072/0.3361, allocations: 387.3 kB / 0.7714 GB, free: 24.14 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/0.3361, allocations: 12.03 kB / 0.7714 GB, free: 24.13 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.153e-05/0.3361, allocations: 8.828 kB / 0.7714 GB, free: 24.12 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.867e-05/0.3362, allocations: 180.1 kB / 0.7715 GB, free: 23.91 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.688e-06/0.3362, allocations: 4.359 kB / 0.7716 GB, free: 23.91 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.484e-06/0.3363, allocations: 384 / 0.7716 GB, free: 23.91 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.813e-05/0.3363, allocations: 62 kB / 0.7716 GB, free: 23.84 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-06/0.3364, allocations: 0 / 0.7716 GB, free: 23.84 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.023e-06/0.3364, allocations: 4 kB / 0.7716 GB, free: 23.84 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.756e-05/0.3364, allocations: 15.98 kB / 0.7716 GB, free: 23.82 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.803e-05/0.3364, allocations: 23.98 kB / 0.7717 GB, free: 23.8 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001408/0.3366, allocations: 173.6 kB / 0.7718 GB, free: 23.58 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.131e-05/0.3366, allocations: 50.59 kB / 0.7719 GB, free: 23.52 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.649e-05/0.3367, allocations: 36.84 kB / 0.7719 GB, free: 23.48 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.018e-06/0.3367, allocations: 0 / 0.7719 GB, free: 23.48 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.257e-05/0.3367, allocations: 42.44 kB / 0.7719 GB, free: 23.43 MB / 458.7 MB Notification: Performance of pre-optimization done (n=10): time 1.052e-06/0.3367, allocations: 3.938 kB / 0.7719 GB, free: 23.43 MB / 458.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001521/0.3369, allocations: 137.7 kB / 0.7721 GB, free: 23.29 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.552e-05/0.3369, allocations: 51.41 kB / 0.7721 GB, free: 23.22 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.9e-05/0.337, allocations: 125.8 kB / 0.7722 GB, free: 23.09 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 5.49e-06/0.337, allocations: 25.7 kB / 0.7723 GB, free: 23.06 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.111e-05/0.337, allocations: 92.12 kB / 0.7724 GB, free: 22.96 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.089e-05/0.337, allocations: 31.47 kB / 0.7724 GB, free: 22.93 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.447e-05/0.3371, allocations: 17.73 kB / 0.7724 GB, free: 22.91 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 4.041e-05/0.3371, allocations: 326.8 kB / 0.7727 GB, free: 22.58 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.35e-05/0.3371, allocations: 27.98 kB / 0.7727 GB, free: 22.55 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.913e-05/0.3372, allocations: 23.98 kB / 0.7728 GB, free: 22.53 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.014e-05/0.3372, allocations: 72.77 kB / 0.7728 GB, free: 22.46 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.3372, allocations: 0 / 0.7728 GB, free: 22.46 MB / 458.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.783e-05/0.3373, allocations: 105.5 kB / 0.7729 GB, free: 22.35 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.126e-05/0.3373, allocations: 9.344 kB / 0.7729 GB, free: 22.34 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.3373, allocations: 384 / 0.7729 GB, free: 22.34 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.022e-05/0.3374, allocations: 64 / 0.7729 GB, free: 22.34 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.92e-07/0.3374, allocations: 4 kB / 0.7729 GB, free: 22.34 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.108e-06/0.3374, allocations: 0 / 0.7729 GB, free: 22.34 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.629e-05/0.3374, allocations: 11.88 kB / 0.773 GB, free: 22.32 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.107e-06/0.3374, allocations: 0 / 0.773 GB, free: 22.32 MB / 458.7 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 5.19e-05/0.3375, allocations: 126.9 kB / 0.7731 GB, free: 22.19 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.458e-06/0.3375, allocations: 7.844 kB / 0.7731 GB, free: 22.18 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.167e-05/0.3375, allocations: 16.36 kB / 0.7731 GB, free: 22.17 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-05/0.3375, allocations: 8 kB / 0.7731 GB, free: 22.16 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.3375, allocations: 0 / 0.7731 GB, free: 22.16 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.786e-06/0.3375, allocations: 8 kB / 0.7731 GB, free: 22.15 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.622e-05/0.3376, allocations: 173.6 kB / 0.7733 GB, free: 21.93 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.3376, allocations: 4 kB / 0.7733 GB, free: 21.93 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.9e-07/0.3376, allocations: 0 / 0.7733 GB, free: 21.93 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.3376, allocations: 3.938 kB / 0.7733 GB, free: 21.93 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.939e-06/0.3376, allocations: 0 / 0.7733 GB, free: 21.93 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.3377, allocations: 0 / 0.7733 GB, free: 21.93 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.3377, allocations: 3.938 kB / 0.7733 GB, free: 21.92 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002356/0.3379, allocations: 0.7253 MB / 0.774 GB, free: 21.14 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.099e-05/0.3379, allocations: 85.02 kB / 0.7741 GB, free: 21.04 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.022e-05/0.3379, allocations: 0 / 0.7741 GB, free: 21.04 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.11e-05/0.338, allocations: 0 / 0.7741 GB, free: 21.04 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.481e-05/0.338, allocations: 0 / 0.7741 GB, free: 21.04 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.429e-06/0.338, allocations: 4 kB / 0.7741 GB, free: 21.03 MB / 458.7 MB Notification: Performance of sorting global known variables: time 3.481e-05/0.338, allocations: 99.27 kB / 0.7742 GB, free: 20.93 MB / 458.7 MB Notification: Performance of sort global known variables: time 1e-07/0.338, allocations: 0 / 0.7742 GB, free: 20.93 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003627/0.3384, allocations: 83.95 kB / 0.7743 GB, free: 20.85 MB / 458.7 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.0002537/0.3387, allocations: 167.7 kB / 0.7744 GB, free: 20.68 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 8.85e-05/0.3388, allocations: 67.97 kB / 0.7745 GB, free: 20.61 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.3388, allocations: 0 / 0.7745 GB, free: 20.61 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 2.406e-05/0.3388, allocations: 39.92 kB / 0.7745 GB, free: 20.57 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000135/0.3389, allocations: 3.047 kB / 0.7745 GB, free: 20.57 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003167/0.3393, allocations: 346.9 kB / 0.7749 GB, free: 20.19 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.883e-05/0.3394, allocations: 0.7004 MB / 0.7755 GB, free: 19.46 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 3.572e-05/0.3394, allocations: 15.92 kB / 0.7756 GB, free: 19.45 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.09e-05/0.3394, allocations: 7.438 kB / 0.7756 GB, free: 19.44 MB / 458.7 MB Notification: Performance of SimCode: time 2.31e-07/0.3394, allocations: 0 / 0.7756 GB, free: 19.44 MB / 458.7 MB Notification: Performance of Templates: time 0.003139/0.3426, allocations: 1.462 MB / 0.777 GB, free: 18.03 MB / 458.7 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)