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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001222/0.001222, allocations: 80.88 kB / 19.94 MB, free: 4.547 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001043/0.001043, allocations: 181 kB / 23.36 MB, free: 1.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8877/0.8877, allocations: 177.1 MB / 203.8 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7776/0.7776, allocations: 154.6 MB / 414.8 MB, free: 0.4961 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,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=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.944e-06/1.944e-06, allocations: 0 / 480.1 MB, free: 6.855 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.283e-05/1.478e-05, allocations: 6.234 kB / 480.1 MB, free: 6.852 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.002084/0.002099, allocations: 1.297 MB / 481.4 MB, free: 5.57 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008574/0.002956, allocations: 0.5015 MB / 481.9 MB, free: 5.07 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.828e-05/0.002975, allocations: 0.5625 kB / 481.9 MB, free: 5.07 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 3.285e-05/0.003008, allocations: 0.625 kB / 481.9 MB, free: 5.07 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 6.402e-05/0.003072, allocations: 4.594 kB / 481.9 MB, free: 5.066 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003382/0.00341, allocations: 66.05 kB / 481.9 MB, free: 5.004 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 5.158e-05/0.003461, allocations: 9.125 kB / 481.9 MB, free: 4.996 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.354e-05/0.003495, allocations: 5.781 kB / 481.9 MB, free: 4.992 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.581e-05/0.003531, allocations: 4 kB / 481.9 MB, free: 4.988 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.673e-05/0.003567, allocations: 8.734 kB / 482 MB, free: 4.98 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.048e-05/0.003578, allocations: 4.594 kB / 482 MB, free: 4.977 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001598/0.003738, allocations: 67.86 kB / 482 MB, free: 4.914 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 4.672e-05/0.003784, allocations: 8.969 kB / 482 MB, free: 4.906 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 2.77e-05/0.003812, allocations: 8.969 kB / 482 MB, free: 4.898 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001301/0.003942, allocations: 69.31 kB / 482.1 MB, free: 4.832 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.743e-06/0.003944, allocations: 0.7812 kB / 482.1 MB, free: 4.832 MB / 442.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.003944, allocations: 0 / 482.1 MB, free: 4.832 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.335e-06/0.003947, allocations: 1.438 kB / 482.1 MB, free: 4.832 MB / 442.7 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.0002564/0.004203, allocations: 240.9 kB / 482.3 MB, free: 4.578 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.337e-05/0.004236, allocations: 8.031 kB / 482.4 MB, free: 4.57 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.496e-05/0.004261, allocations: 5.781 kB / 482.4 MB, free: 4.566 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.482e-05/0.004326, allocations: 105.7 kB / 482.5 MB, free: 4.438 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.122e-05/0.004337, allocations: 4.359 kB / 482.5 MB, free: 4.434 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.482e-05/0.004352, allocations: 9.484 kB / 482.5 MB, free: 4.426 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.668e-05/0.004429, allocations: 37.97 kB / 482.5 MB, free: 4.383 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.981e-06/0.004435, allocations: 4.188 kB / 482.5 MB, free: 4.379 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.262e-06/0.004441, allocations: 384 / 482.5 MB, free: 4.379 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.004448, allocations: 5.734 kB / 482.5 MB, free: 4.375 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.326e-05/0.004461, allocations: 11.72 kB / 482.5 MB, free: 4.367 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.276e-05/0.004534, allocations: 55.88 kB / 482.6 MB, free: 4.297 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.91e-05/0.004573, allocations: 22.64 kB / 482.6 MB, free: 4.266 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.379e-05/0.004587, allocations: 8.891 kB / 482.6 MB, free: 4.254 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.025e-06/0.00459, allocations: 0 / 482.6 MB, free: 4.254 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.55e-05/0.004665, allocations: 66.5 kB / 482.7 MB, free: 4.176 MB / 442.7 MB Notification: Performance of pre-optimization done (n=7): time 9.92e-07/0.004666, allocations: 0 / 482.7 MB, free: 4.176 MB / 442.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001087/0.004775, allocations: 51.02 kB / 482.7 MB, free: 4.121 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.51e-05/0.00482, allocations: 63.33 kB / 482.8 MB, free: 4.047 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.519e-05/0.004855, allocations: 94.66 kB / 482.9 MB, free: 3.945 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.782e-05/0.004873, allocations: 33.7 kB / 482.9 MB, free: 3.906 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.606e-05/0.004899, allocations: 85 kB / 483 MB, free: 3.82 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.3e-05/0.004922, allocations: 17 kB / 483 MB, free: 3.805 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.192e-05/0.004964, allocations: 30.84 kB / 483.1 MB, free: 3.77 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.081e-05/0.005055, allocations: 322.8 kB / 483.4 MB, free: 3.445 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.641e-05/0.005071, allocations: 8 kB / 483.4 MB, free: 3.438 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.478e-05/0.005116, allocations: 54.56 kB / 483.4 MB, free: 3.363 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.59e-05/0.005212, allocations: 83.16 kB / 483.5 MB, free: 3.262 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.005214, allocations: 0 / 483.5 MB, free: 3.262 MB / 442.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001125/0.005327, allocations: 79.42 kB / 483.6 MB, free: 3.18 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.00534, allocations: 10.81 kB / 483.6 MB, free: 3.172 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.87e-06/0.005345, allocations: 0 / 483.6 MB, free: 3.172 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.005357, allocations: 8.531 kB / 483.6 MB, free: 3.164 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.657e-05/0.005444, allocations: 22.94 kB / 483.6 MB, free: 3.145 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/0.005449, allocations: 4 kB / 483.6 MB, free: 3.141 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.603e-05/0.005495, allocations: 16.78 kB / 483.7 MB, free: 3.125 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.462e-06/0.005501, allocations: 0 / 483.7 MB, free: 3.125 MB / 442.7 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.432e-05/0.005575, allocations: 126.9 kB / 483.8 MB, free: 2.992 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.945e-06/0.005583, allocations: 0 / 483.8 MB, free: 2.992 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.694e-05/0.0056, allocations: 8.594 kB / 483.8 MB, free: 2.984 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.005602, allocations: 1.312 kB / 483.8 MB, free: 2.984 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.303e-06/0.005603, allocations: 0 / 483.8 MB, free: 2.984 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.005606, allocations: 3.938 kB / 483.8 MB, free: 2.98 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.766e-05/0.005694, allocations: 73.83 kB / 483.9 MB, free: 2.891 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.005695, allocations: 1.375 kB / 483.9 MB, free: 2.891 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.665e-06/0.005697, allocations: 0 / 483.9 MB, free: 2.891 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.082e-06/0.005698, allocations: 0 / 483.9 MB, free: 2.891 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.809e-06/0.005703, allocations: 0 / 483.9 MB, free: 2.891 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.12e-07/0.005704, allocations: 2.453 kB / 483.9 MB, free: 2.891 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.005705, allocations: 0 / 483.9 MB, free: 2.891 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.908e-05/0.005784, allocations: 82.94 kB / 483.9 MB, free: 2.789 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.282e-06/0.00579, allocations: 3.953 kB / 483.9 MB, free: 2.785 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.436e-05/0.005805, allocations: 5 kB / 484 MB, free: 2.781 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.067e-05/0.005815, allocations: 0 / 484 MB, free: 2.781 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.528e-05/0.00583, allocations: 3.984 kB / 484 MB, free: 2.777 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.21e-05/0.005843, allocations: 6.328 kB / 484 MB, free: 2.773 MB / 442.7 MB Notification: Performance of sorting global known variables: time 6.602e-06/0.005849, allocations: 4.859 kB / 484 MB, free: 2.766 MB / 442.7 MB Notification: Performance of sort global known variables: time 7e-08/0.005849, allocations: 0 / 484 MB, free: 2.766 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002222/0.006071, allocations: 28.69 kB / 484 MB, free: 2.738 MB / 442.7 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.0001457/0.006217, allocations: 110.2 kB / 484.1 MB, free: 2.625 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 8.25e-05/0.0063, allocations: 45.36 kB / 484.1 MB, free: 2.578 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.006301, allocations: 0 / 484.1 MB, free: 2.578 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 1.899e-05/0.00632, allocations: 18.28 kB / 484.2 MB, free: 2.559 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.281e-05/0.006373, allocations: 3.938 kB / 484.2 MB, free: 2.555 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002281/0.006601, allocations: 109 kB / 484.3 MB, free: 2.422 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.074e-05/0.006632, allocations: 55.36 kB / 484.3 MB, free: 2.348 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.052e-05/0.006653, allocations: 9.078 kB / 484.3 MB, free: 2.34 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.311e-05/0.006686, allocations: 53.42 kB / 484.4 MB, free: 2.289 MB / 442.7 MB Notification: Performance of SimCode: time 3.4e-07/0.006686, allocations: 3.938 kB / 484.4 MB, free: 2.285 MB / 442.7 MB Notification: Performance of Templates: time 0.002628/0.009314, allocations: 0.7495 MB / 485.1 MB, free: 1.629 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.makefile [Timeout 660] (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=240 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.3681937898509204]