Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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_dev_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.007428/0.007428, allocations: 100.9 kB / 15.73 MB, free: 6.504 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.001744/0.001744, allocations: 196.7 kB / 16.68 MB, free: 6.375 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.466/1.466, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8897/0.8897, allocations: 135.1 MB / 425.7 MB, free: 12.09 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.00123, allocations: 55.91 kB / 0.5857 GB, free: 3.309 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3922/0.3935, allocations: 80.92 MB / 0.6647 GB, free: 7.594 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.001778/0.3953, allocations: 1.248 MB / 0.6659 GB, free: 6.613 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0006647/0.396, allocations: 493 kB / 0.6664 GB, free: 6.242 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.771e-05/0.396, allocations: 5.281 kB / 0.6664 GB, free: 6.238 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.543e-05/0.396, allocations: 0 / 0.6664 GB, free: 6.238 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.948e-05/0.3961, allocations: 0 / 0.6664 GB, free: 6.238 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002782/0.3964, allocations: 53.33 kB / 0.6664 GB, free: 6.203 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.569e-05/0.3964, allocations: 14.53 kB / 0.6664 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.72e-05/0.3965, allocations: 1.469 kB / 0.6664 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.078e-05/0.3965, allocations: 11.44 kB / 0.6665 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.799e-05/0.3966, allocations: 2.594 kB / 0.6665 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.703e-06/0.3966, allocations: 1.219 kB / 0.6665 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001335/0.3967, allocations: 69.92 kB / 0.6665 GB, free: 6.145 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.287e-05/0.3968, allocations: 8.797 kB / 0.6665 GB, free: 6.141 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.499e-05/0.3968, allocations: 12.34 kB / 0.6665 GB, free: 6.133 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001105/0.3969, allocations: 61.47 kB / 0.6666 GB, free: 6.098 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.3969, allocations: 0 / 0.6666 GB, free: 6.098 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.332e-06/0.3969, allocations: 1.094 kB / 0.6666 GB, free: 6.098 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.108e-06/0.3969, allocations: 0 / 0.6666 GB, free: 6.098 MB / 0.4981 GB 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.0002516/0.3972, allocations: 341 kB / 0.6669 GB, free: 5.734 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.218e-05/0.3972, allocations: 10.25 kB / 0.6669 GB, free: 5.734 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.807e-05/0.3973, allocations: 6.406 kB / 0.6669 GB, free: 5.73 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.55e-05/0.3973, allocations: 168.3 kB / 0.6671 GB, free: 5.527 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.038e-05/0.3973, allocations: 1.625 kB / 0.6671 GB, free: 5.527 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.411e-05/0.3973, allocations: 6.062 kB / 0.6671 GB, free: 5.523 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001014/0.3975, allocations: 48.22 kB / 0.6672 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.663e-06/0.3975, allocations: 0 / 0.6672 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.796e-06/0.3975, allocations: 1.562 kB / 0.6672 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.3975, allocations: 0 / 0.6672 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.433e-05/0.3975, allocations: 7.156 kB / 0.6672 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.673e-05/0.3976, allocations: 169.3 kB / 0.6673 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.91e-05/0.3977, allocations: 39.16 kB / 0.6674 GB, free: 5.234 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.365e-05/0.3977, allocations: 21.77 kB / 0.6674 GB, free: 5.219 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.692e-06/0.3977, allocations: 0 / 0.6674 GB, free: 5.219 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.131e-05/0.3978, allocations: 65.11 kB / 0.6674 GB, free: 5.16 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 1.242e-06/0.3978, allocations: 0 / 0.6674 GB, free: 5.16 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.0001694/0.398, allocations: 96.28 kB / 0.6675 GB, free: 5.105 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.755e-05/0.398, allocations: 59.48 kB / 0.6676 GB, free: 5.039 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.767e-05/0.398, allocations: 95.39 kB / 0.6677 GB, free: 4.938 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.275e-05/0.3981, allocations: 28.48 kB / 0.6677 GB, free: 4.906 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.441e-05/0.3981, allocations: 80.14 kB / 0.6678 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.157e-05/0.3981, allocations: 25.84 kB / 0.6678 GB, free: 4.805 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.512e-05/0.3981, allocations: 27.06 kB / 0.6678 GB, free: 4.781 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.423e-05/0.3982, allocations: 320.1 kB / 0.6681 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.616e-05/0.3982, allocations: 24.14 kB / 0.6682 GB, free: 4.449 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.854e-05/0.3983, allocations: 63.97 kB / 0.6682 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.681e-05/0.3984, allocations: 105.7 kB / 0.6683 GB, free: 4.289 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.3984, allocations: 1.094 kB / 0.6683 GB, free: 4.289 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001365/0.3986, allocations: 111.4 kB / 0.6684 GB, free: 4.223 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.075e-05/0.3986, allocations: 5.219 kB / 0.6684 GB, free: 4.223 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.74e-06/0.3986, allocations: 10.45 kB / 0.6685 GB, free: 4.215 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.3986, allocations: 2.562 kB / 0.6685 GB, free: 4.215 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.44e-05/0.3987, allocations: 13.56 kB / 0.6685 GB, free: 4.211 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.3987, allocations: 2.312 kB / 0.6685 GB, free: 4.211 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.381e-05/0.3987, allocations: 14.66 kB / 0.6685 GB, free: 4.199 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.193e-06/0.3987, allocations: 4.406 kB / 0.6685 GB, free: 4.199 MB / 0.4981 GB 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.179e-05/0.3988, allocations: 126.1 kB / 0.6686 GB, free: 4.074 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.708e-06/0.3988, allocations: 1.125 kB / 0.6686 GB, free: 4.074 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.576e-05/0.3988, allocations: 7.969 kB / 0.6686 GB, free: 4.066 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.183e-06/0.3988, allocations: 1.125 kB / 0.6686 GB, free: 4.066 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.585e-06/0.3989, allocations: 0 / 0.6686 GB, free: 4.066 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.275e-06/0.3989, allocations: 1.156 kB / 0.6686 GB, free: 4.066 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.936e-05/0.3989, allocations: 156.5 kB / 0.6688 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.3989, allocations: 0.9062 kB / 0.6688 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.326e-06/0.3989, allocations: 3.938 kB / 0.6688 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.232e-06/0.399, allocations: 0.9375 kB / 0.6688 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.953e-06/0.399, allocations: 5.062 kB / 0.6688 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.399, allocations: 1.188 kB / 0.6688 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.399, allocations: 4 kB / 0.6688 GB, free: 3.855 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001026/0.3991, allocations: 115.7 kB / 0.6689 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.426e-05/0.3991, allocations: 77.11 kB / 0.669 GB, free: 3.668 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.653e-05/0.3991, allocations: 7.547 kB / 0.669 GB, free: 3.664 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.217e-05/0.3991, allocations: 1.156 kB / 0.669 GB, free: 3.664 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.941e-05/0.3992, allocations: 1.438 kB / 0.669 GB, free: 3.664 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.256e-05/0.3992, allocations: 6.781 kB / 0.669 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 1.075e-05/0.3992, allocations: 79.31 kB / 0.6691 GB, free: 3.582 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.3992, allocations: 0 / 0.6691 GB, free: 3.582 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002234/0.3994, allocations: 27.06 kB / 0.6691 GB, free: 3.574 MB / 0.4981 GB 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.0001464/0.3996, allocations: 127.8 kB / 0.6692 GB, free: 3.477 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000127/0.3997, allocations: 55.64 kB / 0.6693 GB, free: 3.457 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3997, allocations: 448 / 0.6693 GB, free: 3.457 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.751e-05/0.3998, allocations: 27.7 kB / 0.6693 GB, free: 3.441 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001249/0.3999, allocations: 10.84 kB / 0.6693 GB, free: 3.434 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002126/0.4001, allocations: 120.7 kB / 0.6694 GB, free: 3.312 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.353e-05/0.4002, allocations: 0.6788 MB / 0.6701 GB, free: 2.613 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.925e-05/0.4002, allocations: 3.656 kB / 0.6701 GB, free: 2.613 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.368e-05/0.4002, allocations: 9.906 kB / 0.6701 GB, free: 2.605 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.4002, allocations: 0 / 0.6701 GB, free: 2.605 MB / 0.4981 GB Notification: Performance of Templates: time 0.002434/0.4027, allocations: 0.6707 MB / 0.6707 GB, free: 2.293 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.sim & ./IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe 2>&1)