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.00147/0.00147, allocations: 104.1 kB / 16.52 MB, free: 6.727 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.001539/0.001539, allocations: 195.2 kB / 17.45 MB, free: 6.051 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.389/1.389, allocations: 222.9 MB / 241.1 MB, free: 13.64 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7184/0.7184, allocations: 115.3 MB / 406.6 MB, free: 6.535 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001622/0.001622, allocations: 68.12 kB / 493.6 MB, free: 0.8281 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4576/0.4593, allocations: 76.17 MB / 0.5564 GB, free: 35.57 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.002496/0.4618, allocations: 1.306 MB / 0.5577 GB, free: 34.68 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008132/0.4627, allocations: 485.6 kB / 0.5581 GB, free: 34.36 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.651e-05/0.4627, allocations: 1.531 kB / 0.5581 GB, free: 34.36 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.242e-05/0.4627, allocations: 0 / 0.5581 GB, free: 34.36 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 7.648e-05/0.4628, allocations: 4.656 kB / 0.5582 GB, free: 34.35 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000313/0.4631, allocations: 42.16 kB / 0.5582 GB, free: 34.34 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.671e-05/0.4632, allocations: 20.64 kB / 0.5582 GB, free: 34.33 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.987e-05/0.4633, allocations: 6.406 kB / 0.5582 GB, free: 34.33 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.403e-05/0.4633, allocations: 9.703 kB / 0.5582 GB, free: 34.32 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.372e-05/0.4633, allocations: 9.188 kB / 0.5582 GB, free: 34.32 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.568e-06/0.4634, allocations: 0 / 0.5582 GB, free: 34.32 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001639/0.4635, allocations: 74.61 kB / 0.5583 GB, free: 34.3 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.349e-05/0.4636, allocations: 10.58 kB / 0.5583 GB, free: 34.29 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.594e-05/0.4636, allocations: 9.125 kB / 0.5583 GB, free: 34.29 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001267/0.4638, allocations: 45.78 kB / 0.5584 GB, free: 34.28 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.4638, allocations: 2.375 kB / 0.5584 GB, free: 34.28 MB / 446.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.4638, allocations: 0 / 0.5584 GB, free: 34.28 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.388e-06/0.4638, allocations: 1.375 kB / 0.5584 GB, free: 34.28 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.0003347/0.4641, allocations: 333 kB / 0.5587 GB, free: 33.93 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.4642, allocations: 15.16 kB / 0.5587 GB, free: 33.93 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.134e-05/0.4642, allocations: 4.844 kB / 0.5587 GB, free: 33.92 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.821e-05/0.4643, allocations: 169.5 kB / 0.5589 GB, free: 33.72 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.125e-05/0.4643, allocations: 2.656 kB / 0.5589 GB, free: 33.72 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.156e-05/0.4643, allocations: 4.922 kB / 0.5589 GB, free: 33.72 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001241/0.4645, allocations: 56.88 kB / 0.5589 GB, free: 33.68 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.243e-06/0.4645, allocations: 0.7969 kB / 0.5589 GB, free: 33.68 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.886e-06/0.4645, allocations: 2.688 kB / 0.5589 GB, free: 33.68 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.4645, allocations: 3.938 kB / 0.5589 GB, free: 33.67 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.177e-05/0.4645, allocations: 13.34 kB / 0.559 GB, free: 33.67 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000127/0.4647, allocations: 153.7 kB / 0.5591 GB, free: 33.48 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.096e-05/0.4647, allocations: 28.53 kB / 0.5591 GB, free: 33.45 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.868e-05/0.4648, allocations: 20.02 kB / 0.5591 GB, free: 33.44 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.678e-06/0.4648, allocations: 1.375 kB / 0.5591 GB, free: 33.44 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000135/0.4649, allocations: 74.86 kB / 0.5592 GB, free: 33.38 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 1.673e-06/0.4649, allocations: 1.266 kB / 0.5592 GB, free: 33.38 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.00022/0.4652, allocations: 90.72 kB / 0.5593 GB, free: 33.34 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.497e-05/0.4652, allocations: 61.75 kB / 0.5594 GB, free: 33.27 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.676e-05/0.4652, allocations: 91.27 kB / 0.5595 GB, free: 33.17 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.694e-05/0.4653, allocations: 31.72 kB / 0.5595 GB, free: 33.14 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.824e-05/0.4653, allocations: 88.08 kB / 0.5596 GB, free: 33.05 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.441e-05/0.4653, allocations: 19.36 kB / 0.5596 GB, free: 33.04 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.063e-05/0.4654, allocations: 23.88 kB / 0.5596 GB, free: 33.02 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.44e-05/0.4654, allocations: 318.7 kB / 0.5599 GB, free: 32.7 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.026e-05/0.4655, allocations: 27.2 kB / 0.5599 GB, free: 32.7 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.718e-05/0.4655, allocations: 70.14 kB / 0.56 GB, free: 32.63 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001151/0.4657, allocations: 95.36 kB / 0.5601 GB, free: 32.55 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.878e-06/0.4657, allocations: 1.031 kB / 0.5601 GB, free: 32.55 MB / 446.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001624/0.4658, allocations: 119.4 kB / 0.5602 GB, free: 32.49 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.4659, allocations: 9.656 kB / 0.5602 GB, free: 32.49 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.4659, allocations: 1.375 kB / 0.5602 GB, free: 32.49 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/0.4659, allocations: 8.844 kB / 0.5602 GB, free: 32.49 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.942e-05/0.466, allocations: 10 kB / 0.5602 GB, free: 32.49 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.928e-06/0.466, allocations: 2.281 kB / 0.5602 GB, free: 32.49 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.857e-05/0.466, allocations: 10.44 kB / 0.5603 GB, free: 32.48 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.181e-05/0.4661, allocations: 5.375 kB / 0.5603 GB, free: 32.48 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.578e-05/0.4661, allocations: 129.1 kB / 0.5604 GB, free: 32.36 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.053e-05/0.4662, allocations: 5.844 kB / 0.5604 GB, free: 32.36 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.819e-05/0.4662, allocations: 7.969 kB / 0.5604 GB, free: 32.35 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.4662, allocations: 1.469 kB / 0.5604 GB, free: 32.35 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.4662, allocations: 0 / 0.5604 GB, free: 32.35 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.4662, allocations: 0.7031 kB / 0.5604 GB, free: 32.35 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.51e-05/0.4663, allocations: 157.8 kB / 0.5605 GB, free: 32.15 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.4663, allocations: 0 / 0.5605 GB, free: 32.15 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.827e-06/0.4663, allocations: 2.188 kB / 0.5605 GB, free: 32.15 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.4663, allocations: 3.938 kB / 0.5606 GB, free: 32.15 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.957e-06/0.4663, allocations: 1.469 kB / 0.5606 GB, free: 32.15 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/0.4664, allocations: 0.9688 kB / 0.5606 GB, free: 32.15 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.4664, allocations: 3.062 kB / 0.5606 GB, free: 32.15 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001206/0.4665, allocations: 107.7 kB / 0.5607 GB, free: 32.07 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.038e-05/0.4665, allocations: 88.06 kB / 0.5607 GB, free: 31.97 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.884e-05/0.4665, allocations: 3.844 kB / 0.5607 GB, free: 31.97 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.41e-05/0.4666, allocations: 2 kB / 0.5607 GB, free: 31.97 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.904e-05/0.4666, allocations: 1.797 kB / 0.5608 GB, free: 31.97 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.313e-05/0.4666, allocations: 2.375 kB / 0.5608 GB, free: 31.97 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.46e-05/0.4666, allocations: 75.84 kB / 0.5608 GB, free: 31.89 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4666, allocations: 4.656 kB / 0.5608 GB, free: 31.89 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002365/0.4669, allocations: 34.27 kB / 0.5609 GB, free: 31.88 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.0001892/0.4671, allocations: 119.6 kB / 0.561 GB, free: 31.79 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001333/0.4672, allocations: 56.38 kB / 0.561 GB, free: 31.78 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.4672, allocations: 1 kB / 0.561 GB, free: 31.78 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.68e-05/0.4673, allocations: 24.41 kB / 0.5611 GB, free: 31.77 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000146/0.4674, allocations: 7.922 kB / 0.5611 GB, free: 31.77 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002812/0.4677, allocations: 145 kB / 0.5612 GB, free: 31.62 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001244/0.4678, allocations: 0.6787 MB / 0.5619 GB, free: 30.93 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.497e-05/0.4679, allocations: 12.89 kB / 0.5619 GB, free: 30.92 MB / 446.1 MB Notification: Performance of SimCode: time 2e-07/0.4679, allocations: 0 / 0.5619 GB, free: 30.92 MB / 446.1 MB Notification: Performance of Templates: time 0.002558/0.4704, allocations: 0.8058 MB / 0.5627 GB, free: 30.92 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)