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.001459/0.001459, allocations: 104.3 kB / 16.94 MB, free: 5.801 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.001187/0.001187, allocations: 191.3 kB / 17.87 MB, free: 5.18 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.421/1.421, allocations: 222.9 MB / 241.6 MB, free: 15.3 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8297/0.8297, allocations: 122.9 MB / 414.6 MB, free: 15.92 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001586/0.001586, allocations: 67.89 kB / 0.4918 GB, free: 7.441 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4351/0.4367, allocations: 77.92 MB / 0.5679 GB, free: 32.82 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.002616/0.4394, allocations: 1.228 MB / 0.5691 GB, free: 31.98 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009096/0.4403, allocations: 488.2 kB / 0.5695 GB, free: 31.65 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.254e-05/0.4404, allocations: 0.5312 kB / 0.5695 GB, free: 31.65 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.481e-05/0.4404, allocations: 2.984 kB / 0.5695 GB, free: 31.65 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 7.421e-05/0.4405, allocations: 0.9375 kB / 0.5695 GB, free: 31.65 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003649/0.4409, allocations: 51.06 kB / 0.5696 GB, free: 31.63 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.017e-05/0.441, allocations: 16.89 kB / 0.5696 GB, free: 31.62 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.585e-05/0.441, allocations: 2.016 kB / 0.5696 GB, free: 31.62 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.488e-05/0.441, allocations: 5.5 kB / 0.5696 GB, free: 31.62 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.41e-05/0.4411, allocations: 12.33 kB / 0.5696 GB, free: 31.61 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.029e-05/0.4411, allocations: 1.312 kB / 0.5696 GB, free: 31.61 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001767/0.4413, allocations: 63.09 kB / 0.5697 GB, free: 31.59 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.074e-05/0.4414, allocations: 16.02 kB / 0.5697 GB, free: 31.59 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.329e-05/0.4414, allocations: 9.391 kB / 0.5697 GB, free: 31.58 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001508/0.4416, allocations: 57.2 kB / 0.5698 GB, free: 31.57 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.4416, allocations: 0 / 0.5698 GB, free: 31.57 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.4416, allocations: 0.9688 kB / 0.5698 GB, free: 31.57 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.711e-06/0.4416, allocations: 0 / 0.5698 GB, free: 31.57 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.0003713/0.442, allocations: 339.1 kB / 0.5701 GB, free: 31.21 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.442, allocations: 12.06 kB / 0.5701 GB, free: 31.21 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.463e-05/0.4421, allocations: 9.938 kB / 0.5701 GB, free: 31.21 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.283e-05/0.4421, allocations: 166.6 kB / 0.5703 GB, free: 31.01 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.234e-05/0.4422, allocations: 4.5 kB / 0.5703 GB, free: 31.01 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.365e-05/0.4422, allocations: 2.656 kB / 0.5703 GB, free: 31.01 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001165/0.4423, allocations: 53.86 kB / 0.5703 GB, free: 30.97 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.4423, allocations: 0 / 0.5703 GB, free: 30.97 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.748e-06/0.4423, allocations: 1 kB / 0.5703 GB, free: 30.97 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.4423, allocations: 4 kB / 0.5703 GB, free: 30.96 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.37e-05/0.4424, allocations: 13.03 kB / 0.5703 GB, free: 30.96 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001215/0.4425, allocations: 157.8 kB / 0.5705 GB, free: 30.77 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.654e-05/0.4426, allocations: 35.27 kB / 0.5705 GB, free: 30.73 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.665e-05/0.4426, allocations: 18 kB / 0.5705 GB, free: 30.72 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.462e-06/0.4426, allocations: 0.6094 kB / 0.5705 GB, free: 30.72 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001446/0.4427, allocations: 69.75 kB / 0.5706 GB, free: 30.67 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 1.152e-06/0.4428, allocations: 0 / 0.5706 GB, free: 30.67 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002268/0.443, allocations: 96.44 kB / 0.5707 GB, free: 30.62 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.611e-05/0.443, allocations: 62.61 kB / 0.5708 GB, free: 30.55 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.732e-05/0.4431, allocations: 94.8 kB / 0.5709 GB, free: 30.45 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.664e-05/0.4431, allocations: 32.17 kB / 0.5709 GB, free: 30.42 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.796e-05/0.4431, allocations: 83.39 kB / 0.571 GB, free: 30.34 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.73e-05/0.4431, allocations: 17.3 kB / 0.571 GB, free: 30.32 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.313e-05/0.4432, allocations: 33.44 kB / 0.571 GB, free: 30.3 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.725e-05/0.4433, allocations: 315 kB / 0.5713 GB, free: 29.98 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.284e-05/0.4433, allocations: 21.33 kB / 0.5713 GB, free: 29.98 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.294e-05/0.4434, allocations: 69.53 kB / 0.5714 GB, free: 29.91 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001222/0.4435, allocations: 101.1 kB / 0.5715 GB, free: 29.84 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.4435, allocations: 1.125 kB / 0.5715 GB, free: 29.84 MB / 446.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001707/0.4437, allocations: 115.8 kB / 0.5716 GB, free: 29.78 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.4437, allocations: 9.562 kB / 0.5716 GB, free: 29.77 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.732e-06/0.4437, allocations: 3.844 kB / 0.5716 GB, free: 29.77 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.894e-05/0.4438, allocations: 2.812 kB / 0.5716 GB, free: 29.77 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.849e-05/0.4439, allocations: 18.97 kB / 0.5716 GB, free: 29.77 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.766e-06/0.4439, allocations: 4.125 kB / 0.5716 GB, free: 29.77 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.58e-05/0.4439, allocations: 7.25 kB / 0.5717 GB, free: 29.76 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.245e-05/0.4439, allocations: 7.828 kB / 0.5717 GB, free: 29.76 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 8.393e-05/0.444, allocations: 131.2 kB / 0.5718 GB, free: 29.63 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.325e-05/0.444, allocations: 12.8 kB / 0.5718 GB, free: 29.62 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.032e-05/0.4441, allocations: 5.406 kB / 0.5718 GB, free: 29.62 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-06/0.4441, allocations: 1.5 kB / 0.5718 GB, free: 29.62 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.4441, allocations: 0 / 0.5718 GB, free: 29.62 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.4441, allocations: 3.5 kB / 0.5718 GB, free: 29.62 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.763e-05/0.4442, allocations: 151.7 kB / 0.572 GB, free: 29.43 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-06/0.4442, allocations: 4.688 kB / 0.572 GB, free: 29.42 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.436e-06/0.4442, allocations: 0.5 kB / 0.572 GB, free: 29.42 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.4442, allocations: 5.891 kB / 0.572 GB, free: 29.42 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.177e-06/0.4442, allocations: 5.375 kB / 0.572 GB, free: 29.41 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.4442, allocations: 2.969 kB / 0.572 GB, free: 29.41 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.4443, allocations: 0.9375 kB / 0.572 GB, free: 29.41 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001307/0.4444, allocations: 103.4 kB / 0.5721 GB, free: 29.34 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.746e-05/0.4444, allocations: 83.28 kB / 0.5722 GB, free: 29.24 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.946e-05/0.4444, allocations: 4.562 kB / 0.5722 GB, free: 29.24 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.295e-05/0.4445, allocations: 4.656 kB / 0.5722 GB, free: 29.24 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.501e-05/0.4445, allocations: 2.594 kB / 0.5722 GB, free: 29.24 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.754e-05/0.4445, allocations: 3.125 kB / 0.5722 GB, free: 29.24 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.518e-05/0.4445, allocations: 79.91 kB / 0.5722 GB, free: 29.16 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4445, allocations: 0.7812 kB / 0.5722 GB, free: 29.16 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002462/0.4448, allocations: 28.23 kB / 0.5723 GB, free: 29.15 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.0001991/0.445, allocations: 122.1 kB / 0.5724 GB, free: 29.07 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000161/0.4452, allocations: 59.22 kB / 0.5724 GB, free: 29.05 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.4452, allocations: 2.531 kB / 0.5724 GB, free: 29.05 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.461e-05/0.4452, allocations: 19.64 kB / 0.5725 GB, free: 29.04 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001471/0.4454, allocations: 4.953 kB / 0.5725 GB, free: 29.04 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002911/0.4457, allocations: 145.7 kB / 0.5726 GB, free: 28.91 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001201/0.4458, allocations: 0.6806 MB / 0.5733 GB, free: 28.21 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.602e-05/0.4458, allocations: 10.94 kB / 0.5733 GB, free: 28.2 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4458, allocations: 0 / 0.5733 GB, free: 28.2 MB / 446.1 MB Notification: Performance of Templates: time 0.002855/0.4487, allocations: 0.8251 MB / 0.5741 GB, free: 28.18 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)