Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells") translateModel(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001061/0.001061, allocations: 110 kB / 16.37 MB, free: 6.469 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.001084/0.001084, allocations: 195.8 kB / 17.31 MB, free: 5.824 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.236/1.236, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.8004/0.8004, allocations: 143.1 MB / 434.2 MB, free: 12.01 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001197, allocations: 59.91 kB / 0.5156 GB, free: 14.39 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2961/0.2973, allocations: 82.04 MB / 0.5957 GB, free: 16.14 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.001908/0.2993, allocations: 1.244 MB / 0.597 GB, free: 14.9 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.000659/0.3, allocations: 485.1 kB / 0.5974 GB, free: 14.42 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.76e-05/0.3, allocations: 0 / 0.5974 GB, free: 14.42 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.526e-05/0.3, allocations: 0 / 0.5974 GB, free: 14.42 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.843e-05/0.3001, allocations: 8.938 kB / 0.5974 GB, free: 14.41 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002808/0.3004, allocations: 48.97 kB / 0.5975 GB, free: 14.37 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.621e-05/0.3005, allocations: 15.88 kB / 0.5975 GB, free: 14.35 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.867e-05/0.3005, allocations: 7.984 kB / 0.5975 GB, free: 14.34 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.81e-05/0.3005, allocations: 5.5 kB / 0.5975 GB, free: 14.34 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.303e-05/0.3006, allocations: 4 kB / 0.5975 GB, free: 14.34 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.075e-06/0.3006, allocations: 3.984 kB / 0.5975 GB, free: 14.33 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001225/0.3007, allocations: 75.84 kB / 0.5976 GB, free: 14.26 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.137e-05/0.3007, allocations: 4.719 kB / 0.5976 GB, free: 14.25 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.414e-05/0.3008, allocations: 7.938 kB / 0.5976 GB, free: 14.25 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001073/0.3009, allocations: 57.44 kB / 0.5977 GB, free: 14.19 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.3009, allocations: 0 / 0.5977 GB, free: 14.19 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.3009, allocations: 4 kB / 0.5977 GB, free: 14.19 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.299e-06/0.3009, allocations: 3.938 kB / 0.5977 GB, free: 14.18 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0002479/0.3012, allocations: 332.8 kB / 0.598 GB, free: 13.82 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.667e-05/0.3012, allocations: 8.031 kB / 0.598 GB, free: 13.81 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.692e-05/0.3012, allocations: 9.531 kB / 0.598 GB, free: 13.8 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.404e-05/0.3013, allocations: 164.4 kB / 0.5982 GB, free: 13.6 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.039e-05/0.3013, allocations: 9.719 kB / 0.5982 GB, free: 13.59 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.179e-05/0.3013, allocations: 4.375 kB / 0.5982 GB, free: 13.59 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.103e-05/0.3014, allocations: 50 kB / 0.5982 GB, free: 13.54 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.242e-06/0.3014, allocations: 9.375 kB / 0.5982 GB, free: 13.53 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.815e-06/0.3014, allocations: 0 / 0.5982 GB, free: 13.53 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.3015, allocations: 0 / 0.5982 GB, free: 13.53 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.259e-05/0.3015, allocations: 8 kB / 0.5982 GB, free: 13.52 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.577e-05/0.3016, allocations: 154.4 kB / 0.5984 GB, free: 13.32 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.773e-05/0.3016, allocations: 40.06 kB / 0.5984 GB, free: 13.27 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.852e-05/0.3016, allocations: 16.95 kB / 0.5984 GB, free: 13.25 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.601e-06/0.3016, allocations: 1.219 kB / 0.5984 GB, free: 13.25 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.747e-05/0.3017, allocations: 72.23 kB / 0.5985 GB, free: 13.17 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 1.102e-06/0.3017, allocations: 0 / 0.5985 GB, free: 13.17 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.0001594/0.3019, allocations: 99.09 kB / 0.5986 GB, free: 13.07 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.387e-05/0.3019, allocations: 59.34 kB / 0.5987 GB, free: 13 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.62e-05/0.302, allocations: 93.77 kB / 0.5987 GB, free: 12.9 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.067e-05/0.302, allocations: 34.48 kB / 0.5988 GB, free: 12.86 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.031e-05/0.302, allocations: 80.14 kB / 0.5989 GB, free: 12.78 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.876e-05/0.302, allocations: 19.22 kB / 0.5989 GB, free: 12.76 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.988e-05/0.302, allocations: 25.72 kB / 0.5989 GB, free: 12.73 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.925e-05/0.3021, allocations: 321.1 kB / 0.5992 GB, free: 12.41 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.087e-05/0.3021, allocations: 23.98 kB / 0.5992 GB, free: 12.39 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.137e-05/0.3022, allocations: 62 kB / 0.5993 GB, free: 12.3 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.531e-05/0.3023, allocations: 102.1 kB / 0.5994 GB, free: 12.19 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.3023, allocations: 4 kB / 0.5994 GB, free: 12.18 MB / 446.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001183/0.3024, allocations: 119.6 kB / 0.5995 GB, free: 12.06 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.148e-05/0.3024, allocations: 7.938 kB / 0.5995 GB, free: 12.05 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.3024, allocations: 5.5 kB / 0.5995 GB, free: 12.05 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.3024, allocations: 0 / 0.5995 GB, free: 12.05 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.291e-05/0.3025, allocations: 15.94 kB / 0.5995 GB, free: 12.04 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.171e-06/0.3025, allocations: 7.938 kB / 0.5995 GB, free: 12.03 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.072e-05/0.3026, allocations: 5.188 kB / 0.5995 GB, free: 12.02 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.214e-06/0.3026, allocations: 4 kB / 0.5995 GB, free: 12.02 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 (QAggShi_flow[5],$PRE.QAggShi_flow[5],QAggShi_flow[4],$PRE.QAggShi_flow[4],QAggShi_flow[3],$PRE.QAggShi_flow[3],QAggShi_flow[2],$PRE.QAggShi_flow[2],QAggShi_flow[1],$PRE.QAggShi_flow[1],curCel,$PRE.curCel,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * Array equations: 0 * 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.091e-05/0.3026, allocations: 123.9 kB / 0.5997 GB, free: 11.89 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.537e-06/0.3027, allocations: 7.844 kB / 0.5997 GB, free: 11.88 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.842e-05/0.3027, allocations: 13.38 kB / 0.5997 GB, free: 11.87 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-06/0.3027, allocations: 0 / 0.5997 GB, free: 11.87 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.985e-06/0.3027, allocations: 0 / 0.5997 GB, free: 11.87 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.345e-06/0.3027, allocations: 1.125 kB / 0.5997 GB, free: 11.87 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.597e-05/0.3028, allocations: 153.7 kB / 0.5998 GB, free: 11.67 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.3028, allocations: 0 / 0.5998 GB, free: 11.67 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.977e-06/0.3028, allocations: 0.9375 kB / 0.5998 GB, free: 11.67 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.3028, allocations: 7.875 kB / 0.5998 GB, free: 11.66 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.023e-06/0.3028, allocations: 4 kB / 0.5998 GB, free: 11.66 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.3028, allocations: 5.359 kB / 0.5998 GB, free: 11.65 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.3028, allocations: 3.938 kB / 0.5999 GB, free: 11.65 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.664e-05/0.3029, allocations: 98.47 kB / 0.5999 GB, free: 11.54 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.473e-05/0.3029, allocations: 89.03 kB / 0.6 GB, free: 11.43 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.442e-05/0.303, allocations: 4 kB / 0.6 GB, free: 11.43 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.106e-05/0.303, allocations: 1.531 kB / 0.6 GB, free: 11.43 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.905e-05/0.303, allocations: 0 / 0.6 GB, free: 11.43 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.294e-05/0.303, allocations: 8 kB / 0.6 GB, free: 11.42 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.072e-05/0.303, allocations: 76.56 kB / 0.6001 GB, free: 11.34 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.303, allocations: 0 / 0.6001 GB, free: 11.34 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000208/0.3032, allocations: 27.94 kB / 0.6001 GB, free: 11.32 MB / 446.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: 7 ($whenCondition1,curCel,QAggShi_flow[1],QAggShi_flow[2],QAggShi_flow[3],QAggShi_flow[4],QAggShi_flow[5]) * Number of discrete states: 5 (QAggShi_flow[1],QAggShi_flow[2],QAggShi_flow[3],QAggShi_flow[4],QAggShi_flow[5]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.000143/0.3034, allocations: 131.4 kB / 0.6003 GB, free: 11.18 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 9.826e-05/0.3035, allocations: 61.27 kB / 0.6003 GB, free: 11.12 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.3035, allocations: 0.9375 kB / 0.6003 GB, free: 11.12 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.361e-05/0.3035, allocations: 19.98 kB / 0.6003 GB, free: 11.11 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000135/0.3037, allocations: 6.562 kB / 0.6004 GB, free: 11.1 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001938/0.3039, allocations: 113.5 kB / 0.6005 GB, free: 10.96 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.935e-05/0.304, allocations: 0.6782 MB / 0.6011 GB, free: 10.26 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.837e-05/0.304, allocations: 7.984 kB / 0.6011 GB, free: 10.25 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.282e-05/0.304, allocations: 12.09 kB / 0.6011 GB, free: 10.24 MB / 446.1 MB Notification: Performance of SimCode: time 6.21e-07/0.304, allocations: 0 / 0.6011 GB, free: 10.24 MB / 446.1 MB Notification: Performance of Templates: time 0.002257/0.3063, allocations: 0.6812 MB / 0.6018 GB, free: 9.645 MB / 446.1 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe 2>&1)