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.00098/0.0009801, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001024/0.001024, allocations: 197 kB / 16.53 MB, free: 6.664 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.226/1.226, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7025/0.7025, allocations: 132.2 MB / 422.6 MB, free: 1.773 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001141/0.001141, allocations: 63.39 kB / 0.5018 GB, free: 3.84 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3451/0.3463, allocations: 80.2 MB / 0.5801 GB, free: 4.566 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.001955/0.3482, allocations: 1.233 MB / 0.5813 GB, free: 3.703 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006341/0.3489, allocations: 493.9 kB / 0.5818 GB, free: 3.375 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.545e-05/0.3489, allocations: 0 / 0.5818 GB, free: 3.375 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.346e-05/0.349, allocations: 0.6562 kB / 0.5818 GB, free: 3.375 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.121e-05/0.349, allocations: 5.625 kB / 0.5818 GB, free: 3.371 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002686/0.3493, allocations: 50.19 kB / 0.5819 GB, free: 3.352 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.869e-05/0.3493, allocations: 20.3 kB / 0.5819 GB, free: 3.34 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.452e-05/0.3494, allocations: 2.172 kB / 0.5819 GB, free: 3.34 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.859e-05/0.3494, allocations: 5.094 kB / 0.5819 GB, free: 3.34 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.946e-05/0.3494, allocations: 7.672 kB / 0.5819 GB, free: 3.336 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 7.594e-06/0.3495, allocations: 0 / 0.5819 GB, free: 3.336 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001415/0.3496, allocations: 71.97 kB / 0.582 GB, free: 3.309 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.537e-05/0.3497, allocations: 11.91 kB / 0.582 GB, free: 3.305 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.52e-05/0.3497, allocations: 16.88 kB / 0.582 GB, free: 3.293 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001174/0.3498, allocations: 55.22 kB / 0.582 GB, free: 3.281 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.3498, allocations: 1.359 kB / 0.582 GB, free: 3.281 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.3498, allocations: 0 / 0.582 GB, free: 3.281 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.148e-06/0.3498, allocations: 0 / 0.582 GB, free: 3.281 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.0002342/0.3501, allocations: 336.8 kB / 0.5824 GB, free: 2.926 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.843e-05/0.3501, allocations: 9.281 kB / 0.5824 GB, free: 2.926 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.019e-05/0.3502, allocations: 3.109 kB / 0.5824 GB, free: 2.926 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.304e-05/0.3502, allocations: 173.7 kB / 0.5825 GB, free: 2.719 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.588e-06/0.3502, allocations: 6.25 kB / 0.5825 GB, free: 2.715 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.045e-05/0.3502, allocations: 10.2 kB / 0.5826 GB, free: 2.707 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.786e-05/0.3503, allocations: 52.88 kB / 0.5826 GB, free: 2.668 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.48e-06/0.3503, allocations: 0 / 0.5826 GB, free: 2.668 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.086e-06/0.3504, allocations: 2.203 kB / 0.5826 GB, free: 2.668 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.456e-06/0.3504, allocations: 3.938 kB / 0.5826 GB, free: 2.664 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.424e-05/0.3504, allocations: 8.969 kB / 0.5826 GB, free: 2.664 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.761e-05/0.3505, allocations: 152 kB / 0.5828 GB, free: 2.473 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.898e-05/0.3505, allocations: 40.66 kB / 0.5828 GB, free: 2.434 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.29e-05/0.3506, allocations: 23.73 kB / 0.5828 GB, free: 2.418 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.061e-06/0.3506, allocations: 0 / 0.5828 GB, free: 2.418 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.972e-05/0.3507, allocations: 64 kB / 0.5829 GB, free: 2.367 MB / 430.1 MB Notification: Performance of pre-optimization done (n=7): time 1.092e-06/0.3507, allocations: 0 / 0.5829 GB, free: 2.367 MB / 430.1 MB Notification: Performance of matching and sorting (n=7): time 0.0001664/0.3509, allocations: 100 kB / 0.583 GB, free: 2.316 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.715e-05/0.3509, allocations: 57.03 kB / 0.583 GB, free: 2.254 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.823e-05/0.3509, allocations: 98.69 kB / 0.5831 GB, free: 2.148 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.111e-05/0.3509, allocations: 28.66 kB / 0.5832 GB, free: 2.117 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.021e-05/0.3509, allocations: 81.84 kB / 0.5832 GB, free: 2.035 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.939e-05/0.351, allocations: 20.28 kB / 0.5833 GB, free: 2.02 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.438e-05/0.351, allocations: 30.17 kB / 0.5833 GB, free: 1.996 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.409e-05/0.351, allocations: 318.3 kB / 0.5836 GB, free: 1.68 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.713e-05/0.3511, allocations: 20.88 kB / 0.5836 GB, free: 1.676 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.026e-05/0.3511, allocations: 75.5 kB / 0.5837 GB, free: 1.605 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.1e-05/0.3512, allocations: 101.5 kB / 0.5838 GB, free: 1.523 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.3512, allocations: 0 / 0.5838 GB, free: 1.523 MB / 430.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000139/0.3514, allocations: 114 kB / 0.5839 GB, free: 1.465 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.144e-05/0.3514, allocations: 7.938 kB / 0.5839 GB, free: 1.465 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.3514, allocations: 2.281 kB / 0.5839 GB, free: 1.465 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.146e-05/0.3514, allocations: 2.469 kB / 0.5839 GB, free: 1.465 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.742e-05/0.3515, allocations: 19.77 kB / 0.5839 GB, free: 1.457 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.3515, allocations: 3.469 kB / 0.5839 GB, free: 1.457 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.064e-05/0.3515, allocations: 10.06 kB / 0.5839 GB, free: 1.449 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.446e-06/0.3516, allocations: 9.469 kB / 0.5839 GB, free: 1.445 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 5.661e-05/0.3516, allocations: 120.9 kB / 0.5841 GB, free: 1.328 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.518e-06/0.3516, allocations: 9.938 kB / 0.5841 GB, free: 1.32 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.429e-05/0.3516, allocations: 4.625 kB / 0.5841 GB, free: 1.316 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-06/0.3517, allocations: 4 kB / 0.5841 GB, free: 1.312 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.3517, allocations: 1.562 kB / 0.5841 GB, free: 1.312 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.3517, allocations: 0.6094 kB / 0.5841 GB, free: 1.312 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.389e-05/0.3517, allocations: 152.1 kB / 0.5842 GB, free: 1.121 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.3517, allocations: 3.938 kB / 0.5842 GB, free: 1.117 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.268e-06/0.3518, allocations: 5.406 kB / 0.5842 GB, free: 1.113 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.3518, allocations: 1.094 kB / 0.5842 GB, free: 1.113 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.702e-06/0.3518, allocations: 1.812 kB / 0.5842 GB, free: 1.113 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.3518, allocations: 0 / 0.5842 GB, free: 1.113 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.3518, allocations: 0.6562 kB / 0.5842 GB, free: 1.113 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001017/0.3519, allocations: 110.3 kB / 0.5843 GB, free: 1.031 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.432e-05/0.3519, allocations: 83.41 kB / 0.5844 GB, free: 0.9336 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.564e-05/0.3519, allocations: 8.578 kB / 0.5844 GB, free: 0.9297 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.224e-05/0.3519, allocations: 4 kB / 0.5844 GB, free: 0.9258 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.436e-05/0.352, allocations: 1.891 kB / 0.5844 GB, free: 0.9258 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.106e-05/0.352, allocations: 3.5 kB / 0.5844 GB, free: 0.9258 MB / 430.1 MB Notification: Performance of sorting global known variables: time 9.198e-06/0.352, allocations: 75.28 kB / 0.5845 GB, free: 0.8516 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.352, allocations: 1.156 kB / 0.5845 GB, free: 0.8516 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002101/0.3522, allocations: 30.11 kB / 0.5845 GB, free: 0.8398 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.0001404/0.3524, allocations: 130.3 kB / 0.5847 GB, free: 0.7422 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001105/0.3525, allocations: 55.17 kB / 0.5847 GB, free: 0.7305 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.604e-06/0.3525, allocations: 0 / 0.5847 GB, free: 0.7305 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 2.818e-05/0.3525, allocations: 17.97 kB / 0.5847 GB, free: 0.7266 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001201/0.3526, allocations: 5.75 kB / 0.5847 GB, free: 0.7227 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001897/0.3528, allocations: 118.3 kB / 0.5848 GB, free: 0.6133 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001134/0.353, allocations: 0.6776 MB / 0.5855 GB, free: 15.92 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.962e-05/0.353, allocations: 5.141 kB / 0.5855 GB, free: 15.92 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.313e-05/0.353, allocations: 11.03 kB / 0.5855 GB, free: 15.91 MB / 446.1 MB Notification: Performance of SimCode: time 2.11e-07/0.353, allocations: 0 / 0.5855 GB, free: 15.91 MB / 446.1 MB Notification: Performance of Templates: time 0.002419/0.3554, allocations: 0.664 MB / 0.5862 GB, free: 15.84 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)