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.006452/0.006452, allocations: 100.1 kB / 15.73 MB, free: 6.043 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.001399/0.001399, allocations: 190.6 kB / 16.67 MB, free: 5.977 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.32/1.32, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.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.9737/0.9737, allocations: 143 MB / 433.6 MB, free: 11.49 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001945/0.001945, allocations: 63.91 kB / 0.5956 GB, free: 8.344 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4294/0.4313, allocations: 82.02 MB / 0.6757 GB, free: 1.527 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.002463/0.4339, allocations: 1.241 MB / 0.6769 GB, free: 0.5508 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009013/0.4348, allocations: 493 kB / 0.6774 GB, free: 180 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.279e-05/0.4348, allocations: 1.125 kB / 0.6774 GB, free: 180 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.384e-05/0.4349, allocations: 3.938 kB / 0.6774 GB, free: 176 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.159e-05/0.4349, allocations: 4.875 kB / 0.6774 GB, free: 172 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003658/0.4353, allocations: 52.48 kB / 0.6774 GB, free: 136 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.774e-05/0.4354, allocations: 6.719 kB / 0.6774 GB, free: 136 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.058e-05/0.4354, allocations: 1.938 kB / 0.6774 GB, free: 136 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.783e-05/0.4355, allocations: 14.94 kB / 0.6774 GB, free: 124 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.06e-05/0.4355, allocations: 11.09 kB / 0.6774 GB, free: 116 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.618e-06/0.4355, allocations: 0 / 0.6774 GB, free: 116 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001566/0.4357, allocations: 70.2 kB / 0.6775 GB, free: 72 kB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.32e-05/0.4358, allocations: 8.641 kB / 0.6775 GB, free: 68 kB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.097e-05/0.4358, allocations: 12.38 kB / 0.6775 GB, free: 60 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001325/0.4359, allocations: 57.69 kB / 0.6776 GB, free: 28 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.4359, allocations: 0 / 0.6776 GB, free: 28 kB / 0.4981 GB Notification: Performance of FrontEnd: time 1.573e-06/0.436, allocations: 1.125 kB / 0.6776 GB, free: 28 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.628e-06/0.436, allocations: 0 / 0.6776 GB, free: 28 kB / 0.4981 GB 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.000438/0.4364, allocations: 337.2 kB / 0.6779 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.684e-05/0.4364, allocations: 9.594 kB / 0.6779 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.621e-05/0.4365, allocations: 6 kB / 0.6779 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.599e-05/0.4366, allocations: 161.5 kB / 0.6781 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.295e-05/0.4366, allocations: 5.484 kB / 0.6781 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.398e-05/0.4366, allocations: 6.562 kB / 0.6781 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001155/0.4367, allocations: 52.69 kB / 0.6781 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.684e-06/0.4368, allocations: 3.938 kB / 0.6781 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.197e-06/0.4368, allocations: 0 / 0.6781 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.4368, allocations: 1.125 kB / 0.6781 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.886e-05/0.4368, allocations: 14.88 kB / 0.6782 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001476/0.437, allocations: 157.1 kB / 0.6783 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 5.722e-05/0.437, allocations: 36.06 kB / 0.6783 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.929e-05/0.4371, allocations: 16.98 kB / 0.6784 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 5.25e-06/0.4371, allocations: 0 / 0.6784 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001432/0.4372, allocations: 81.7 kB / 0.6784 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=7): time 1.102e-06/0.4372, allocations: 0 / 0.6784 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of matching and sorting (n=7): time 0.0002122/0.4375, allocations: 87.75 kB / 0.6785 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.851e-05/0.4375, allocations: 59.64 kB / 0.6786 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.823e-05/0.4376, allocations: 91.14 kB / 0.6787 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.997e-05/0.4376, allocations: 31.77 kB / 0.6787 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.007e-05/0.4376, allocations: 81.17 kB / 0.6788 GB, free: 14.76 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.896e-05/0.4377, allocations: 21.12 kB / 0.6788 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.132e-05/0.4377, allocations: 27.62 kB / 0.6788 GB, free: 14.72 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000136/0.4378, allocations: 320.2 kB / 0.6791 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.177e-05/0.4379, allocations: 20.45 kB / 0.6791 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.952e-05/0.438, allocations: 67.5 kB / 0.6792 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000121/0.4381, allocations: 102.1 kB / 0.6793 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.4381, allocations: 1.625 kB / 0.6793 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001844/0.4383, allocations: 121.8 kB / 0.6794 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.4383, allocations: 12.53 kB / 0.6794 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.4383, allocations: 1.125 kB / 0.6794 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.828e-05/0.4383, allocations: 6.609 kB / 0.6794 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.101e-05/0.4384, allocations: 17.47 kB / 0.6795 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.4385, allocations: 3.266 kB / 0.6795 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.582e-05/0.4385, allocations: 6.719 kB / 0.6795 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.001e-05/0.4385, allocations: 4.062 kB / 0.6795 GB, free: 14.13 MB / 0.5137 GB 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 0.0001041/0.4386, allocations: 131.2 kB / 0.6796 GB, free: 14 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.183e-05/0.4386, allocations: 5.094 kB / 0.6796 GB, free: 14 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.342e-05/0.4387, allocations: 3.969 kB / 0.6796 GB, free: 14 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.4387, allocations: 1.25 kB / 0.6796 GB, free: 14 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.4387, allocations: 0 / 0.6796 GB, free: 14 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/0.4387, allocations: 0 / 0.6796 GB, free: 14 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001386/0.4388, allocations: 166.1 kB / 0.6798 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.4388, allocations: 0 / 0.6798 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.889e-06/0.4388, allocations: 1.062 kB / 0.6798 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.4389, allocations: 3.938 kB / 0.6798 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.013e-05/0.4389, allocations: 4.969 kB / 0.6798 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.4389, allocations: 1.125 kB / 0.6798 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.4389, allocations: 3.984 kB / 0.6798 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001528/0.439, allocations: 107.1 kB / 0.6799 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 3.93e-05/0.4391, allocations: 82.17 kB / 0.68 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.91e-05/0.4391, allocations: 7.297 kB / 0.68 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.252e-05/0.4391, allocations: 1 kB / 0.68 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.809e-05/0.4392, allocations: 5.156 kB / 0.68 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.601e-05/0.4392, allocations: 2.344 kB / 0.68 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 2.891e-05/0.4392, allocations: 76.25 kB / 0.6801 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4392, allocations: 0 / 0.6801 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002374/0.4395, allocations: 29.84 kB / 0.6801 GB, free: 13.5 MB / 0.5137 GB 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.0002163/0.4397, allocations: 119.8 kB / 0.6802 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001475/0.4398, allocations: 59.81 kB / 0.6803 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.4399, allocations: 1.062 kB / 0.6803 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 3.819e-05/0.4399, allocations: 26.14 kB / 0.6803 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001373/0.44, allocations: 3.391 kB / 0.6803 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002944/0.4403, allocations: 120.4 kB / 0.6804 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002482/0.4406, allocations: 0.679 MB / 0.6811 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.008e-05/0.4406, allocations: 4 kB / 0.6811 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.677e-05/0.4406, allocations: 17.59 kB / 0.6811 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of SimCode: time 2e-07/0.4407, allocations: 0 / 0.6811 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of Templates: time 0.003061/0.4437, allocations: 0.6848 MB / 0.6817 GB, free: 12.22 MB / 0.5137 GB 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 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe 2>&1)