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.001462/0.001465, allocations: 187.3 kB / 15.77 MB, free: 6.375 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.6984/0.6984, allocations: 82.93 MB / 99.42 MB, free: 2.25 MB / 74.72 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.962/1.962, allocations: 205.4 MB / 325.4 MB, free: 6.551 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001021/0.001021, allocations: 94.77 kB / 393.6 MB, free: 11.34 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004606/0.000461, allocations: 12 kB / 471.6 MB, free: 13.29 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.39/0.3904, allocations: 67.43 MB / 0.5264 GB, free: 55.54 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.001286/0.3918, allocations: 0.9534 MB / 0.5273 GB, free: 54.84 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008934/0.3927, allocations: 497.8 kB / 0.5278 GB, free: 54.5 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.854e-05/0.3928, allocations: 0 / 0.5278 GB, free: 54.5 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 2.843e-05/0.3928, allocations: 5.984 kB / 0.5278 GB, free: 54.5 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 1.674e-05/0.3928, allocations: 0 / 0.5278 GB, free: 54.5 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002882/0.3931, allocations: 32.53 kB / 0.5278 GB, free: 54.48 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 4.144e-05/0.3932, allocations: 12.95 kB / 0.5278 GB, free: 54.48 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.48e-05/0.3932, allocations: 1.781 kB / 0.5278 GB, free: 54.48 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.245e-05/0.3933, allocations: 8.797 kB / 0.5279 GB, free: 54.47 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.496e-05/0.3933, allocations: 5.469 kB / 0.5279 GB, free: 54.47 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.111e-05/0.3933, allocations: 1.062 kB / 0.5279 GB, free: 54.47 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001403/0.3935, allocations: 41.61 kB / 0.5279 GB, free: 54.46 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.002e-05/0.3936, allocations: 16.45 kB / 0.5279 GB, free: 54.45 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.481e-05/0.3936, allocations: 32.7 kB / 0.528 GB, free: 54.42 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000101/0.3937, allocations: 27.41 kB / 0.528 GB, free: 54.42 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.661e-06/0.3937, allocations: 0 / 0.528 GB, free: 54.42 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.777e-06/0.3937, allocations: 0.6094 kB / 0.528 GB, free: 54.42 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.036e-06/0.3938, allocations: 0 / 0.528 GB, free: 54.42 MB / 410.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.0002639/0.394, allocations: 339.4 kB / 0.5283 GB, free: 54.05 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.3941, allocations: 18.12 kB / 0.5283 GB, free: 54.05 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.34e-05/0.3941, allocations: 5.281 kB / 0.5283 GB, free: 54.04 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.437e-05/0.3942, allocations: 160.3 kB / 0.5285 GB, free: 53.85 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.525e-05/0.3942, allocations: 1.375 kB / 0.5285 GB, free: 53.85 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.731e-05/0.3942, allocations: 7.406 kB / 0.5285 GB, free: 53.84 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001078/0.3944, allocations: 48.09 kB / 0.5285 GB, free: 53.81 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.72e-06/0.3944, allocations: 0 / 0.5285 GB, free: 53.81 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.68e-06/0.3944, allocations: 1.375 kB / 0.5285 GB, free: 53.81 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.384e-06/0.3944, allocations: 4 kB / 0.5285 GB, free: 53.8 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.503e-05/0.3945, allocations: 16.59 kB / 0.5286 GB, free: 53.8 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001099/0.3946, allocations: 153.4 kB / 0.5287 GB, free: 53.61 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.533e-05/0.3946, allocations: 29.72 kB / 0.5287 GB, free: 53.58 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.015e-06/0.3947, allocations: 0 / 0.5287 GB, free: 53.58 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001397/0.3948, allocations: 68.11 kB / 0.5288 GB, free: 53.52 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 2.345e-06/0.3948, allocations: 4 kB / 0.5288 GB, free: 53.52 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.000259/0.3951, allocations: 173.8 kB / 0.529 GB, free: 53.38 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.923e-05/0.3952, allocations: 65.34 kB / 0.529 GB, free: 53.31 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.593e-05/0.3952, allocations: 95.7 kB / 0.5291 GB, free: 53.21 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.955e-05/0.3952, allocations: 33.77 kB / 0.5291 GB, free: 53.17 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.694e-05/0.3953, allocations: 80.14 kB / 0.5292 GB, free: 53.09 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.82e-05/0.3953, allocations: 13.39 kB / 0.5292 GB, free: 53.08 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.218e-06/0.3953, allocations: 0 / 0.5292 GB, free: 53.08 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.571e-05/0.3954, allocations: 323.6 kB / 0.5295 GB, free: 52.76 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.262e-05/0.3954, allocations: 18.8 kB / 0.5296 GB, free: 52.76 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.409e-05/0.3955, allocations: 66.02 kB / 0.5296 GB, free: 52.7 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.537e-05/0.3956, allocations: 33.09 kB / 0.5297 GB, free: 52.68 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.705e-06/0.3956, allocations: 1.375 kB / 0.5297 GB, free: 52.68 MB / 410.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002172/0.3958, allocations: 116.3 kB / 0.5298 GB, free: 52.62 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/0.3959, allocations: 10.48 kB / 0.5298 GB, free: 52.62 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.972e-06/0.3959, allocations: 2.125 kB / 0.5298 GB, free: 52.62 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.803e-05/0.3959, allocations: 2.375 kB / 0.5298 GB, free: 52.62 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.835e-05/0.396, allocations: 16.39 kB / 0.5298 GB, free: 52.61 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.082e-06/0.396, allocations: 5.562 kB / 0.5298 GB, free: 52.61 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.049e-05/0.3961, allocations: 11.39 kB / 0.5298 GB, free: 52.6 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.397e-05/0.3961, allocations: 12.78 kB / 0.5298 GB, free: 52.59 MB / 410.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 9.05e-05/0.3962, allocations: 124.2 kB / 0.5299 GB, free: 52.47 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.34e-05/0.3963, allocations: 8.781 kB / 0.53 GB, free: 52.46 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.394e-05/0.3963, allocations: 9.562 kB / 0.53 GB, free: 52.46 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.765e-06/0.3963, allocations: 3.984 kB / 0.53 GB, free: 52.46 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.686e-06/0.3963, allocations: 4.812 kB / 0.53 GB, free: 52.45 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.795e-06/0.3963, allocations: 0.6094 kB / 0.53 GB, free: 52.45 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.557e-05/0.3964, allocations: 148.2 kB / 0.5301 GB, free: 52.27 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/0.3964, allocations: 1.594 kB / 0.5301 GB, free: 52.27 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.656e-06/0.3965, allocations: 0 / 0.5301 GB, free: 52.27 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.867e-06/0.3965, allocations: 1 kB / 0.5301 GB, free: 52.27 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.739e-06/0.3965, allocations: 2.25 kB / 0.5301 GB, free: 52.27 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.975e-06/0.3965, allocations: 3.953 kB / 0.5301 GB, free: 52.26 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.341e-06/0.3965, allocations: 0.6094 kB / 0.5301 GB, free: 52.26 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000158/0.3967, allocations: 105.2 kB / 0.5302 GB, free: 52.18 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.917e-05/0.3967, allocations: 79.39 kB / 0.5303 GB, free: 52.09 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.371e-05/0.3967, allocations: 5.141 kB / 0.5303 GB, free: 52.09 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.94e-05/0.3968, allocations: 1.312 kB / 0.5303 GB, free: 52.09 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.4e-05/0.3968, allocations: 8.516 kB / 0.5303 GB, free: 52.08 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.754e-05/0.3968, allocations: 4.016 kB / 0.5303 GB, free: 52.08 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.6e-05/0.3969, allocations: 79.97 kB / 0.5304 GB, free: 52 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.32e-07/0.3969, allocations: 0 / 0.5304 GB, free: 52 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003166/0.3972, allocations: 22.88 kB / 0.5304 GB, free: 52 MB / 410.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.0001848/0.3974, allocations: 126 kB / 0.5305 GB, free: 51.9 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001564/0.3976, allocations: 61.22 kB / 0.5306 GB, free: 51.88 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.702e-06/0.3976, allocations: 0 / 0.5306 GB, free: 51.88 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.092e-05/0.3976, allocations: 17.02 kB / 0.5306 GB, free: 51.88 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000106/0.3978, allocations: 2.062 kB / 0.5306 GB, free: 51.88 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002564/0.398, allocations: 121.8 kB / 0.5307 GB, free: 51.77 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001194/0.3982, allocations: 0.6847 MB / 0.5314 GB, free: 51.07 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.25e-05/0.3982, allocations: 4.219 kB / 0.5314 GB, free: 51.07 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.629e-05/0.3982, allocations: 9.906 kB / 0.5314 GB, free: 51.06 MB / 410.7 MB Notification: Performance of SimCode: time 1.247e-06/0.3982, allocations: 1.156 kB / 0.5314 GB, free: 51.06 MB / 410.7 MB Notification: Performance of Templates: time 0.00317/0.4014, allocations: 0.6351 MB / 0.532 GB, free: 51 MB / 410.7 MB