Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells") translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_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.001707/0.001707, allocations: 107.6 kB / 16.27 MB, free: 5.984 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.001786/0.001786, allocations: 191 kB / 17.2 MB, free: 5.613 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.988/1.988, allocations: 222.9 MB / 240.9 MB, free: 15.29 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8255/0.8255, allocations: 126.7 MB / 417.8 MB, free: 12.37 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002045/0.002045, allocations: 67.89 kB / 0.4958 GB, free: 2.797 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3066/0.3086, allocations: 78.86 MB / 0.5728 GB, free: 30.86 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.002211/0.3109, allocations: 1.245 MB / 0.574 GB, free: 30 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007643/0.3117, allocations: 482.8 kB / 0.5745 GB, free: 29.69 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.651e-05/0.3117, allocations: 0 / 0.5745 GB, free: 29.69 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.583e-05/0.3117, allocations: 5.125 kB / 0.5745 GB, free: 29.68 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.277e-05/0.3118, allocations: 1.969 kB / 0.5745 GB, free: 29.68 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002917/0.3121, allocations: 47.83 kB / 0.5745 GB, free: 29.67 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.076e-05/0.3122, allocations: 9.625 kB / 0.5745 GB, free: 29.67 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.039e-05/0.3122, allocations: 5.812 kB / 0.5745 GB, free: 29.66 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.06e-05/0.3122, allocations: 7.891 kB / 0.5746 GB, free: 29.66 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.32e-05/0.3123, allocations: 12.83 kB / 0.5746 GB, free: 29.65 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.939e-06/0.3123, allocations: 0.7812 kB / 0.5746 GB, free: 29.65 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000154/0.3124, allocations: 71.22 kB / 0.5746 GB, free: 29.62 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.774e-05/0.3125, allocations: 9.125 kB / 0.5746 GB, free: 29.62 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.68e-05/0.3125, allocations: 9.719 kB / 0.5746 GB, free: 29.62 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001254/0.3127, allocations: 55.7 kB / 0.5747 GB, free: 29.61 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.3127, allocations: 0.5625 kB / 0.5747 GB, free: 29.61 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3127, allocations: 1.188 kB / 0.5747 GB, free: 29.61 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.128e-06/0.3127, allocations: 0.625 kB / 0.5747 GB, free: 29.61 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.0002736/0.313, allocations: 338 kB / 0.575 GB, free: 29.25 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.292e-05/0.313, allocations: 8.75 kB / 0.575 GB, free: 29.25 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.454e-05/0.313, allocations: 3.672 kB / 0.575 GB, free: 29.25 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.776e-05/0.3131, allocations: 165.6 kB / 0.5752 GB, free: 29.05 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.174e-05/0.3131, allocations: 3.594 kB / 0.5752 GB, free: 29.05 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.366e-05/0.3131, allocations: 15.09 kB / 0.5752 GB, free: 29.04 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.043e-05/0.3132, allocations: 48.56 kB / 0.5753 GB, free: 29.01 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.362e-06/0.3132, allocations: 2.062 kB / 0.5753 GB, free: 29.01 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.444e-06/0.3133, allocations: 5.344 kB / 0.5753 GB, free: 29 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.3133, allocations: 0 / 0.5753 GB, free: 29 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.707e-05/0.3133, allocations: 12.73 kB / 0.5753 GB, free: 29 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.995e-05/0.3134, allocations: 153.2 kB / 0.5754 GB, free: 28.81 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.139e-05/0.3135, allocations: 29.31 kB / 0.5755 GB, free: 28.78 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.406e-05/0.3135, allocations: 23.67 kB / 0.5755 GB, free: 28.77 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.432e-06/0.3135, allocations: 4.969 kB / 0.5755 GB, free: 28.76 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001115/0.3136, allocations: 75.89 kB / 0.5756 GB, free: 28.7 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 1.262e-06/0.3136, allocations: 0 / 0.5756 GB, free: 28.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.0001889/0.3138, allocations: 99.78 kB / 0.5756 GB, free: 28.65 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.151e-05/0.3139, allocations: 56.75 kB / 0.5757 GB, free: 28.59 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.102e-05/0.3139, allocations: 90.75 kB / 0.5758 GB, free: 28.49 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.491e-05/0.3139, allocations: 33.84 kB / 0.5758 GB, free: 28.46 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.066e-05/0.3139, allocations: 81.45 kB / 0.5759 GB, free: 28.38 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.03e-05/0.3139, allocations: 16.98 kB / 0.5759 GB, free: 28.36 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.679e-05/0.314, allocations: 31.3 kB / 0.5759 GB, free: 28.34 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.016e-05/0.314, allocations: 313.3 kB / 0.5762 GB, free: 28.03 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.093e-05/0.3141, allocations: 30.59 kB / 0.5763 GB, free: 28.02 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.314e-05/0.3141, allocations: 70.92 kB / 0.5763 GB, free: 27.95 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.85e-05/0.3142, allocations: 95.38 kB / 0.5764 GB, free: 27.88 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.3142, allocations: 1.312 kB / 0.5764 GB, free: 27.88 MB / 446.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001457/0.3144, allocations: 122.3 kB / 0.5766 GB, free: 27.81 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.3144, allocations: 9.484 kB / 0.5766 GB, free: 27.81 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.3144, allocations: 2.312 kB / 0.5766 GB, free: 27.81 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.3144, allocations: 4.125 kB / 0.5766 GB, free: 27.81 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.778e-05/0.3145, allocations: 12.98 kB / 0.5766 GB, free: 27.81 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.3145, allocations: 1.219 kB / 0.5766 GB, free: 27.81 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.674e-05/0.3146, allocations: 11.22 kB / 0.5766 GB, free: 27.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.023e-05/0.3146, allocations: 14.56 kB / 0.5766 GB, free: 27.79 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.642e-05/0.3147, allocations: 121.3 kB / 0.5767 GB, free: 27.68 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.758e-06/0.3147, allocations: 4.531 kB / 0.5767 GB, free: 27.67 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.869e-05/0.3147, allocations: 10.73 kB / 0.5767 GB, free: 27.66 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.3147, allocations: 0.625 kB / 0.5767 GB, free: 27.66 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.317e-06/0.3147, allocations: 0 / 0.5767 GB, free: 27.66 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.3147, allocations: 2.719 kB / 0.5767 GB, free: 27.66 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.909e-05/0.3148, allocations: 151.7 kB / 0.5769 GB, free: 27.46 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.3148, allocations: 1.75 kB / 0.5769 GB, free: 27.46 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.148e-06/0.3148, allocations: 2.156 kB / 0.5769 GB, free: 27.46 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.3148, allocations: 3.938 kB / 0.5769 GB, free: 27.46 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.834e-06/0.3148, allocations: 1.594 kB / 0.5769 GB, free: 27.46 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.285e-06/0.3148, allocations: 2.969 kB / 0.5769 GB, free: 27.46 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.3149, allocations: 0 / 0.5769 GB, free: 27.46 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001102/0.315, allocations: 111.7 kB / 0.577 GB, free: 27.38 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.903e-05/0.315, allocations: 83.14 kB / 0.5771 GB, free: 27.28 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.918e-05/0.315, allocations: 5.391 kB / 0.5771 GB, free: 27.28 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.262e-05/0.315, allocations: 0 / 0.5771 GB, free: 27.28 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.727e-05/0.3151, allocations: 3.375 kB / 0.5771 GB, free: 27.28 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.159e-05/0.3151, allocations: 2.75 kB / 0.5771 GB, free: 27.28 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.24e-05/0.3151, allocations: 80.83 kB / 0.5772 GB, free: 27.2 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3151, allocations: 0 / 0.5772 GB, free: 27.2 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002246/0.3153, allocations: 28.09 kB / 0.5772 GB, free: 27.2 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.0001577/0.3155, allocations: 124.1 kB / 0.5773 GB, free: 27.11 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000125/0.3156, allocations: 65.39 kB / 0.5774 GB, free: 27.09 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.674e-06/0.3156, allocations: 0 / 0.5774 GB, free: 27.09 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.826e-05/0.3157, allocations: 19.14 kB / 0.5774 GB, free: 27.08 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001327/0.3158, allocations: 7.75 kB / 0.5774 GB, free: 27.08 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002166/0.316, allocations: 113.2 kB / 0.5775 GB, free: 26.98 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.834e-05/0.3161, allocations: 0.6782 MB / 0.5782 GB, free: 26.28 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.058e-05/0.3162, allocations: 5.438 kB / 0.5782 GB, free: 26.28 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.212e-05/0.3162, allocations: 9.562 kB / 0.5782 GB, free: 26.28 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3162, allocations: 2 kB / 0.5782 GB, free: 26.28 MB / 446.1 MB Notification: Performance of Templates: time 0.003103/0.3193, allocations: 0.6658 MB / 0.5788 GB, free: 26.25 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.sim & ./IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe 2>&1)