Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001267/0.001267, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001278/0.001278, allocations: 196.1 kB / 16.26 MB, free: 6.625 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.403/1.403, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002655/0.002655, allocations: 284.2 kB / 290.4 MB, free: 2.113 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.063/1.063, allocations: 178.6 MB / 0.507 GB, free: 4.73 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00257/0.002571, allocations: 97.8 kB / 0.606 GB, free: 24.93 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1677/0.1702, allocations: 89.15 MB / 0.693 GB, free: 4.641 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.002144/0.1724, allocations: 1.295 MB / 0.6943 GB, free: 3.344 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007595/0.1732, allocations: 496.7 kB / 0.6948 GB, free: 2.855 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.135e-06/0.1732, allocations: 0 / 0.6948 GB, free: 2.855 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.959e-05/0.1732, allocations: 4.438 kB / 0.6948 GB, free: 2.852 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.225e-05/0.1733, allocations: 8 kB / 0.6948 GB, free: 2.844 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002246/0.1735, allocations: 44.88 kB / 0.6948 GB, free: 2.801 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.659e-05/0.1736, allocations: 12.56 kB / 0.6948 GB, free: 2.789 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.296e-05/0.1736, allocations: 1.5 kB / 0.6948 GB, free: 2.789 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.976e-05/0.1736, allocations: 11.97 kB / 0.6948 GB, free: 2.777 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.616e-05/0.1737, allocations: 8 kB / 0.6948 GB, free: 2.77 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.11e-06/0.1737, allocations: 0 / 0.6948 GB, free: 2.77 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001394/0.1738, allocations: 68.5 kB / 0.6949 GB, free: 2.703 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.078e-05/0.1739, allocations: 8 kB / 0.6949 GB, free: 2.695 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.144e-05/0.1739, allocations: 13.52 kB / 0.6949 GB, free: 2.684 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001193/0.174, allocations: 68.06 kB / 0.695 GB, free: 2.617 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.773e-06/0.174, allocations: 0 / 0.695 GB, free: 2.617 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.174, allocations: 0 / 0.695 GB, free: 2.617 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.136e-06/0.174, allocations: 0.625 kB / 0.695 GB, free: 2.617 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.0003105/0.1744, allocations: 340 kB / 0.6953 GB, free: 2.238 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.299e-05/0.1744, allocations: 10.66 kB / 0.6953 GB, free: 2.23 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.165e-05/0.1744, allocations: 0.9375 kB / 0.6953 GB, free: 2.23 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001003/0.1745, allocations: 164.4 kB / 0.6955 GB, free: 2.031 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.157e-06/0.1745, allocations: 4.375 kB / 0.6955 GB, free: 2.027 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.568e-06/0.1746, allocations: 8.359 kB / 0.6955 GB, free: 2.02 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.524e-05/0.1746, allocations: 50 kB / 0.6955 GB, free: 1.965 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.358e-06/0.1747, allocations: 1.594 kB / 0.6955 GB, free: 1.965 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.819e-06/0.1747, allocations: 0 / 0.6955 GB, free: 1.965 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.1747, allocations: 0 / 0.6955 GB, free: 1.965 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.405e-05/0.1747, allocations: 19.92 kB / 0.6956 GB, free: 1.945 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001364/0.1748, allocations: 153.7 kB / 0.6957 GB, free: 1.746 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.3e-05/0.1749, allocations: 30.62 kB / 0.6957 GB, free: 1.707 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.506e-05/0.1749, allocations: 16.95 kB / 0.6958 GB, free: 1.688 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.621e-06/0.1749, allocations: 0 / 0.6958 GB, free: 1.688 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000141/0.1751, allocations: 79.27 kB / 0.6958 GB, free: 1.598 MB / 494.1 MB Notification: Performance of pre-optimization done (n=7): time 1.012e-06/0.1751, allocations: 0 / 0.6958 GB, free: 1.598 MB / 494.1 MB Notification: Performance of matching and sorting (n=7): time 0.0001644/0.1753, allocations: 93.67 kB / 0.6959 GB, free: 1.5 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.508e-05/0.1753, allocations: 59.41 kB / 0.696 GB, free: 1.43 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.579e-05/0.1754, allocations: 93.77 kB / 0.6961 GB, free: 1.328 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.194e-05/0.1754, allocations: 29.7 kB / 0.6961 GB, free: 1.293 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.999e-05/0.1754, allocations: 84.14 kB / 0.6962 GB, free: 1.207 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.529e-05/0.1755, allocations: 15.83 kB / 0.6962 GB, free: 1.191 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.3e-05/0.1755, allocations: 29.72 kB / 0.6962 GB, free: 1.156 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001291/0.1757, allocations: 314.8 kB / 0.6965 GB, free: 0.8398 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.898e-05/0.1757, allocations: 31.95 kB / 0.6966 GB, free: 0.8086 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.932e-05/0.1758, allocations: 70.44 kB / 0.6966 GB, free: 0.7188 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000118/0.1759, allocations: 101.9 kB / 0.6967 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.1759, allocations: 0 / 0.6967 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001676/0.1761, allocations: 117.4 kB / 0.6968 GB, free: 488 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.1761, allocations: 16.16 kB / 0.6968 GB, free: 472 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.056e-06/0.1761, allocations: 0 / 0.6968 GB, free: 472 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.388e-06/0.1761, allocations: 4 kB / 0.6968 GB, free: 468 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.244e-05/0.1762, allocations: 12 kB / 0.6969 GB, free: 456 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.1762, allocations: 8 kB / 0.6969 GB, free: 448 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.029e-05/0.1762, allocations: 4 kB / 0.6969 GB, free: 444 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.186e-06/0.1763, allocations: 4 kB / 0.6969 GB, free: 440 kB / 494.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 9.783e-05/0.1764, allocations: 130.4 kB / 0.697 GB, free: 300 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.195e-05/0.1764, allocations: 11.84 kB / 0.697 GB, free: 288 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.528e-05/0.1764, allocations: 3.969 kB / 0.697 GB, free: 284 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.193e-06/0.1764, allocations: 0 / 0.697 GB, free: 284 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.375e-06/0.1764, allocations: 0 / 0.697 GB, free: 284 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.1764, allocations: 0 / 0.697 GB, free: 284 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001332/0.1766, allocations: 157.7 kB / 0.6972 GB, free: 76 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.1766, allocations: 0 / 0.6972 GB, free: 76 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.46e-06/0.1766, allocations: 4 kB / 0.6972 GB, free: 72 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.1766, allocations: 3.938 kB / 0.6972 GB, free: 68 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.378e-06/0.1766, allocations: 3.984 kB / 0.6972 GB, free: 64 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.1766, allocations: 0 / 0.6972 GB, free: 64 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1766, allocations: 4 kB / 0.6972 GB, free: 60 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001585/0.1768, allocations: 105.2 kB / 0.6973 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.436e-05/0.1768, allocations: 85.03 kB / 0.6974 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.525e-05/0.1768, allocations: 4 kB / 0.6974 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.197e-05/0.1769, allocations: 0 / 0.6974 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.224e-05/0.1769, allocations: 0 / 0.6974 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.289e-05/0.1769, allocations: 4 kB / 0.6974 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.649e-05/0.1769, allocations: 79.31 kB / 0.6974 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1769, allocations: 0 / 0.6974 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002177/0.1772, allocations: 24 kB / 0.6975 GB, free: 15.72 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.0001942/0.1774, allocations: 125.8 kB / 0.6976 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000125/0.1775, allocations: 59.75 kB / 0.6976 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.1775, allocations: 448 / 0.6976 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.815e-05/0.1775, allocations: 31.92 kB / 0.6977 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000111/0.1777, allocations: 0 / 0.6977 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002219/0.1779, allocations: 129.5 kB / 0.6978 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002851/0.1782, allocations: 0.6768 MB / 0.6985 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.75e-05/0.1782, allocations: 4 kB / 0.6985 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.737e-05/0.1782, allocations: 19.36 kB / 0.6985 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of SimCode: time 2.41e-07/0.1782, allocations: 0 / 0.6985 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of Templates: time 0.002878/0.1811, allocations: 0.6676 MB / 0.6991 GB, free: 14.01 MB / 0.4981 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe 2>&1)