Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.001075/0.001075, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001106/0.001107, allocations: 194.6 kB / 16.14 MB, free: 6.656 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.362/1.362, allocations: 222.9 MB / 239.8 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7679/0.7679, allocations: 132.2 MB / 422.2 MB, free: 2 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001321/0.001321, allocations: 63.12 kB / 0.5011 GB, free: 4.262 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4269/0.4282, allocations: 80.2 MB / 0.5795 GB, free: 4.551 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.002936/0.4312, allocations: 1.302 MB / 0.5807 GB, free: 3.641 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001008/0.4322, allocations: 494.7 kB / 0.5812 GB, free: 3.312 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.969e-05/0.4323, allocations: 0 / 0.5812 GB, free: 3.312 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 4.027e-05/0.4323, allocations: 0 / 0.5812 GB, free: 3.312 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 8.12e-05/0.4324, allocations: 1.547 kB / 0.5812 GB, free: 3.312 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003782/0.4328, allocations: 49.44 kB / 0.5813 GB, free: 3.289 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 8.628e-05/0.4329, allocations: 25.86 kB / 0.5813 GB, free: 3.281 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.692e-05/0.4329, allocations: 1.641 kB / 0.5813 GB, free: 3.281 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.85e-05/0.433, allocations: 3.5 kB / 0.5813 GB, free: 3.281 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.761e-05/0.433, allocations: 9.969 kB / 0.5813 GB, free: 3.277 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.028e-05/0.4331, allocations: 0.7188 kB / 0.5813 GB, free: 3.277 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002287/0.4333, allocations: 69.62 kB / 0.5814 GB, free: 3.254 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 7.225e-05/0.4334, allocations: 12.39 kB / 0.5814 GB, free: 3.25 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.89e-05/0.4334, allocations: 13.14 kB / 0.5814 GB, free: 3.242 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002046/0.4336, allocations: 71.36 kB / 0.5815 GB, free: 3.223 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.4336, allocations: 4 kB / 0.5815 GB, free: 3.219 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.4337, allocations: 0 / 0.5815 GB, free: 3.219 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.53e-06/0.4337, allocations: 1.281 kB / 0.5815 GB, free: 3.219 MB / 430.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.0004297/0.4341, allocations: 336.5 kB / 0.5818 GB, free: 2.863 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.031e-05/0.4342, allocations: 8.594 kB / 0.5818 GB, free: 2.863 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.727e-05/0.4342, allocations: 3.344 kB / 0.5818 GB, free: 2.863 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.28e-05/0.4343, allocations: 165.7 kB / 0.582 GB, free: 2.664 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.49e-05/0.4343, allocations: 6.719 kB / 0.582 GB, free: 2.66 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.361e-05/0.4343, allocations: 4.938 kB / 0.582 GB, free: 2.656 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001334/0.4345, allocations: 53.77 kB / 0.582 GB, free: 2.617 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-06/0.4345, allocations: 0.5156 kB / 0.582 GB, free: 2.617 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.4345, allocations: 0 / 0.582 GB, free: 2.617 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.095e-06/0.4345, allocations: 1.375 kB / 0.582 GB, free: 2.617 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.796e-05/0.4346, allocations: 16.3 kB / 0.582 GB, free: 2.609 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001593/0.4347, allocations: 153.8 kB / 0.5822 GB, free: 2.418 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.627e-05/0.4348, allocations: 28.64 kB / 0.5822 GB, free: 2.391 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.369e-05/0.4349, allocations: 26.11 kB / 0.5822 GB, free: 2.371 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.001e-05/0.4349, allocations: 4 kB / 0.5822 GB, free: 2.367 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001701/0.435, allocations: 72.39 kB / 0.5823 GB, free: 2.309 MB / 430.1 MB Notification: Performance of pre-optimization done (n=7): time 2.424e-06/0.4351, allocations: 0.9688 kB / 0.5823 GB, free: 2.309 MB / 430.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002308/0.4353, allocations: 99 kB / 0.5824 GB, free: 2.258 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.505e-05/0.4353, allocations: 56.61 kB / 0.5825 GB, free: 2.195 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.019e-05/0.4354, allocations: 91.48 kB / 0.5825 GB, free: 2.098 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.266e-05/0.4354, allocations: 32.62 kB / 0.5826 GB, free: 2.062 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.505e-05/0.4354, allocations: 85.42 kB / 0.5827 GB, free: 1.977 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.404e-05/0.4354, allocations: 20.91 kB / 0.5827 GB, free: 1.961 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.061e-05/0.4355, allocations: 29.53 kB / 0.5827 GB, free: 1.938 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.608e-05/0.4355, allocations: 314.5 kB / 0.583 GB, free: 1.625 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.571e-05/0.4356, allocations: 24.84 kB / 0.583 GB, free: 1.617 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.742e-05/0.4356, allocations: 68.67 kB / 0.5831 GB, free: 1.551 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001076/0.4358, allocations: 96.83 kB / 0.5832 GB, free: 1.473 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.4358, allocations: 1.156 kB / 0.5832 GB, free: 1.473 MB / 430.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001518/0.4359, allocations: 116.9 kB / 0.5833 GB, free: 1.41 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.4359, allocations: 6.469 kB / 0.5833 GB, free: 1.41 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.463e-06/0.4359, allocations: 2.312 kB / 0.5833 GB, free: 1.41 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/0.436, allocations: 2.156 kB / 0.5833 GB, free: 1.41 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.802e-05/0.436, allocations: 15.36 kB / 0.5833 GB, free: 1.406 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.4361, allocations: 3.219 kB / 0.5833 GB, free: 1.406 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.634e-05/0.4361, allocations: 19.08 kB / 0.5833 GB, free: 1.391 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.03e-05/0.4361, allocations: 4.25 kB / 0.5833 GB, free: 1.391 MB / 430.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 6.974e-05/0.4362, allocations: 125.3 kB / 0.5835 GB, free: 1.27 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.207e-05/0.4362, allocations: 9.594 kB / 0.5835 GB, free: 1.262 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.886e-05/0.4362, allocations: 8.719 kB / 0.5835 GB, free: 1.254 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.4362, allocations: 1.281 kB / 0.5835 GB, free: 1.254 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.586e-06/0.4362, allocations: 0 / 0.5835 GB, free: 1.254 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.4363, allocations: 4.516 kB / 0.5835 GB, free: 1.25 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.769e-05/0.4363, allocations: 153.5 kB / 0.5836 GB, free: 1.059 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.4363, allocations: 0.7031 kB / 0.5836 GB, free: 1.059 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.017e-06/0.4364, allocations: 0 / 0.5836 GB, free: 1.059 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.4364, allocations: 5.312 kB / 0.5836 GB, free: 1.055 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.516e-06/0.4364, allocations: 2.609 kB / 0.5836 GB, free: 1.055 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.61e-07/0.4364, allocations: 0 / 0.5836 GB, free: 1.055 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-06/0.4364, allocations: 0.7969 kB / 0.5836 GB, free: 1.055 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000119/0.4365, allocations: 112.9 kB / 0.5837 GB, free: 0.9688 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.61e-05/0.4365, allocations: 82.69 kB / 0.5838 GB, free: 0.8711 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.8e-05/0.4366, allocations: 9.922 kB / 0.5838 GB, free: 0.8672 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.249e-05/0.4366, allocations: 0 / 0.5838 GB, free: 0.8672 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.841e-05/0.4366, allocations: 1.766 kB / 0.5838 GB, free: 0.8672 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.382e-05/0.4366, allocations: 3.797 kB / 0.5838 GB, free: 0.8672 MB / 430.1 MB Notification: Performance of sorting global known variables: time 1.195e-05/0.4366, allocations: 75.28 kB / 0.5839 GB, free: 0.793 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4366, allocations: 0 / 0.5839 GB, free: 0.793 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002363/0.4369, allocations: 32.25 kB / 0.5839 GB, free: 0.7812 MB / 430.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.0001664/0.437, allocations: 130.7 kB / 0.5841 GB, free: 0.6875 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001323/0.4372, allocations: 58.92 kB / 0.5841 GB, free: 0.6719 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.4372, allocations: 0 / 0.5841 GB, free: 0.6719 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 3.103e-05/0.4372, allocations: 16.62 kB / 0.5841 GB, free: 0.668 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001274/0.4374, allocations: 6.016 kB / 0.5841 GB, free: 0.6641 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002541/0.4376, allocations: 126.9 kB / 0.5843 GB, free: 0.543 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000162/0.4378, allocations: 0.6774 MB / 0.5849 GB, free: 15.85 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.282e-05/0.4378, allocations: 9.531 kB / 0.5849 GB, free: 15.84 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.411e-05/0.4378, allocations: 10.09 kB / 0.5849 GB, free: 15.84 MB / 446.1 MB Notification: Performance of SimCode: time 2.11e-07/0.4378, allocations: 0 / 0.5849 GB, free: 15.84 MB / 446.1 MB Notification: Performance of Templates: time 0.00291/0.4408, allocations: 0.641 MB / 0.5856 GB, free: 15.78 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.makefile (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.sim & ./IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe 2>&1)