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.001085/0.001085, allocations: 106.5 kB / 15.98 MB, free: 6.355 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.001061/0.001061, allocations: 191.3 kB / 16.91 MB, free: 6.195 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.292/1.292, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.751/0.751, allocations: 122.9 MB / 413.6 MB, free: 44 kB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 59.89 kB / 0.4906 GB, free: 7.777 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3258/0.3271, allocations: 77.92 MB / 0.5667 GB, free: 32.72 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.002115/0.3292, allocations: 1.303 MB / 0.568 GB, free: 31.82 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007022/0.3299, allocations: 476 kB / 0.5685 GB, free: 31.51 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.474e-05/0.33, allocations: 0 / 0.5685 GB, free: 31.51 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.942e-05/0.33, allocations: 4.734 kB / 0.5685 GB, free: 31.5 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.438e-05/0.3301, allocations: 3.156 kB / 0.5685 GB, free: 31.5 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002938/0.3304, allocations: 44.38 kB / 0.5685 GB, free: 31.49 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.439e-05/0.3304, allocations: 14.59 kB / 0.5685 GB, free: 31.48 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.498e-05/0.3305, allocations: 3.016 kB / 0.5685 GB, free: 31.48 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.253e-05/0.3305, allocations: 12.02 kB / 0.5685 GB, free: 31.48 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.444e-05/0.3306, allocations: 10.03 kB / 0.5685 GB, free: 31.47 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.794e-06/0.3306, allocations: 2.188 kB / 0.5685 GB, free: 31.47 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001481/0.3307, allocations: 70.14 kB / 0.5686 GB, free: 31.45 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.932e-05/0.3308, allocations: 8.578 kB / 0.5686 GB, free: 31.45 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.278e-05/0.3308, allocations: 15.09 kB / 0.5686 GB, free: 31.44 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001219/0.331, allocations: 52.44 kB / 0.5687 GB, free: 31.43 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.331, allocations: 1.125 kB / 0.5687 GB, free: 31.43 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.331, allocations: 0 / 0.5687 GB, free: 31.43 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.868e-06/0.331, allocations: 0 / 0.5687 GB, free: 31.43 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.0002688/0.3313, allocations: 338.3 kB / 0.569 GB, free: 31.07 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.251e-05/0.3313, allocations: 10.28 kB / 0.569 GB, free: 31.07 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.051e-05/0.3313, allocations: 6.031 kB / 0.569 GB, free: 31.07 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.711e-05/0.3314, allocations: 171.1 kB / 0.5692 GB, free: 30.87 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.456e-06/0.3314, allocations: 1.5 kB / 0.5692 GB, free: 30.87 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.305e-05/0.3314, allocations: 4.016 kB / 0.5692 GB, free: 30.87 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.338e-05/0.3315, allocations: 56.47 kB / 0.5692 GB, free: 30.82 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.832e-06/0.3315, allocations: 1.938 kB / 0.5692 GB, free: 30.82 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.536e-06/0.3315, allocations: 6 kB / 0.5693 GB, free: 30.82 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.486e-06/0.3316, allocations: 0 / 0.5693 GB, free: 30.82 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.702e-05/0.3316, allocations: 9.484 kB / 0.5693 GB, free: 30.82 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.313e-05/0.3317, allocations: 155.8 kB / 0.5694 GB, free: 30.63 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.29e-05/0.3317, allocations: 32.2 kB / 0.5694 GB, free: 30.6 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.238e-05/0.3318, allocations: 22.22 kB / 0.5695 GB, free: 30.58 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.382e-06/0.3318, allocations: 7 kB / 0.5695 GB, free: 30.58 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001103/0.3319, allocations: 79.02 kB / 0.5695 GB, free: 30.51 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 1.172e-06/0.3319, allocations: 2.156 kB / 0.5695 GB, free: 30.51 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.0001813/0.3321, allocations: 90.58 kB / 0.5696 GB, free: 30.47 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.856e-05/0.3321, allocations: 59.92 kB / 0.5697 GB, free: 30.41 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.068e-05/0.3322, allocations: 99.22 kB / 0.5698 GB, free: 30.3 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.232e-05/0.3322, allocations: 29.33 kB / 0.5698 GB, free: 30.27 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.491e-05/0.3322, allocations: 84.08 kB / 0.5699 GB, free: 30.18 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.455e-05/0.3322, allocations: 13.11 kB / 0.5699 GB, free: 30.18 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.441e-05/0.3323, allocations: 29.84 kB / 0.5699 GB, free: 30.15 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.303e-05/0.3323, allocations: 319.2 kB / 0.5702 GB, free: 29.84 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.058e-05/0.3324, allocations: 20.31 kB / 0.5703 GB, free: 29.83 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.436e-05/0.3324, allocations: 68.02 kB / 0.5703 GB, free: 29.77 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.588e-05/0.3325, allocations: 96.52 kB / 0.5704 GB, free: 29.7 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.3325, allocations: 1.031 kB / 0.5704 GB, free: 29.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001498/0.3327, allocations: 118.5 kB / 0.5705 GB, free: 29.63 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.3327, allocations: 12.8 kB / 0.5705 GB, free: 29.63 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.3327, allocations: 1.312 kB / 0.5705 GB, free: 29.63 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.3327, allocations: 2.844 kB / 0.5705 GB, free: 29.63 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.183e-05/0.3328, allocations: 11.23 kB / 0.5706 GB, free: 29.63 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.3328, allocations: 6.312 kB / 0.5706 GB, free: 29.62 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.48e-05/0.3329, allocations: 12.34 kB / 0.5706 GB, free: 29.62 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.446e-06/0.3329, allocations: 5.094 kB / 0.5706 GB, free: 29.62 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.632e-05/0.333, allocations: 122.5 kB / 0.5707 GB, free: 29.5 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.279e-05/0.333, allocations: 11.5 kB / 0.5707 GB, free: 29.49 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.158e-05/0.333, allocations: 4.672 kB / 0.5707 GB, free: 29.49 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.333, allocations: 0 / 0.5707 GB, free: 29.49 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.219e-06/0.333, allocations: 1.281 kB / 0.5707 GB, free: 29.49 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.333, allocations: 2.109 kB / 0.5707 GB, free: 29.49 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.167e-05/0.3331, allocations: 148.9 kB / 0.5709 GB, free: 29.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.3331, allocations: 3.938 kB / 0.5709 GB, free: 29.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.097e-06/0.3332, allocations: 1.344 kB / 0.5709 GB, free: 29.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.3332, allocations: 6.062 kB / 0.5709 GB, free: 29.29 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.017e-06/0.3332, allocations: 1.984 kB / 0.5709 GB, free: 29.29 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.3332, allocations: 0 / 0.5709 GB, free: 29.29 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.3332, allocations: 3.938 kB / 0.5709 GB, free: 29.29 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001088/0.3333, allocations: 110.1 kB / 0.571 GB, free: 29.21 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.904e-05/0.3333, allocations: 83.22 kB / 0.5711 GB, free: 29.11 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.833e-05/0.3334, allocations: 8.25 kB / 0.5711 GB, free: 29.11 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.369e-05/0.3334, allocations: 1.516 kB / 0.5711 GB, free: 29.11 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.156e-05/0.3334, allocations: 2.234 kB / 0.5711 GB, free: 29.11 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.188e-05/0.3334, allocations: 2.562 kB / 0.5711 GB, free: 29.11 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.213e-05/0.3334, allocations: 76.12 kB / 0.5711 GB, free: 29.04 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3334, allocations: 5.562 kB / 0.5711 GB, free: 29.03 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002294/0.3337, allocations: 25.97 kB / 0.5712 GB, free: 29.02 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.0001589/0.3338, allocations: 125.9 kB / 0.5713 GB, free: 28.93 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001289/0.334, allocations: 62.8 kB / 0.5714 GB, free: 28.92 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.334, allocations: 0 / 0.5714 GB, free: 28.92 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.874e-05/0.334, allocations: 17.08 kB / 0.5714 GB, free: 28.91 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001303/0.3341, allocations: 2.531 kB / 0.5714 GB, free: 28.91 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002106/0.3344, allocations: 125.6 kB / 0.5715 GB, free: 28.8 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.961e-05/0.3345, allocations: 0.6788 MB / 0.5722 GB, free: 28.1 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.135e-05/0.3345, allocations: 6.109 kB / 0.5722 GB, free: 28.1 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.36e-05/0.3345, allocations: 10.62 kB / 0.5722 GB, free: 28.09 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3345, allocations: 0.625 kB / 0.5722 GB, free: 28.09 MB / 446.1 MB Notification: Performance of Templates: time 0.002679/0.3372, allocations: 0.6595 MB / 0.5728 GB, free: 28.07 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)