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.001071/0.001071, allocations: 117.3 kB / 16.37 MB, free: 6.012 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.0009707/0.0009707, allocations: 191.7 kB / 17.31 MB, free: 5.613 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.249/1.249, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002053/0.002053, allocations: 287.7 kB / 291.4 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8871/0.8871, allocations: 169.3 MB / 0.4989 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001653/0.001653, allocations: 94.11 kB / 0.5967 GB, free: 14.38 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1456/0.1473, allocations: 86.97 MB / 0.6817 GB, free: 7.398 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.002107/0.1495, allocations: 1.242 MB / 0.6829 GB, free: 6.148 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007512/0.1502, allocations: 482.8 kB / 0.6833 GB, free: 5.672 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.772e-05/0.1502, allocations: 0 / 0.6833 GB, free: 5.672 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.489e-05/0.1503, allocations: 3.938 kB / 0.6833 GB, free: 5.668 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.843e-05/0.1503, allocations: 0 / 0.6833 GB, free: 5.668 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002713/0.1506, allocations: 51.88 kB / 0.6834 GB, free: 5.617 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.863e-05/0.1507, allocations: 15.97 kB / 0.6834 GB, free: 5.602 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.229e-05/0.1507, allocations: 0 / 0.6834 GB, free: 5.602 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.941e-05/0.1507, allocations: 4 kB / 0.6834 GB, free: 5.598 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.071e-05/0.1508, allocations: 8 kB / 0.6834 GB, free: 5.59 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.907e-06/0.1508, allocations: 3.938 kB / 0.6834 GB, free: 5.586 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001356/0.1509, allocations: 71.77 kB / 0.6835 GB, free: 5.516 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.319e-05/0.151, allocations: 19.92 kB / 0.6835 GB, free: 5.496 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.164e-05/0.151, allocations: 4 kB / 0.6835 GB, free: 5.492 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001227/0.1511, allocations: 63.8 kB / 0.6836 GB, free: 5.43 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.1512, allocations: 4 kB / 0.6836 GB, free: 5.426 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1512, allocations: 0 / 0.6836 GB, free: 5.426 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.218e-06/0.1512, allocations: 0 / 0.6836 GB, free: 5.426 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.0002916/0.1515, allocations: 335.6 kB / 0.6839 GB, free: 5.051 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.858e-05/0.1515, allocations: 8.031 kB / 0.6839 GB, free: 5.043 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.748e-05/0.1515, allocations: 4.938 kB / 0.6839 GB, free: 5.039 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.925e-05/0.1516, allocations: 160.4 kB / 0.684 GB, free: 4.844 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.248e-06/0.1516, allocations: 384 / 0.684 GB, free: 4.844 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.388e-05/0.1516, allocations: 8.359 kB / 0.6841 GB, free: 4.836 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001002/0.1518, allocations: 57.94 kB / 0.6841 GB, free: 4.773 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.24e-06/0.1518, allocations: 0 / 0.6841 GB, free: 4.773 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.853e-06/0.1518, allocations: 0 / 0.6841 GB, free: 4.773 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.1518, allocations: 4 kB / 0.6841 GB, free: 4.77 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.413e-05/0.1518, allocations: 11.98 kB / 0.6841 GB, free: 4.758 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001236/0.1519, allocations: 161.5 kB / 0.6843 GB, free: 4.551 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.453e-05/0.152, allocations: 30.64 kB / 0.6843 GB, free: 4.512 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.232e-05/0.152, allocations: 16.95 kB / 0.6843 GB, free: 4.492 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.931e-06/0.152, allocations: 4 kB / 0.6843 GB, free: 4.488 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.201e-05/0.1521, allocations: 75.27 kB / 0.6844 GB, free: 4.402 MB / 494.1 MB Notification: Performance of pre-optimization done (n=7): time 1.172e-06/0.1521, allocations: 3.938 kB / 0.6844 GB, free: 4.398 MB / 494.1 MB Notification: Performance of matching and sorting (n=7): time 0.0001834/0.1523, allocations: 93.66 kB / 0.6845 GB, free: 4.301 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.591e-05/0.1524, allocations: 63.39 kB / 0.6846 GB, free: 4.227 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.35e-05/0.1524, allocations: 89.86 kB / 0.6846 GB, free: 4.129 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.788e-05/0.1524, allocations: 37.69 kB / 0.6847 GB, free: 4.086 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.585e-05/0.1525, allocations: 84.94 kB / 0.6848 GB, free: 4 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.967e-05/0.1525, allocations: 15.81 kB / 0.6848 GB, free: 3.984 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.803e-05/0.1525, allocations: 29.7 kB / 0.6848 GB, free: 3.949 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.983e-05/0.1526, allocations: 314.8 kB / 0.6851 GB, free: 3.633 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.773e-05/0.1527, allocations: 23.92 kB / 0.6851 GB, free: 3.609 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.509e-05/0.1528, allocations: 69.98 kB / 0.6852 GB, free: 3.52 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001026/0.1529, allocations: 93.94 kB / 0.6853 GB, free: 3.406 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.1529, allocations: 0 / 0.6853 GB, free: 3.406 MB / 494.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001513/0.153, allocations: 117.5 kB / 0.6854 GB, free: 3.285 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/0.153, allocations: 7.938 kB / 0.6854 GB, free: 3.277 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.1531, allocations: 4 kB / 0.6854 GB, free: 3.273 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.056e-05/0.1531, allocations: 0 / 0.6854 GB, free: 3.273 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.888e-05/0.1531, allocations: 16 kB / 0.6854 GB, free: 3.258 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.153e-05/0.1532, allocations: 8.141 kB / 0.6854 GB, free: 3.25 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.197e-05/0.1532, allocations: 15.84 kB / 0.6854 GB, free: 3.234 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.926e-06/0.1532, allocations: 8 kB / 0.6855 GB, free: 3.227 MB / 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 8.537e-05/0.1533, allocations: 122.5 kB / 0.6856 GB, free: 3.098 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.013e-05/0.1533, allocations: 3.938 kB / 0.6856 GB, free: 3.094 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.772e-05/0.1533, allocations: 3.969 kB / 0.6856 GB, free: 3.086 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.213e-06/0.1533, allocations: 4 kB / 0.6856 GB, free: 3.082 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.1534, allocations: 3.984 kB / 0.6856 GB, free: 3.078 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.1534, allocations: 0 / 0.6856 GB, free: 3.078 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001033/0.1535, allocations: 153.7 kB / 0.6857 GB, free: 2.879 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.1535, allocations: 0 / 0.6857 GB, free: 2.879 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.841e-06/0.1535, allocations: 3.984 kB / 0.6857 GB, free: 2.875 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.1535, allocations: 3.938 kB / 0.6857 GB, free: 2.871 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.502e-06/0.1535, allocations: 0 / 0.6857 GB, free: 2.871 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.275e-06/0.1535, allocations: 4 kB / 0.6857 GB, free: 2.867 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.1535, allocations: 0 / 0.6857 GB, free: 2.867 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001138/0.1536, allocations: 109 kB / 0.6858 GB, free: 2.742 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.699e-05/0.1537, allocations: 85.08 kB / 0.6859 GB, free: 2.641 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.373e-05/0.1537, allocations: 7.938 kB / 0.6859 GB, free: 2.633 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.143e-05/0.1537, allocations: 0 / 0.6859 GB, free: 2.633 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.798e-05/0.1538, allocations: 4 kB / 0.6859 GB, free: 2.629 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.098e-05/0.1538, allocations: 0 / 0.6859 GB, free: 2.629 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.372e-05/0.1538, allocations: 79.28 kB / 0.686 GB, free: 2.551 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1538, allocations: 0 / 0.686 GB, free: 2.551 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002129/0.154, allocations: 27.98 kB / 0.686 GB, free: 2.523 MB / 494.1 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.0001628/0.1542, allocations: 127.2 kB / 0.6862 GB, free: 2.391 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001117/0.1543, allocations: 59.84 kB / 0.6862 GB, free: 2.332 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.1543, allocations: 0 / 0.6862 GB, free: 2.332 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.809e-05/0.1543, allocations: 20 kB / 0.6862 GB, free: 2.312 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001247/0.1545, allocations: 8.875 kB / 0.6862 GB, free: 2.305 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000228/0.1547, allocations: 118.1 kB / 0.6864 GB, free: 2.164 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002086/0.1549, allocations: 0.6768 MB / 0.687 GB, free: 1.461 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.876e-05/0.155, allocations: 7.984 kB / 0.687 GB, free: 1.453 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.293e-05/0.155, allocations: 11.44 kB / 0.687 GB, free: 1.445 MB / 494.1 MB Notification: Performance of SimCode: time 2.1e-07/0.155, allocations: 0 / 0.687 GB, free: 1.445 MB / 494.1 MB Notification: Performance of Templates: time 0.002346/0.1573, allocations: 0.6633 MB / 0.6877 GB, free: 0.832 MB / 494.1 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe 2>&1)