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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.7682/0.7682, allocations: 143.4 MB / 159.2 MB, free: 4.902 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001367/0.001367, allocations: 176.5 kB / 191.9 MB, free: 5.723 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.366/1.366, allocations: 222.9 MB / 447.3 MB, free: 5.848 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001026/0.001026, allocations: 111.7 kB / 0.517 GB, free: 3.691 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00184/0.001839, allocations: 283.5 kB / 0.5973 GB, free: 49.36 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001391/0.001392, allocations: 84.25 kB / 0.6886 GB, free: 3.785 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3469/0.3483, allocations: 81.29 MB / 0.768 GB, free: 27.65 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.003018/0.3514, allocations: 1.301 MB / 0.7692 GB, free: 26.34 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.001084/0.3525, allocations: 489 kB / 0.7697 GB, free: 25.86 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.66e-05/0.3525, allocations: 0 / 0.7697 GB, free: 25.86 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 3.146e-05/0.3526, allocations: 3.938 kB / 0.7697 GB, free: 25.86 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 6.233e-05/0.3527, allocations: 3.984 kB / 0.7697 GB, free: 25.85 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003078/0.353, allocations: 43.95 kB / 0.7698 GB, free: 25.81 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 6.138e-05/0.3531, allocations: 23.97 kB / 0.7698 GB, free: 25.79 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.002e-05/0.3531, allocations: 7.875 kB / 0.7698 GB, free: 25.78 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.428e-05/0.3531, allocations: 7.984 kB / 0.7698 GB, free: 25.77 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.044e-05/0.3532, allocations: 4 kB / 0.7698 GB, free: 25.77 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 9.888e-06/0.3532, allocations: 0 / 0.7698 GB, free: 25.77 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001843/0.3534, allocations: 71.84 kB / 0.7699 GB, free: 25.7 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 5.396e-05/0.3535, allocations: 11.92 kB / 0.7699 GB, free: 25.68 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 3.891e-05/0.3536, allocations: 12 kB / 0.7699 GB, free: 25.67 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001572/0.3537, allocations: 66.5 kB / 0.77 GB, free: 25.61 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.3537, allocations: 8 kB / 0.77 GB, free: 25.6 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.3538, allocations: 0 / 0.77 GB, free: 25.6 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.137e-06/0.3538, allocations: 0 / 0.77 GB, free: 25.6 MB / 458.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.000312/0.3541, allocations: 331.5 kB / 0.7703 GB, free: 25.23 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.3541, allocations: 8.031 kB / 0.7703 GB, free: 25.22 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.728e-05/0.3542, allocations: 8.844 kB / 0.7703 GB, free: 25.21 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.913e-05/0.3543, allocations: 160.4 kB / 0.7705 GB, free: 25.02 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.447e-05/0.3543, allocations: 4.375 kB / 0.7705 GB, free: 25.02 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.807e-05/0.3543, allocations: 4.375 kB / 0.7705 GB, free: 25.01 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001239/0.3545, allocations: 61.92 kB / 0.7705 GB, free: 24.95 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.218e-06/0.3545, allocations: 4 kB / 0.7705 GB, free: 24.94 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.3545, allocations: 3.984 kB / 0.7705 GB, free: 24.94 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.3545, allocations: 0 / 0.7705 GB, free: 24.94 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.551e-05/0.3546, allocations: 8 kB / 0.7705 GB, free: 24.93 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001239/0.3547, allocations: 157.7 kB / 0.7707 GB, free: 24.73 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.709e-05/0.3548, allocations: 26.64 kB / 0.7707 GB, free: 24.69 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.029e-05/0.3548, allocations: 28.88 kB / 0.7707 GB, free: 24.66 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.296e-06/0.3548, allocations: 4 kB / 0.7707 GB, free: 24.66 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001475/0.355, allocations: 75.31 kB / 0.7708 GB, free: 24.57 MB / 458.7 MB Notification: Performance of pre-optimization done (n=7): time 2.154e-06/0.355, allocations: 0 / 0.7708 GB, free: 24.57 MB / 458.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002436/0.3553, allocations: 93.67 kB / 0.7709 GB, free: 24.47 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.495e-05/0.3553, allocations: 59.39 kB / 0.771 GB, free: 24.4 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.643e-05/0.3554, allocations: 93.8 kB / 0.7711 GB, free: 24.3 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.706e-05/0.3554, allocations: 37.67 kB / 0.7711 GB, free: 24.26 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.375e-05/0.3554, allocations: 84.14 kB / 0.7712 GB, free: 24.17 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.743e-05/0.3555, allocations: 15.81 kB / 0.7712 GB, free: 24.16 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.143e-05/0.3555, allocations: 29.7 kB / 0.7712 GB, free: 24.12 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 4.468e-05/0.3556, allocations: 314.8 kB / 0.7715 GB, free: 23.8 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.915e-05/0.3557, allocations: 23.97 kB / 0.7715 GB, free: 23.78 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.09e-05/0.3558, allocations: 66 kB / 0.7716 GB, free: 23.7 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001635/0.3559, allocations: 97.92 kB / 0.7717 GB, free: 23.58 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/0.356, allocations: 4 kB / 0.7717 GB, free: 23.57 MB / 458.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002156/0.3562, allocations: 117.4 kB / 0.7718 GB, free: 23.45 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.3562, allocations: 7.938 kB / 0.7718 GB, free: 23.45 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.3562, allocations: 7.938 kB / 0.7718 GB, free: 23.44 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.3563, allocations: 0 / 0.7718 GB, free: 23.44 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001052/0.3564, allocations: 15.98 kB / 0.7718 GB, free: 23.42 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.668e-06/0.3564, allocations: 8.156 kB / 0.7718 GB, free: 23.41 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.895e-05/0.3565, allocations: 7.938 kB / 0.7719 GB, free: 23.41 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.037e-05/0.3565, allocations: 4 kB / 0.7719 GB, free: 23.4 MB / 458.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 8.567e-05/0.3566, allocations: 126 kB / 0.772 GB, free: 23.27 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.418e-05/0.3566, allocations: 3.938 kB / 0.772 GB, free: 23.27 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.263e-05/0.3567, allocations: 11.97 kB / 0.772 GB, free: 23.26 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.3567, allocations: 0 / 0.772 GB, free: 23.26 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.3567, allocations: 0 / 0.772 GB, free: 23.26 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.3567, allocations: 4 kB / 0.772 GB, free: 23.25 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.187e-05/0.3568, allocations: 153.6 kB / 0.7721 GB, free: 23.05 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.3568, allocations: 0 / 0.7721 GB, free: 23.05 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.601e-06/0.3568, allocations: 0 / 0.7721 GB, free: 23.05 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.3568, allocations: 3.938 kB / 0.7721 GB, free: 23.05 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.04e-05/0.3569, allocations: 4 kB / 0.7721 GB, free: 23.05 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.3569, allocations: 0 / 0.7721 GB, free: 23.05 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3569, allocations: 3.938 kB / 0.7722 GB, free: 23.04 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003036/0.3572, allocations: 0.6709 MB / 0.7728 GB, free: 22.31 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.8e-05/0.3572, allocations: 77.11 kB / 0.7729 GB, free: 22.22 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.238e-05/0.3573, allocations: 7.984 kB / 0.7729 GB, free: 22.21 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.084e-05/0.3573, allocations: 0 / 0.7729 GB, free: 22.21 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.304e-05/0.3573, allocations: 0 / 0.7729 GB, free: 22.21 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.754e-05/0.3574, allocations: 11.94 kB / 0.7729 GB, free: 22.2 MB / 458.7 MB Notification: Performance of sorting global known variables: time 1.173e-05/0.3574, allocations: 75.28 kB / 0.773 GB, free: 22.12 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.3574, allocations: 0 / 0.773 GB, free: 22.12 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0005942/0.358, allocations: 27.94 kB / 0.773 GB, free: 22.1 MB / 458.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.0001917/0.3582, allocations: 131.7 kB / 0.7731 GB, free: 21.96 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001481/0.3584, allocations: 55.91 kB / 0.7732 GB, free: 21.91 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.3584, allocations: 0 / 0.7732 GB, free: 21.91 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 4.216e-05/0.3584, allocations: 23.98 kB / 0.7732 GB, free: 21.88 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002042/0.3587, allocations: 0.5 kB / 0.7732 GB, free: 21.88 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003217/0.359, allocations: 238.1 kB / 0.7734 GB, free: 21.61 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.201e-05/0.3591, allocations: 0.6816 MB / 0.7741 GB, free: 20.9 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 2.722e-05/0.3591, allocations: 4 kB / 0.7741 GB, free: 20.9 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.475e-05/0.3592, allocations: 11.44 kB / 0.7741 GB, free: 20.89 MB / 458.7 MB Notification: Performance of SimCode: time 3.11e-07/0.3592, allocations: 0 / 0.7741 GB, free: 20.89 MB / 458.7 MB Notification: Performance of Templates: time 0.003098/0.3623, allocations: 0.6707 MB / 0.7748 GB, free: 20.27 MB / 458.7 MB 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)