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.001075/0.001075, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001139/0.001139, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.309/1.309, allocations: 223.2 MB / 240 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9762/0.9762, allocations: 135.3 MB / 426.4 MB, free: 14.23 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000347/0.000347, allocations: 16.5 kB / 0.507 GB, free: 5.074 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.167/0.1674, allocations: 82.31 MB / 0.5874 GB, free: 2.938 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.00134/0.1688, allocations: 0.9555 MB / 0.5883 GB, free: 1.965 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007656/0.1695, allocations: 468.9 kB / 0.5888 GB, free: 1.508 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.901e-05/0.1696, allocations: 0 / 0.5888 GB, free: 1.508 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.111e-05/0.1696, allocations: 0 / 0.5888 GB, free: 1.508 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.497e-05/0.1697, allocations: 0 / 0.5888 GB, free: 1.508 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003071/0.17, allocations: 35.91 kB / 0.5888 GB, free: 1.473 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.131e-05/0.1701, allocations: 23.95 kB / 0.5889 GB, free: 1.449 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.628e-05/0.1701, allocations: 4 kB / 0.5889 GB, free: 1.445 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.323e-05/0.1702, allocations: 4 kB / 0.5889 GB, free: 1.441 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.894e-05/0.1702, allocations: 8 kB / 0.5889 GB, free: 1.434 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.307e-06/0.1702, allocations: 0 / 0.5889 GB, free: 1.434 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001255/0.1704, allocations: 43.89 kB / 0.5889 GB, free: 1.391 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.697e-05/0.1704, allocations: 15.97 kB / 0.5889 GB, free: 1.375 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.837e-05/0.1705, allocations: 25.7 kB / 0.5889 GB, free: 1.344 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.113e-05/0.1706, allocations: 31.95 kB / 0.589 GB, free: 1.312 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.229e-06/0.1706, allocations: 0 / 0.589 GB, free: 1.312 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.665e-06/0.1706, allocations: 4 kB / 0.589 GB, free: 1.309 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.947e-06/0.1706, allocations: 0 / 0.589 GB, free: 1.309 MB / 494.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.0003697/0.171, allocations: 339.5 kB / 0.5893 GB, free: 0.9297 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/0.171, allocations: 8.031 kB / 0.5893 GB, free: 0.9219 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.205e-05/0.1711, allocations: 7.938 kB / 0.5893 GB, free: 0.9141 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001057/0.1712, allocations: 171 kB / 0.5895 GB, free: 0.707 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.493e-05/0.1712, allocations: 0 / 0.5895 GB, free: 0.707 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.226e-05/0.1712, allocations: 4 kB / 0.5895 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001297/0.1713, allocations: 45.69 kB / 0.5895 GB, free: 0.6523 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.1714, allocations: 0 / 0.5895 GB, free: 0.6523 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.528e-06/0.1714, allocations: 4 kB / 0.5895 GB, free: 0.6484 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.1714, allocations: 0 / 0.5895 GB, free: 0.6484 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.361e-05/0.1714, allocations: 16 kB / 0.5896 GB, free: 0.6328 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001416/0.1716, allocations: 157.6 kB / 0.5897 GB, free: 440 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.7e-05/0.1716, allocations: 38.5 kB / 0.5897 GB, free: 392 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.266e-05/0.1717, allocations: 16.95 kB / 0.5898 GB, free: 372 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.654e-06/0.1717, allocations: 0 / 0.5898 GB, free: 372 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001319/0.1718, allocations: 71.39 kB / 0.5898 GB, free: 288 kB / 494.1 MB Notification: Performance of pre-optimization done (n=7): time 1.092e-06/0.1718, allocations: 0 / 0.5898 GB, free: 288 kB / 494.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002125/0.172, allocations: 97.61 kB / 0.5899 GB, free: 184 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.907e-05/0.1721, allocations: 59.39 kB / 0.59 GB, free: 112 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.614e-05/0.1721, allocations: 97.77 kB / 0.5901 GB, free: 4 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.156e-05/0.1722, allocations: 29.7 kB / 0.5901 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.295e-05/0.1722, allocations: 84.14 kB / 0.5902 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.615e-05/0.1722, allocations: 15.83 kB / 0.5902 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.72e-06/0.1723, allocations: 4 kB / 0.5902 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001151/0.1724, allocations: 318.8 kB / 0.5905 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.843e-05/0.1724, allocations: 19.98 kB / 0.5905 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.275e-05/0.1725, allocations: 69.98 kB / 0.5906 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.348e-05/0.1726, allocations: 35.92 kB / 0.5906 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.1726, allocations: 0 / 0.5906 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001532/0.1727, allocations: 109.5 kB / 0.5907 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.1728, allocations: 8 kB / 0.5907 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.1728, allocations: 0 / 0.5907 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.1728, allocations: 4 kB / 0.5907 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.486e-05/0.1729, allocations: 24.14 kB / 0.5908 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.1729, allocations: 4 kB / 0.5908 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.277e-05/0.1729, allocations: 4 kB / 0.5908 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.456e-06/0.173, allocations: 4 kB / 0.5908 GB, free: 15.24 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 ($PRE.QAggShi_flow[5],QAggShi_flow[5],$PRE.QAggShi_flow[4],QAggShi_flow[4],$PRE.QAggShi_flow[3],QAggShi_flow[3],$PRE.QAggShi_flow[2],QAggShi_flow[2],$PRE.QAggShi_flow[1],QAggShi_flow[1],$PRE.curCel,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.571e-05/0.1731, allocations: 131.2 kB / 0.5909 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.578e-06/0.1731, allocations: 3.906 kB / 0.5909 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.049e-05/0.1731, allocations: 3.969 kB / 0.5909 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.1731, allocations: 0 / 0.5909 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.1731, allocations: 4 kB / 0.5909 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.1731, allocations: 0 / 0.5909 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001331/0.1733, allocations: 161.6 kB / 0.5911 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.1733, allocations: 3.938 kB / 0.5911 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.526e-06/0.1733, allocations: 3.938 kB / 0.5911 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.1733, allocations: 4 kB / 0.5911 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.344e-06/0.1733, allocations: 3.938 kB / 0.5911 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.1733, allocations: 0 / 0.5911 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.1733, allocations: 0 / 0.5911 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001348/0.1735, allocations: 109.1 kB / 0.5912 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.127e-05/0.1735, allocations: 81.06 kB / 0.5913 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.878e-05/0.1735, allocations: 7.984 kB / 0.5913 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.145e-05/0.1735, allocations: 0 / 0.5913 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.082e-05/0.1736, allocations: 0 / 0.5913 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.428e-05/0.1736, allocations: 4 kB / 0.5913 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.386e-05/0.1736, allocations: 75.28 kB / 0.5913 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1736, allocations: 0 / 0.5913 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002273/0.1738, allocations: 20 kB / 0.5914 GB, free: 14.54 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001704/0.174, allocations: 134.4 kB / 0.5915 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001262/0.1742, allocations: 59.84 kB / 0.5915 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.1742, allocations: 0 / 0.5915 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.867e-05/0.1742, allocations: 20 kB / 0.5916 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001307/0.1743, allocations: 0 / 0.5916 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002668/0.1746, allocations: 129.1 kB / 0.5917 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002583/0.1749, allocations: 0.677 MB / 0.5923 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.412e-05/0.1749, allocations: 7.984 kB / 0.5924 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.494e-05/0.1749, allocations: 7.438 kB / 0.5924 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of SimCode: time 2.61e-07/0.1749, allocations: 0 / 0.5924 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of Templates: time 0.002582/0.1775, allocations: 0.6342 MB / 0.593 GB, free: 12.86 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)