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.001639/0.00164, allocations: 109.9 kB / 16.41 MB, free: 6.492 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.001737/0.001737, allocations: 183 kB / 17.34 MB, free: 5.766 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.29/1.29, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002225/0.002225, allocations: 296.6 kB / 291.5 MB, free: 14.5 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9293/0.9293, allocations: 169.3 MB / 0.499 GB, free: 4.457 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002082/0.002082, allocations: 92.09 kB / 0.6821 GB, free: 6.926 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5056/0.5077, allocations: 86.98 MB / 0.7671 GB, free: 4.039 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.002548/0.5102, allocations: 1.241 MB / 0.7683 GB, free: 2.789 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001064/0.5113, allocations: 480.7 kB / 0.7688 GB, free: 2.316 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.899e-05/0.5114, allocations: 0 / 0.7688 GB, free: 2.316 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 4.311e-05/0.5115, allocations: 7.938 kB / 0.7688 GB, free: 2.309 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.925e-05/0.5116, allocations: 0 / 0.7688 GB, free: 2.309 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004179/0.512, allocations: 51.86 kB / 0.7688 GB, free: 2.258 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 8.542e-05/0.5121, allocations: 15.98 kB / 0.7688 GB, free: 2.242 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.593e-05/0.5121, allocations: 4 kB / 0.7688 GB, free: 2.238 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.777e-05/0.5122, allocations: 7.984 kB / 0.7688 GB, free: 2.23 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.319e-05/0.5122, allocations: 7.938 kB / 0.7689 GB, free: 2.223 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.109e-05/0.5122, allocations: 0 / 0.7689 GB, free: 2.223 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001807/0.5124, allocations: 71.78 kB / 0.7689 GB, free: 2.152 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 5.976e-05/0.5125, allocations: 7.984 kB / 0.7689 GB, free: 2.145 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.544e-05/0.5125, allocations: 15.94 kB / 0.7689 GB, free: 2.129 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001625/0.5127, allocations: 59.7 kB / 0.769 GB, free: 2.074 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.738e-06/0.5127, allocations: 0 / 0.769 GB, free: 2.074 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.154e-06/0.5127, allocations: 0 / 0.769 GB, free: 2.074 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.012e-05/0.5127, allocations: 0 / 0.769 GB, free: 2.074 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.0003959/0.5131, allocations: 339.5 kB / 0.7693 GB, free: 1.695 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.5132, allocations: 8.031 kB / 0.7693 GB, free: 1.688 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.843e-05/0.5132, allocations: 4.938 kB / 0.7693 GB, free: 1.684 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001008/0.5133, allocations: 164.4 kB / 0.7695 GB, free: 1.484 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.284e-05/0.5134, allocations: 384 / 0.7695 GB, free: 1.484 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.479e-05/0.5134, allocations: 8.359 kB / 0.7695 GB, free: 1.477 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001259/0.5135, allocations: 53.94 kB / 0.7696 GB, free: 1.418 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.5135, allocations: 0 / 0.7696 GB, free: 1.418 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.244e-05/0.5136, allocations: 11.94 kB / 0.7696 GB, free: 1.406 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.5136, allocations: 0 / 0.7696 GB, free: 1.406 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.263e-05/0.5136, allocations: 8 kB / 0.7696 GB, free: 1.398 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001657/0.5138, allocations: 156.2 kB / 0.7697 GB, free: 1.199 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 5.667e-05/0.5138, allocations: 34.62 kB / 0.7698 GB, free: 1.156 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.985e-05/0.5139, allocations: 20.95 kB / 0.7698 GB, free: 1.133 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 8.766e-06/0.5139, allocations: 4 kB / 0.7698 GB, free: 1.129 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001679/0.5141, allocations: 75.27 kB / 0.7698 GB, free: 1.043 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=7): time 1.172e-06/0.5141, allocations: 0 / 0.7698 GB, free: 1.043 MB / 0.5294 GB Notification: Performance of matching and sorting (n=7): time 0.0002299/0.5143, allocations: 89.69 kB / 0.7699 GB, free: 0.9492 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.176e-05/0.5144, allocations: 67.31 kB / 0.77 GB, free: 0.8711 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.752e-05/0.5144, allocations: 93.77 kB / 0.7701 GB, free: 0.7695 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.927e-05/0.5144, allocations: 33.7 kB / 0.7701 GB, free: 0.7305 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 2.838e-05/0.5145, allocations: 80.14 kB / 0.7702 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.622e-05/0.5145, allocations: 15.89 kB / 0.7702 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.069e-05/0.5145, allocations: 29.75 kB / 0.7702 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.751e-05/0.5146, allocations: 322.8 kB / 0.7705 GB, free: 280 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.98e-05/0.5147, allocations: 23.92 kB / 0.7706 GB, free: 256 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.385e-05/0.5148, allocations: 60.38 kB / 0.7706 GB, free: 176 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001127/0.5149, allocations: 97.92 kB / 0.7707 GB, free: 56 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.5149, allocations: 0 / 0.7707 GB, free: 56 kB / 0.5294 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001797/0.5151, allocations: 125.6 kB / 0.7708 GB, free: 15.92 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.5151, allocations: 7.938 kB / 0.7708 GB, free: 15.91 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.5151, allocations: 4 kB / 0.7709 GB, free: 15.91 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.5151, allocations: 0 / 0.7709 GB, free: 15.91 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.54e-05/0.5152, allocations: 15.98 kB / 0.7709 GB, free: 15.89 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.238e-06/0.5152, allocations: 0 / 0.7709 GB, free: 15.89 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.378e-05/0.5153, allocations: 11.88 kB / 0.7709 GB, free: 15.88 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.396e-05/0.5153, allocations: 8 kB / 0.7709 GB, free: 15.88 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 9.458e-05/0.5154, allocations: 127.9 kB / 0.771 GB, free: 15.74 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.55e-05/0.5154, allocations: 7.844 kB / 0.771 GB, free: 15.73 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.316e-05/0.5154, allocations: 3.969 kB / 0.771 GB, free: 15.73 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.5154, allocations: 4 kB / 0.771 GB, free: 15.72 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.5155, allocations: 0 / 0.771 GB, free: 15.72 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.544e-06/0.5155, allocations: 0 / 0.771 GB, free: 15.72 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001106/0.5156, allocations: 149.7 kB / 0.7712 GB, free: 15.53 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.5156, allocations: 3.938 kB / 0.7712 GB, free: 15.52 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.529e-06/0.5156, allocations: 4 kB / 0.7712 GB, free: 15.52 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.5156, allocations: 3.938 kB / 0.7712 GB, free: 15.52 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.374e-06/0.5156, allocations: 0 / 0.7712 GB, free: 15.52 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.5156, allocations: 0 / 0.7712 GB, free: 15.52 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.5156, allocations: 4 kB / 0.7712 GB, free: 15.51 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000127/0.5158, allocations: 105 kB / 0.7713 GB, free: 15.39 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.434e-05/0.5158, allocations: 84.98 kB / 0.7714 GB, free: 15.29 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.051e-05/0.5158, allocations: 7.984 kB / 0.7714 GB, free: 15.28 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.471e-05/0.5158, allocations: 8.031 kB / 0.7714 GB, free: 15.27 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.431e-05/0.5159, allocations: 11.98 kB / 0.7714 GB, free: 15.26 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.253e-05/0.5159, allocations: 0 / 0.7714 GB, free: 15.26 MB / 0.545 GB Notification: Performance of sorting global known variables: time 2.468e-05/0.5159, allocations: 75.28 kB / 0.7715 GB, free: 15.19 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5159, allocations: 0 / 0.7715 GB, free: 15.19 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002557/0.5162, allocations: 24 kB / 0.7715 GB, free: 15.16 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.0002/0.5164, allocations: 127.1 kB / 0.7716 GB, free: 15.03 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001374/0.5165, allocations: 71.83 kB / 0.7717 GB, free: 14.96 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.5166, allocations: 0 / 0.7717 GB, free: 14.96 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 3.324e-05/0.5166, allocations: 19.98 kB / 0.7717 GB, free: 14.94 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001362/0.5167, allocations: 4 kB / 0.7717 GB, free: 14.94 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003077/0.517, allocations: 144 kB / 0.7718 GB, free: 14.77 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002081/0.5173, allocations: 0.6799 MB / 0.7725 GB, free: 14.06 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.869e-05/0.5173, allocations: 11.44 kB / 0.7725 GB, free: 14.05 MB / 0.545 GB Notification: Performance of SimCode: time 2.31e-07/0.5173, allocations: 0.5 kB / 0.7725 GB, free: 14.05 MB / 0.545 GB Notification: Performance of Templates: time 0.002352/0.5197, allocations: 0.8196 MB / 0.7733 GB, free: 13.24 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe 2>&1)