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.001081/0.001081, allocations: 89.61 kB / 16.67 MB, free: 6.598 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.001209/0.001209, allocations: 183.2 kB / 17.58 MB, free: 6.184 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.505/1.505, allocations: 223.3 MB / 241.6 MB, free: 208 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7142/0.7142, allocations: 115.5 MB / 408.2 MB, free: 7.086 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003818/0.0003821, allocations: 12 kB / 496.6 MB, free: 15.64 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4625/0.4629, allocations: 77.52 MB / 0.5606 GB, free: 36.26 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.001366/0.4643, allocations: 0.97 MB / 0.5616 GB, free: 35.54 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.000835/0.4652, allocations: 469.3 kB / 0.562 GB, free: 35.23 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.308e-05/0.4652, allocations: 0 / 0.562 GB, free: 35.23 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.02e-05/0.4652, allocations: 0 / 0.562 GB, free: 35.23 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.738e-05/0.4653, allocations: 2.375 kB / 0.562 GB, free: 35.23 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003143/0.4656, allocations: 46.45 kB / 0.5621 GB, free: 35.21 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.465e-05/0.4657, allocations: 23.3 kB / 0.5621 GB, free: 35.2 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.33e-05/0.4658, allocations: 2.5 kB / 0.5621 GB, free: 35.2 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.435e-05/0.4658, allocations: 3.703 kB / 0.5621 GB, free: 35.2 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.196e-05/0.4658, allocations: 12.94 kB / 0.5621 GB, free: 35.2 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.417e-06/0.4659, allocations: 0 / 0.5621 GB, free: 35.2 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001683/0.466, allocations: 73.84 kB / 0.5622 GB, free: 35.17 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.319e-05/0.4661, allocations: 10.64 kB / 0.5622 GB, free: 35.17 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.532e-05/0.4661, allocations: 34.28 kB / 0.5622 GB, free: 35.13 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000117/0.4663, allocations: 51.88 kB / 0.5623 GB, free: 35.12 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.4663, allocations: 0 / 0.5623 GB, free: 35.12 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.4663, allocations: 0 / 0.5623 GB, free: 35.12 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.22e-06/0.4663, allocations: 0.6562 kB / 0.5623 GB, free: 35.12 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.0002832/0.4666, allocations: 331.7 kB / 0.5626 GB, free: 34.77 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.4666, allocations: 14.05 kB / 0.5626 GB, free: 34.76 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.404e-05/0.4667, allocations: 7.844 kB / 0.5626 GB, free: 34.76 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.178e-05/0.4667, allocations: 166.3 kB / 0.5628 GB, free: 34.56 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.443e-05/0.4668, allocations: 1.625 kB / 0.5628 GB, free: 34.56 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.428e-05/0.4668, allocations: 3.469 kB / 0.5628 GB, free: 34.56 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001115/0.4669, allocations: 57.36 kB / 0.5628 GB, free: 34.52 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.052e-06/0.4669, allocations: 2.062 kB / 0.5628 GB, free: 34.52 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.538e-06/0.4669, allocations: 0 / 0.5628 GB, free: 34.52 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.4669, allocations: 1.062 kB / 0.5628 GB, free: 34.52 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.986e-05/0.467, allocations: 9.172 kB / 0.5628 GB, free: 34.52 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001144/0.4671, allocations: 167.4 kB / 0.563 GB, free: 34.31 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.806e-05/0.4671, allocations: 28.59 kB / 0.563 GB, free: 34.29 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.857e-05/0.4672, allocations: 18.58 kB / 0.563 GB, free: 34.27 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.676e-06/0.4672, allocations: 2.406 kB / 0.563 GB, free: 34.27 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001323/0.4673, allocations: 68.2 kB / 0.5631 GB, free: 34.22 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 1.072e-06/0.4673, allocations: 0.9062 kB / 0.5631 GB, free: 34.22 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002117/0.4676, allocations: 94.59 kB / 0.5632 GB, free: 34.17 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.073e-05/0.4676, allocations: 59.41 kB / 0.5633 GB, free: 34.11 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.749e-05/0.4676, allocations: 95.22 kB / 0.5633 GB, free: 34.01 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.654e-05/0.4677, allocations: 29.38 kB / 0.5634 GB, free: 33.98 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.628e-05/0.4677, allocations: 80.89 kB / 0.5634 GB, free: 33.89 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.517e-05/0.4677, allocations: 21.83 kB / 0.5635 GB, free: 33.88 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.201e-05/0.4678, allocations: 20.42 kB / 0.5635 GB, free: 33.86 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.983e-05/0.4678, allocations: 319.5 kB / 0.5638 GB, free: 33.54 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.348e-05/0.4679, allocations: 21.84 kB / 0.5638 GB, free: 33.54 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.953e-05/0.4679, allocations: 66.16 kB / 0.5639 GB, free: 33.48 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001167/0.4681, allocations: 100.7 kB / 0.564 GB, free: 33.4 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.4681, allocations: 0 / 0.564 GB, free: 33.4 MB / 446.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001557/0.4682, allocations: 115.4 kB / 0.5641 GB, free: 33.34 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.4683, allocations: 14.69 kB / 0.5641 GB, free: 33.33 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.4683, allocations: 2.531 kB / 0.5641 GB, free: 33.33 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.4683, allocations: 3.375 kB / 0.5641 GB, free: 33.33 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.985e-05/0.4684, allocations: 15.55 kB / 0.5641 GB, free: 33.33 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.4684, allocations: 4.266 kB / 0.5641 GB, free: 33.33 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.522e-05/0.4684, allocations: 10.28 kB / 0.5641 GB, free: 33.32 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.023e-05/0.4684, allocations: 5.5 kB / 0.5641 GB, free: 33.32 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 7.886e-05/0.4685, allocations: 133 kB / 0.5643 GB, free: 33.19 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.008e-05/0.4685, allocations: 5.938 kB / 0.5643 GB, free: 33.19 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.06e-05/0.4686, allocations: 5.172 kB / 0.5643 GB, free: 33.18 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.4686, allocations: 0 / 0.5643 GB, free: 33.18 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.4686, allocations: 2.281 kB / 0.5643 GB, free: 33.18 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.4686, allocations: 0.7969 kB / 0.5643 GB, free: 33.18 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.772e-05/0.4687, allocations: 156.1 kB / 0.5644 GB, free: 32.99 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.4687, allocations: 1.25 kB / 0.5644 GB, free: 32.99 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.016e-06/0.4687, allocations: 1.25 kB / 0.5644 GB, free: 32.99 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.4687, allocations: 9.328 kB / 0.5644 GB, free: 32.98 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.387e-06/0.4687, allocations: 1.953 kB / 0.5644 GB, free: 32.98 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.4687, allocations: 1.469 kB / 0.5644 GB, free: 32.98 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.4687, allocations: 5.844 kB / 0.5644 GB, free: 32.98 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001271/0.4689, allocations: 101.8 kB / 0.5645 GB, free: 32.9 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.344e-05/0.4689, allocations: 84.05 kB / 0.5646 GB, free: 32.8 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.827e-05/0.4689, allocations: 4.906 kB / 0.5646 GB, free: 32.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.234e-05/0.469, allocations: 1.375 kB / 0.5646 GB, free: 32.8 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.603e-05/0.469, allocations: 5.906 kB / 0.5646 GB, free: 32.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.467e-05/0.469, allocations: 3.234 kB / 0.5646 GB, free: 32.8 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.491e-05/0.469, allocations: 77.72 kB / 0.5647 GB, free: 32.73 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.469, allocations: 0 / 0.5647 GB, free: 32.73 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002336/0.4693, allocations: 27.3 kB / 0.5647 GB, free: 32.72 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.0001847/0.4695, allocations: 126.6 kB / 0.5649 GB, free: 32.63 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001462/0.4696, allocations: 54.89 kB / 0.5649 GB, free: 32.62 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.4696, allocations: 1.562 kB / 0.5649 GB, free: 32.62 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.553e-05/0.4697, allocations: 21.31 kB / 0.5649 GB, free: 32.61 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001347/0.4698, allocations: 6.438 kB / 0.5649 GB, free: 32.61 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002671/0.4701, allocations: 162.2 kB / 0.5651 GB, free: 32.45 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000114/0.4702, allocations: 0.6776 MB / 0.5658 GB, free: 31.76 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.358e-05/0.4702, allocations: 10.19 kB / 0.5658 GB, free: 31.75 MB / 446.1 MB Notification: Performance of SimCode: time 2.8e-07/0.4702, allocations: 0 / 0.5658 GB, free: 31.75 MB / 446.1 MB Notification: Performance of Templates: time 0.002544/0.4728, allocations: 0.8034 MB / 0.5666 GB, free: 31.74 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)