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.001588/0.001595, allocations: 101.1 kB / 16.27 MB, free: 5.965 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.001528/0.001528, allocations: 191.9 kB / 17.2 MB, free: 5.59 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.405/1.405, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002445/0.002445, allocations: 274.9 kB / 291.3 MB, free: 14.56 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.191/1.191, allocations: 178.5 MB / 0.5079 GB, free: 12.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002701/0.002701, allocations: 103.8 kB / 0.6072 GB, free: 9.25 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1927/0.1954, allocations: 89.13 MB / 0.6942 GB, free: 40 kB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors): time 0.002577/0.1981, allocations: 1.253 MB / 0.6954 GB, free: 14.77 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001496/0.1996, allocations: 0.8791 MB / 0.6963 GB, free: 13.88 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.428e-05/0.1996, allocations: 4 kB / 0.6963 GB, free: 13.88 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.082e-05/0.1997, allocations: 0 / 0.6963 GB, free: 13.88 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.000112/0.1998, allocations: 31.95 kB / 0.6963 GB, free: 13.85 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007401/0.2005, allocations: 247.4 kB / 0.6966 GB, free: 13.61 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.124e-05/0.2006, allocations: 23.92 kB / 0.6966 GB, free: 13.58 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.169e-05/0.2007, allocations: 3.984 kB / 0.6966 GB, free: 13.58 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.714e-05/0.2007, allocations: 23.97 kB / 0.6966 GB, free: 13.55 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001565/0.2009, allocations: 51.89 kB / 0.6966 GB, free: 13.5 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.063e-05/0.2009, allocations: 0 / 0.6966 GB, free: 13.5 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000412/0.2013, allocations: 275.6 kB / 0.6969 GB, free: 13.23 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.462e-05/0.2014, allocations: 15.98 kB / 0.6969 GB, free: 13.22 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.193e-05/0.2014, allocations: 23.81 kB / 0.6969 GB, free: 13.2 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003221/0.2017, allocations: 239.7 kB / 0.6972 GB, free: 12.96 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.2017, allocations: 4 kB / 0.6972 GB, free: 12.96 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.743e-06/0.2017, allocations: 0 / 0.6972 GB, free: 12.96 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.2018, allocations: 0 / 0.6972 GB, free: 12.96 MB / 0.545 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.0004277/0.2022, allocations: 383.2 kB / 0.6975 GB, free: 12.54 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.2022, allocations: 12.03 kB / 0.6976 GB, free: 12.52 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.014e-05/0.2023, allocations: 8.781 kB / 0.6976 GB, free: 12.52 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001412/0.2024, allocations: 168.3 kB / 0.6977 GB, free: 12.31 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.2024, allocations: 4.359 kB / 0.6977 GB, free: 12.31 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.963e-06/0.2024, allocations: 384 / 0.6977 GB, free: 12.31 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001158/0.2026, allocations: 69.94 kB / 0.6978 GB, free: 12.23 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/0.2026, allocations: 0 / 0.6978 GB, free: 12.23 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.937e-06/0.2026, allocations: 0 / 0.6978 GB, free: 12.23 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.481e-05/0.2026, allocations: 15.98 kB / 0.6978 GB, free: 12.22 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.794e-05/0.2027, allocations: 27.92 kB / 0.6978 GB, free: 12.19 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002078/0.2029, allocations: 173.6 kB / 0.698 GB, free: 11.97 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 6.985e-05/0.203, allocations: 54.55 kB / 0.6981 GB, free: 11.91 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.479e-05/0.203, allocations: 36.88 kB / 0.6981 GB, free: 11.87 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 8.496e-06/0.203, allocations: 4 kB / 0.6981 GB, free: 11.87 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.542e-05/0.2031, allocations: 38.44 kB / 0.6981 GB, free: 11.82 MB / 0.545 GB Notification: Performance of pre-optimization done (n=10): time 1.323e-06/0.2031, allocations: 4 kB / 0.6981 GB, free: 11.82 MB / 0.545 GB Notification: Performance of matching and sorting (n=10): time 0.0002072/0.2033, allocations: 133.7 kB / 0.6983 GB, free: 11.68 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.351e-05/0.2033, allocations: 51.41 kB / 0.6983 GB, free: 11.62 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001168/0.2035, allocations: 133.8 kB / 0.6984 GB, free: 11.48 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.444e-05/0.2035, allocations: 25.7 kB / 0.6985 GB, free: 11.45 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.42e-05/0.2035, allocations: 96.12 kB / 0.6986 GB, free: 11.35 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.594e-05/0.2036, allocations: 35.45 kB / 0.6986 GB, free: 11.31 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.954e-05/0.2036, allocations: 13.72 kB / 0.6986 GB, free: 11.29 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001421/0.2038, allocations: 322.8 kB / 0.6989 GB, free: 10.97 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.726e-05/0.2038, allocations: 31.92 kB / 0.6989 GB, free: 10.94 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.69e-05/0.2038, allocations: 20 kB / 0.699 GB, free: 10.92 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.472e-05/0.2039, allocations: 69.2 kB / 0.699 GB, free: 10.85 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.2039, allocations: 3.938 kB / 0.699 GB, free: 10.84 MB / 0.545 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001127/0.2041, allocations: 105.5 kB / 0.6991 GB, free: 10.73 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.2041, allocations: 12 kB / 0.6991 GB, free: 10.72 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.2041, allocations: 0 / 0.6991 GB, free: 10.72 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.122e-05/0.2041, allocations: 0 / 0.6991 GB, free: 10.72 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.464e-06/0.2041, allocations: 3.984 kB / 0.6991 GB, free: 10.72 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.2041, allocations: 0 / 0.6991 GB, free: 10.72 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.153e-05/0.2041, allocations: 4 kB / 0.6992 GB, free: 10.71 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.268e-06/0.2042, allocations: 0 / 0.6992 GB, free: 10.71 MB / 0.545 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.029e-05/0.2042, allocations: 125.8 kB / 0.6993 GB, free: 10.58 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.331e-05/0.2043, allocations: 7.844 kB / 0.6993 GB, free: 10.57 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.95e-05/0.2043, allocations: 16.38 kB / 0.6993 GB, free: 10.55 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.046e-05/0.2043, allocations: 11.98 kB / 0.6993 GB, free: 10.54 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.2043, allocations: 0 / 0.6993 GB, free: 10.54 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.814e-06/0.2043, allocations: 4 kB / 0.6993 GB, free: 10.54 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001576/0.2045, allocations: 169.6 kB / 0.6995 GB, free: 10.32 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.2045, allocations: 3.984 kB / 0.6995 GB, free: 10.32 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.41e-07/0.2045, allocations: 0 / 0.6995 GB, free: 10.32 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.2045, allocations: 3.938 kB / 0.6995 GB, free: 10.31 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.494e-06/0.2045, allocations: 0 / 0.6995 GB, free: 10.31 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.806e-06/0.2045, allocations: 7.938 kB / 0.6995 GB, free: 10.3 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.2045, allocations: 0 / 0.6995 GB, free: 10.3 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001425/0.2047, allocations: 129 kB / 0.6996 GB, free: 10.16 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.879e-05/0.2047, allocations: 84.95 kB / 0.6997 GB, free: 10.06 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.164e-05/0.2048, allocations: 4 kB / 0.6997 GB, free: 10.05 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.029e-05/0.2048, allocations: 0 / 0.6997 GB, free: 10.05 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.391e-05/0.2048, allocations: 3.984 kB / 0.6997 GB, free: 10.05 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.572e-06/0.2048, allocations: 4 kB / 0.6997 GB, free: 10.05 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.749e-05/0.2049, allocations: 103.3 kB / 0.6998 GB, free: 9.945 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.61e-07/0.2049, allocations: 4.031 kB / 0.6998 GB, free: 9.941 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002818/0.2052, allocations: 71.92 kB / 0.6999 GB, free: 9.871 MB / 0.545 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.0003104/0.2055, allocations: 167.2 kB / 0.7 GB, free: 9.699 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001204/0.2056, allocations: 67.92 kB / 0.7001 GB, free: 9.633 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.2056, allocations: 0 / 0.7001 GB, free: 9.633 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 3.716e-05/0.2057, allocations: 35.98 kB / 0.7001 GB, free: 9.598 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001424/0.2058, allocations: 4 kB / 0.7001 GB, free: 9.594 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003652/0.2062, allocations: 228.5 kB / 0.7004 GB, free: 9.336 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003169/0.2065, allocations: 0.7001 MB / 0.701 GB, free: 8.609 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.823e-05/0.2066, allocations: 19.44 kB / 0.7011 GB, free: 8.59 MB / 0.545 GB Notification: Performance of SimCode: time 2.41e-07/0.2066, allocations: 0 / 0.7011 GB, free: 8.59 MB / 0.545 GB Notification: Performance of Templates: time 0.003454/0.21, allocations: 1.504 MB / 0.7025 GB, free: 7.09 MB / 0.545 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)