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.006699/0.006699, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001705/0.001706, allocations: 192.9 kB / 16.67 MB, free: 5.52 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.316/1.316, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7829/0.7829, allocations: 135.1 MB / 425.7 MB, free: 4.098 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 67.14 kB / 0.5857 GB, free: 21.76 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1447/0.146, allocations: 80.92 MB / 0.6647 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.002197/0.1482, allocations: 1.237 MB / 0.6659 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008307/0.1491, allocations: 499 kB / 0.6664 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.693e-05/0.1491, allocations: 0 / 0.6664 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.743e-05/0.1491, allocations: 0 / 0.6664 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.252e-05/0.1492, allocations: 3.984 kB / 0.6664 GB, free: 4.047 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003247/0.1495, allocations: 55.81 kB / 0.6664 GB, free: 3.992 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.817e-05/0.1496, allocations: 7.984 kB / 0.6664 GB, free: 3.984 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.428e-05/0.1497, allocations: 12 kB / 0.6664 GB, free: 3.973 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.076e-05/0.1497, allocations: 11.94 kB / 0.6665 GB, free: 3.961 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.271e-05/0.1497, allocations: 3.984 kB / 0.6665 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.019e-05/0.1497, allocations: 4 kB / 0.6665 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001703/0.1499, allocations: 67.84 kB / 0.6665 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.372e-05/0.15, allocations: 4 kB / 0.6665 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.214e-05/0.15, allocations: 11.92 kB / 0.6665 GB, free: 3.871 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001279/0.1502, allocations: 59.92 kB / 0.6666 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.1502, allocations: 0 / 0.6666 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.202e-06/0.1502, allocations: 3.938 kB / 0.6666 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.097e-06/0.1502, allocations: 0 / 0.6666 GB, free: 3.809 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.0003503/0.1505, allocations: 339.5 kB / 0.6669 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.273e-05/0.1506, allocations: 8.031 kB / 0.6669 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.188e-05/0.1506, allocations: 8.922 kB / 0.6669 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.945e-05/0.1507, allocations: 160.4 kB / 0.6671 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.198e-05/0.1507, allocations: 8.375 kB / 0.6671 GB, free: 3.211 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.401e-05/0.1507, allocations: 7.875 kB / 0.6671 GB, free: 3.203 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001051/0.1508, allocations: 53.62 kB / 0.6672 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.67e-06/0.1509, allocations: 0 / 0.6672 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.125e-06/0.1509, allocations: 4 kB / 0.6672 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.1509, allocations: 0 / 0.6672 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.009e-05/0.1509, allocations: 11.98 kB / 0.6672 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001357/0.1511, allocations: 153.6 kB / 0.6673 GB, free: 2.93 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.911e-05/0.1511, allocations: 34.56 kB / 0.6674 GB, free: 2.887 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.399e-05/0.1511, allocations: 20.89 kB / 0.6674 GB, free: 2.863 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.617e-06/0.1512, allocations: 0 / 0.6674 GB, free: 2.863 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001065/0.1513, allocations: 75.39 kB / 0.6674 GB, free: 2.777 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 1.283e-06/0.1513, allocations: 0 / 0.6674 GB, free: 2.777 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.0002094/0.1515, allocations: 97.66 kB / 0.6675 GB, free: 2.676 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.897e-05/0.1515, allocations: 59.34 kB / 0.6676 GB, free: 2.605 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.967e-05/0.1516, allocations: 89.86 kB / 0.6677 GB, free: 2.508 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.695e-05/0.1516, allocations: 33.69 kB / 0.6677 GB, free: 2.469 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.055e-05/0.1517, allocations: 84.14 kB / 0.6678 GB, free: 2.383 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.401e-05/0.1517, allocations: 15.75 kB / 0.6678 GB, free: 2.367 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.173e-05/0.1517, allocations: 33.75 kB / 0.6678 GB, free: 2.328 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001/0.1518, allocations: 314.8 kB / 0.6681 GB, free: 2.012 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.805e-05/0.1519, allocations: 19.98 kB / 0.6682 GB, free: 1.992 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.145e-05/0.152, allocations: 66 kB / 0.6682 GB, free: 1.906 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001118/0.1521, allocations: 101.9 kB / 0.6683 GB, free: 1.785 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.1521, allocations: 0 / 0.6683 GB, free: 1.785 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001629/0.1523, allocations: 121.5 kB / 0.6684 GB, free: 1.66 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.1523, allocations: 8 kB / 0.6684 GB, free: 1.652 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.1523, allocations: 0 / 0.6684 GB, free: 1.652 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.754e-05/0.1523, allocations: 4 kB / 0.6684 GB, free: 1.648 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.501e-05/0.1524, allocations: 11.94 kB / 0.6685 GB, free: 1.637 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/0.1524, allocations: 7.938 kB / 0.6685 GB, free: 1.629 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.327e-05/0.1524, allocations: 7.906 kB / 0.6685 GB, free: 1.621 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.015e-05/0.1525, allocations: 7.984 kB / 0.6685 GB, free: 1.613 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 9.527e-05/0.1526, allocations: 134.9 kB / 0.6686 GB, free: 1.473 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.518e-06/0.1526, allocations: 0 / 0.6686 GB, free: 1.473 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.987e-05/0.1526, allocations: 7.969 kB / 0.6686 GB, free: 1.465 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.1526, allocations: 0 / 0.6686 GB, free: 1.465 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.015e-06/0.1526, allocations: 0 / 0.6686 GB, free: 1.465 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.1526, allocations: 0 / 0.6686 GB, free: 1.465 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001135/0.1527, allocations: 153.6 kB / 0.6688 GB, free: 1.266 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.1527, allocations: 0 / 0.6688 GB, free: 1.266 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.927e-06/0.1527, allocations: 4 kB / 0.6688 GB, free: 1.262 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.1528, allocations: 4 kB / 0.6688 GB, free: 1.258 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.608e-06/0.1528, allocations: 3.984 kB / 0.6688 GB, free: 1.254 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.474e-06/0.1528, allocations: 11.88 kB / 0.6688 GB, free: 1.242 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.1528, allocations: 0 / 0.6688 GB, free: 1.242 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001276/0.1529, allocations: 113 kB / 0.6689 GB, free: 1.113 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.833e-05/0.153, allocations: 81.09 kB / 0.669 GB, free: 1.016 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.706e-05/0.153, allocations: 4 kB / 0.669 GB, free: 1.012 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.171e-05/0.153, allocations: 32 / 0.669 GB, free: 1.012 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.888e-05/0.153, allocations: 4 kB / 0.669 GB, free: 1.008 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.366e-05/0.153, allocations: 4 kB / 0.669 GB, free: 1.004 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.457e-05/0.1531, allocations: 75.28 kB / 0.6691 GB, free: 0.9297 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1531, allocations: 0 / 0.6691 GB, free: 0.9297 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002301/0.1533, allocations: 28 kB / 0.6691 GB, free: 0.9023 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.0001904/0.1535, allocations: 124.5 kB / 0.6692 GB, free: 0.7734 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001293/0.1536, allocations: 67.84 kB / 0.6693 GB, free: 0.707 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.1537, allocations: 0 / 0.6693 GB, free: 0.707 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.972e-05/0.1537, allocations: 16 kB / 0.6693 GB, free: 0.6914 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001333/0.1538, allocations: 3.938 kB / 0.6693 GB, free: 0.6875 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002611/0.1541, allocations: 117.4 kB / 0.6694 GB, free: 0.543 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002323/0.1543, allocations: 0.6768 MB / 0.6701 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.225e-05/0.1544, allocations: 8.484 kB / 0.6701 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.748e-05/0.1544, allocations: 15.44 kB / 0.6701 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of SimCode: time 3.5e-07/0.1544, allocations: 3.938 kB / 0.6701 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of Templates: time 0.00273/0.1571, allocations: 0.6706 MB / 0.6707 GB, free: 15.19 MB / 0.5137 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)