Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_master_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002423/0.002428, allocations: 354.9 kB / 15.94 MB, free: 6.207 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.453/1.453, allocations: 165.8 MB / 182.5 MB, free: 5.523 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.853/3.853, allocations: 410.8 MB / 0.5995 GB, free: 15.16 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001699/0.001699, allocations: 200.5 kB / 0.6662 GB, free: 6.934 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004592/0.0004595, allocations: 15.94 kB / 0.7423 GB, free: 8.934 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3478/0.3483, allocations: 67.44 MB / 0.8082 GB, free: 28.8 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.001128/0.3494, allocations: 0.9588 MB / 0.8091 GB, free: 27.83 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007743/0.3502, allocations: 0.4894 MB / 0.8096 GB, free: 27.34 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.791e-05/0.3503, allocations: 0 / 0.8096 GB, free: 27.34 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 2.072e-05/0.3503, allocations: 0 / 0.8096 GB, free: 27.34 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 4.052e-05/0.3504, allocations: 4 kB / 0.8096 GB, free: 27.33 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002497/0.3506, allocations: 31.89 kB / 0.8096 GB, free: 27.3 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 4.829e-05/0.3507, allocations: 23.97 kB / 0.8097 GB, free: 27.28 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.122e-05/0.3507, allocations: 4 kB / 0.8097 GB, free: 27.27 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.174e-05/0.3508, allocations: 4 kB / 0.8097 GB, free: 27.27 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.379e-05/0.3508, allocations: 4 kB / 0.8097 GB, free: 27.27 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 9.667e-06/0.3508, allocations: 0 / 0.8097 GB, free: 27.27 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001258/0.351, allocations: 47.88 kB / 0.8097 GB, free: 27.22 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.02e-05/0.351, allocations: 15.98 kB / 0.8097 GB, free: 27.2 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.786e-05/0.3511, allocations: 25.7 kB / 0.8098 GB, free: 27.17 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 8.179e-05/0.3512, allocations: 27.95 kB / 0.8098 GB, free: 27.14 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.008e-06/0.3512, allocations: 0 / 0.8098 GB, free: 27.14 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.926e-06/0.3512, allocations: 7.938 kB / 0.8098 GB, free: 27.14 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.442e-06/0.3512, allocations: 4 kB / 0.8098 GB, free: 27.13 MB / 378.7 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.0002517/0.3515, allocations: 333.5 kB / 0.8101 GB, free: 26.76 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.256e-05/0.3515, allocations: 8.031 kB / 0.8101 GB, free: 26.75 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.078e-05/0.3515, allocations: 7.906 kB / 0.8101 GB, free: 26.75 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.772e-05/0.3516, allocations: 171 kB / 0.8103 GB, free: 26.54 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.463e-05/0.3516, allocations: 0 / 0.8103 GB, free: 26.54 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.364e-05/0.3517, allocations: 7.953 kB / 0.8103 GB, free: 26.53 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.659e-05/0.3518, allocations: 45.69 kB / 0.8103 GB, free: 26.48 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.723e-06/0.3518, allocations: 4 kB / 0.8103 GB, free: 26.48 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.957e-06/0.3518, allocations: 4 kB / 0.8104 GB, free: 26.47 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.875e-06/0.3518, allocations: 0 / 0.8104 GB, free: 26.47 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.96e-05/0.3519, allocations: 12 kB / 0.8104 GB, free: 26.46 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001086/0.352, allocations: 153.7 kB / 0.8105 GB, free: 26.26 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.292e-05/0.352, allocations: 38.56 kB / 0.8105 GB, free: 26.21 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.882e-05/0.3521, allocations: 16.95 kB / 0.8106 GB, free: 26.2 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.102e-06/0.3521, allocations: 4 kB / 0.8106 GB, free: 26.19 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001251/0.3522, allocations: 67.34 kB / 0.8106 GB, free: 26.11 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 2.164e-06/0.3523, allocations: 0 / 0.8106 GB, free: 26.11 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002047/0.3525, allocations: 105.6 kB / 0.8107 GB, free: 26 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.936e-05/0.3525, allocations: 63.34 kB / 0.8108 GB, free: 25.93 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.307e-05/0.3525, allocations: 93.77 kB / 0.8109 GB, free: 25.83 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.645e-05/0.3526, allocations: 33.7 kB / 0.8109 GB, free: 25.79 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.192e-05/0.3526, allocations: 84.17 kB / 0.811 GB, free: 25.7 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.834e-05/0.3526, allocations: 15.89 kB / 0.811 GB, free: 25.69 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.269e-06/0.3527, allocations: 0 / 0.811 GB, free: 25.69 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.78e-05/0.3527, allocations: 314.8 kB / 0.8113 GB, free: 25.37 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.613e-05/0.3528, allocations: 19.98 kB / 0.8113 GB, free: 25.35 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.453e-05/0.3529, allocations: 69.98 kB / 0.8114 GB, free: 25.26 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.404e-05/0.3529, allocations: 31.92 kB / 0.8114 GB, free: 25.23 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.732e-06/0.353, allocations: 0 / 0.8114 GB, free: 25.23 MB / 378.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001893/0.3531, allocations: 113.6 kB / 0.8115 GB, free: 25.11 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.3532, allocations: 15.98 kB / 0.8115 GB, free: 25.1 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.099e-06/0.3532, allocations: 0 / 0.8115 GB, free: 25.1 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.3532, allocations: 4 kB / 0.8116 GB, free: 25.09 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.727e-05/0.3533, allocations: 19.86 kB / 0.8116 GB, free: 25.07 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.12e-06/0.3533, allocations: 4 kB / 0.8116 GB, free: 25.07 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.63e-05/0.3534, allocations: 3.938 kB / 0.8116 GB, free: 25.07 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.028e-05/0.3534, allocations: 12 kB / 0.8116 GB, free: 25.05 MB / 378.7 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 ($PRE.QAggShi_flow[5],QAggShi_flow[5],$PRE.QAggShi_flow[4],QAggShi_flow[4],$PRE.QAggShi_flow[3],QAggShi_flow[3],$PRE.QAggShi_flow[2],QAggShi_flow[2],$PRE.QAggShi_flow[1],QAggShi_flow[1],$PRE.curCel,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.878e-05/0.3535, allocations: 117.8 kB / 0.8117 GB, free: 24.93 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.412e-05/0.3535, allocations: 11.91 kB / 0.8117 GB, free: 24.92 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.037e-05/0.3536, allocations: 7.922 kB / 0.8117 GB, free: 24.91 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.837e-06/0.3536, allocations: 0 / 0.8117 GB, free: 24.91 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.536e-06/0.3536, allocations: 0 / 0.8117 GB, free: 24.91 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.613e-06/0.3536, allocations: 0 / 0.8117 GB, free: 24.91 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.074e-05/0.3537, allocations: 149.7 kB / 0.8119 GB, free: 24.72 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.812e-06/0.3537, allocations: 0 / 0.8119 GB, free: 24.72 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.425e-06/0.3537, allocations: 3.938 kB / 0.8119 GB, free: 24.71 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.831e-06/0.3537, allocations: 4 kB / 0.8119 GB, free: 24.71 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.496e-06/0.3538, allocations: 0 / 0.8119 GB, free: 24.71 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.772e-06/0.3538, allocations: 7.953 kB / 0.8119 GB, free: 24.7 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.706e-06/0.3538, allocations: 0 / 0.8119 GB, free: 24.7 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001349/0.3539, allocations: 105.1 kB / 0.812 GB, free: 24.58 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.898e-05/0.354, allocations: 81.11 kB / 0.8121 GB, free: 24.48 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.109e-05/0.354, allocations: 7.984 kB / 0.8121 GB, free: 24.48 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.817e-05/0.354, allocations: 0 / 0.8121 GB, free: 24.48 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.342e-05/0.354, allocations: 3.953 kB / 0.8121 GB, free: 24.47 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.666e-05/0.3541, allocations: 8 kB / 0.8121 GB, free: 24.46 MB / 378.7 MB Notification: Performance of sorting global known variables: time 1.386e-05/0.3541, allocations: 79.31 kB / 0.8122 GB, free: 24.39 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.73e-07/0.3541, allocations: 0 / 0.8122 GB, free: 24.39 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000298/0.3544, allocations: 19.94 kB / 0.8122 GB, free: 24.37 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002219/0.3546, allocations: 127.2 kB / 0.8123 GB, free: 24.23 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001607/0.3548, allocations: 63.84 kB / 0.8124 GB, free: 24.17 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.383e-06/0.3548, allocations: 448 / 0.8124 GB, free: 24.17 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.58e-05/0.3549, allocations: 20 kB / 0.8124 GB, free: 24.15 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001678/0.3551, allocations: 3.875 kB / 0.8124 GB, free: 24.15 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002942/0.3554, allocations: 127.2 kB / 0.8125 GB, free: 24 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002323/0.3556, allocations: 0.6809 MB / 0.8132 GB, free: 23.3 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 2.755e-05/0.3557, allocations: 4 kB / 0.8132 GB, free: 23.29 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.646e-05/0.3557, allocations: 11.44 kB / 0.8132 GB, free: 23.28 MB / 378.7 MB Notification: Performance of SimCode: time 1.395e-06/0.3557, allocations: 4.062 kB / 0.8132 GB, free: 23.28 MB / 378.7 MB Notification: Performance of Templates: time 0.002985/0.3587, allocations: 0.6462 MB / 0.8138 GB, free: 22.67 MB / 378.7 MB