Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/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.ShiftAggregationCells,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001353/0.001353, allocations: 108.8 kB / 16.41 MB, free: 6.508 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.001384/0.001384, allocations: 184 kB / 17.34 MB, free: 5.738 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.41/1.41, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002526/0.002526, allocations: 283.2 kB / 291.5 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.005/1.005, allocations: 169.2 MB / 0.499 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002754/0.002754, allocations: 95.84 kB / 0.6822 GB, free: 6.918 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4326/0.4354, allocations: 86.97 MB / 0.7671 GB, free: 3.898 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.004362/0.4397, allocations: 1.248 MB / 0.7683 GB, free: 2.645 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001695/0.4414, allocations: 496.6 kB / 0.7688 GB, free: 2.156 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.729e-05/0.4415, allocations: 0 / 0.7688 GB, free: 2.156 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 4.437e-05/0.4415, allocations: 0 / 0.7688 GB, free: 2.156 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.936e-05/0.4416, allocations: 0 / 0.7688 GB, free: 2.156 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004534/0.442, allocations: 55.8 kB / 0.7688 GB, free: 2.102 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.128e-05/0.4421, allocations: 8 kB / 0.7688 GB, free: 2.094 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.28e-05/0.4422, allocations: 4 kB / 0.7689 GB, free: 2.09 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.832e-05/0.4422, allocations: 11.97 kB / 0.7689 GB, free: 2.078 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.447e-05/0.4422, allocations: 8 kB / 0.7689 GB, free: 2.07 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.09e-05/0.4422, allocations: 0 / 0.7689 GB, free: 2.07 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002469/0.4425, allocations: 63.86 kB / 0.7689 GB, free: 2.008 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 6.051e-05/0.4426, allocations: 11.98 kB / 0.7689 GB, free: 1.996 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 5.226e-05/0.4426, allocations: 11.94 kB / 0.769 GB, free: 1.984 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002146/0.4428, allocations: 63.62 kB / 0.769 GB, free: 1.926 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.4428, allocations: 0 / 0.769 GB, free: 1.926 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.663e-06/0.4428, allocations: 0 / 0.769 GB, free: 1.926 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.275e-05/0.4428, allocations: 3.938 kB / 0.769 GB, free: 1.922 MB / 0.5294 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.0005729/0.4434, allocations: 345.2 kB / 0.7694 GB, free: 1.543 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.637e-05/0.4435, allocations: 8.031 kB / 0.7694 GB, free: 1.535 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.849e-05/0.4435, allocations: 4.938 kB / 0.7694 GB, free: 1.531 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001864/0.4437, allocations: 160.4 kB / 0.7695 GB, free: 1.336 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.276e-05/0.4437, allocations: 4.375 kB / 0.7695 GB, free: 1.332 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.701e-05/0.4437, allocations: 8.359 kB / 0.7695 GB, free: 1.324 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000172/0.4439, allocations: 53.94 kB / 0.7696 GB, free: 1.266 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/0.4439, allocations: 0 / 0.7696 GB, free: 1.266 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.167e-05/0.4439, allocations: 0 / 0.7696 GB, free: 1.266 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.4439, allocations: 4 kB / 0.7696 GB, free: 1.262 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.709e-05/0.444, allocations: 11.94 kB / 0.7696 GB, free: 1.25 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002194/0.4442, allocations: 153.7 kB / 0.7697 GB, free: 1.051 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001095/0.4443, allocations: 30.62 kB / 0.7698 GB, free: 1.012 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.062e-05/0.4444, allocations: 16.89 kB / 0.7698 GB, free: 0.9922 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.188e-05/0.4444, allocations: 0 / 0.7698 GB, free: 0.9922 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002539/0.4446, allocations: 79.39 kB / 0.7699 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=7): time 2.094e-06/0.4446, allocations: 0 / 0.7699 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of matching and sorting (n=7): time 0.0003753/0.445, allocations: 93.58 kB / 0.77 GB, free: 0.8047 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.416e-05/0.4451, allocations: 63.39 kB / 0.77 GB, free: 0.7305 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.586e-05/0.4452, allocations: 89.86 kB / 0.7701 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.047e-05/0.4452, allocations: 29.7 kB / 0.7701 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.904e-05/0.4453, allocations: 84.14 kB / 0.7702 GB, free: 0.5117 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.8e-05/0.4453, allocations: 15.89 kB / 0.7702 GB, free: 0.4961 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.548e-05/0.4454, allocations: 33.66 kB / 0.7703 GB, free: 468 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002079/0.4456, allocations: 318.9 kB / 0.7706 GB, free: 140 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.653e-05/0.4457, allocations: 19.98 kB / 0.7706 GB, free: 120 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001491/0.4459, allocations: 70 kB / 0.7706 GB, free: 28 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002979/0.4462, allocations: 101.9 kB / 0.7707 GB, free: 15.91 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.4462, allocations: 0 / 0.7707 GB, free: 15.91 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003561/0.4465, allocations: 113.7 kB / 0.7708 GB, free: 15.79 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.871e-05/0.4465, allocations: 11.94 kB / 0.7709 GB, free: 15.78 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/0.4466, allocations: 4 kB / 0.7709 GB, free: 15.77 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.223e-05/0.4466, allocations: 4 kB / 0.7709 GB, free: 15.77 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001409/0.4467, allocations: 15.92 kB / 0.7709 GB, free: 15.75 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.158e-05/0.4467, allocations: 4 kB / 0.7709 GB, free: 15.75 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.817e-05/0.4468, allocations: 11.89 kB / 0.7709 GB, free: 15.74 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.604e-05/0.4468, allocations: 4 kB / 0.7709 GB, free: 15.73 MB / 0.545 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.0001871/0.447, allocations: 129.9 kB / 0.771 GB, free: 15.6 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.331e-05/0.447, allocations: 3.938 kB / 0.771 GB, free: 15.59 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.903e-05/0.4471, allocations: 7.969 kB / 0.771 GB, free: 15.58 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.4471, allocations: 0 / 0.771 GB, free: 15.58 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.4471, allocations: 0 / 0.771 GB, free: 15.58 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.286e-06/0.4471, allocations: 3.984 kB / 0.771 GB, free: 15.58 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002141/0.4473, allocations: 153.7 kB / 0.7712 GB, free: 15.38 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.053e-06/0.4473, allocations: 0 / 0.7712 GB, free: 15.38 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.077e-05/0.4473, allocations: 4 kB / 0.7712 GB, free: 15.38 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.955e-06/0.4473, allocations: 3.938 kB / 0.7712 GB, free: 15.37 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.08e-05/0.4473, allocations: 4 kB / 0.7712 GB, free: 15.37 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.4473, allocations: 3.938 kB / 0.7712 GB, free: 15.36 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.4473, allocations: 0 / 0.7712 GB, free: 15.36 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002519/0.4476, allocations: 109.1 kB / 0.7713 GB, free: 15.24 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.747e-05/0.4477, allocations: 81.05 kB / 0.7714 GB, free: 15.14 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.364e-05/0.4477, allocations: 7.984 kB / 0.7714 GB, free: 15.13 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.363e-05/0.4477, allocations: 0 / 0.7714 GB, free: 15.13 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.936e-05/0.4478, allocations: 3.938 kB / 0.7714 GB, free: 15.13 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.588e-05/0.4478, allocations: 8.031 kB / 0.7714 GB, free: 15.12 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.261e-05/0.4478, allocations: 75.28 kB / 0.7715 GB, free: 15.05 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.8e-07/0.4478, allocations: 0 / 0.7715 GB, free: 15.05 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004547/0.4483, allocations: 27.94 kB / 0.7715 GB, free: 15.02 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: 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.0003174/0.4486, allocations: 127.1 kB / 0.7716 GB, free: 14.89 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002445/0.4489, allocations: 52.22 kB / 0.7717 GB, free: 14.84 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.434e-06/0.4489, allocations: 8.125 kB / 0.7717 GB, free: 14.83 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 5.958e-05/0.4489, allocations: 15.98 kB / 0.7717 GB, free: 14.81 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002227/0.4491, allocations: 2.656 kB / 0.7717 GB, free: 14.81 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004335/0.4496, allocations: 117.5 kB / 0.7718 GB, free: 14.67 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004564/0.45, allocations: 0.6807 MB / 0.7725 GB, free: 13.96 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.702e-05/0.4501, allocations: 4 kB / 0.7725 GB, free: 13.96 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.348e-05/0.4501, allocations: 7.438 kB / 0.7725 GB, free: 13.96 MB / 0.545 GB Notification: Performance of SimCode: time 5.11e-07/0.4501, allocations: 4.062 kB / 0.7725 GB, free: 13.95 MB / 0.545 GB Notification: Performance of Templates: time 0.005436/0.4555, allocations: 0.6654 MB / 0.7731 GB, free: 13.33 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe 2>&1)