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.001256/0.001256, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001067/0.001067, allocations: 190.6 kB / 16.13 MB, free: 6.668 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.283/1.283, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002066/0.002066, allocations: 289.7 kB / 290.2 MB, free: 2.207 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9294/0.9294, allocations: 169.2 MB / 0.4977 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00156/0.00156, allocations: 92.92 kB / 0.5945 GB, free: 28.19 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1297/0.1312, allocations: 86.99 MB / 0.6795 GB, free: 1.125 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.002054/0.1333, allocations: 1.291 MB / 0.6807 GB, free: 15.83 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007466/0.1341, allocations: 495.2 kB / 0.6812 GB, free: 15.35 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.496e-05/0.1341, allocations: 4 kB / 0.6812 GB, free: 15.34 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.662e-05/0.1341, allocations: 0.7812 kB / 0.6812 GB, free: 15.34 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.019e-05/0.1342, allocations: 0 / 0.6812 GB, free: 15.34 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002509/0.1345, allocations: 41.44 kB / 0.6813 GB, free: 15.3 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.109e-05/0.1345, allocations: 23.98 kB / 0.6813 GB, free: 15.28 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.218e-05/0.1346, allocations: 4.781 kB / 0.6813 GB, free: 15.28 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.812e-05/0.1346, allocations: 3.984 kB / 0.6813 GB, free: 15.27 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.164e-05/0.1346, allocations: 13.27 kB / 0.6813 GB, free: 15.26 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.286e-06/0.1346, allocations: 0 / 0.6813 GB, free: 15.26 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001437/0.1348, allocations: 67.86 kB / 0.6814 GB, free: 15.2 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.335e-05/0.1348, allocations: 7.984 kB / 0.6814 GB, free: 15.19 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.105e-05/0.1349, allocations: 15.94 kB / 0.6814 GB, free: 15.17 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001329/0.135, allocations: 71.98 kB / 0.6815 GB, free: 15.1 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.135, allocations: 0 / 0.6815 GB, free: 15.1 MB / 494.1 MB Notification: Performance of FrontEnd: time 7.22e-07/0.135, allocations: 0 / 0.6815 GB, free: 15.1 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.47e-06/0.135, allocations: 0 / 0.6815 GB, free: 15.1 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.0003029/0.1353, allocations: 335.6 kB / 0.6818 GB, free: 14.73 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.1354, allocations: 8.031 kB / 0.6818 GB, free: 14.72 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.891e-05/0.1354, allocations: 4.938 kB / 0.6818 GB, free: 14.71 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.577e-05/0.1355, allocations: 168.3 kB / 0.682 GB, free: 14.51 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.153e-05/0.1355, allocations: 8.375 kB / 0.682 GB, free: 14.5 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.808e-06/0.1356, allocations: 4.375 kB / 0.682 GB, free: 14.5 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001022/0.1357, allocations: 50 kB / 0.682 GB, free: 14.45 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.49e-06/0.1357, allocations: 0 / 0.682 GB, free: 14.45 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.934e-06/0.1357, allocations: 0 / 0.682 GB, free: 14.45 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.597e-06/0.1357, allocations: 0 / 0.682 GB, free: 14.45 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.516e-05/0.1357, allocations: 11.98 kB / 0.682 GB, free: 14.43 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001233/0.1359, allocations: 161.5 kB / 0.6822 GB, free: 14.23 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.677e-05/0.1359, allocations: 34.58 kB / 0.6822 GB, free: 14.18 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.367e-05/0.1359, allocations: 16.95 kB / 0.6822 GB, free: 14.16 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.4e-06/0.136, allocations: 0 / 0.6822 GB, free: 14.16 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001153/0.1361, allocations: 75.33 kB / 0.6823 GB, free: 14.08 MB / 494.1 MB Notification: Performance of pre-optimization done (n=7): time 1.082e-06/0.1361, allocations: 0 / 0.6823 GB, free: 14.08 MB / 494.1 MB Notification: Performance of matching and sorting (n=7): time 0.0001924/0.1363, allocations: 101.6 kB / 0.6824 GB, free: 13.97 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.623e-05/0.1363, allocations: 55.41 kB / 0.6825 GB, free: 13.91 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.218e-05/0.1364, allocations: 93.89 kB / 0.6825 GB, free: 13.8 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.919e-05/0.1364, allocations: 37.69 kB / 0.6826 GB, free: 13.76 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.281e-05/0.1364, allocations: 80.14 kB / 0.6827 GB, free: 13.68 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.247e-05/0.1365, allocations: 15.81 kB / 0.6827 GB, free: 13.66 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.905e-05/0.1365, allocations: 29.7 kB / 0.6827 GB, free: 13.63 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.144e-05/0.1366, allocations: 310.8 kB / 0.683 GB, free: 13.32 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.725e-05/0.1366, allocations: 27.98 kB / 0.683 GB, free: 13.29 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.032e-05/0.1367, allocations: 69.98 kB / 0.6831 GB, free: 13.2 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001074/0.1368, allocations: 101.8 kB / 0.6832 GB, free: 13.08 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.1368, allocations: 0 / 0.6832 GB, free: 13.08 MB / 494.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001576/0.137, allocations: 121.4 kB / 0.6833 GB, free: 12.95 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.137, allocations: 9.344 kB / 0.6833 GB, free: 12.95 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.137, allocations: 0 / 0.6833 GB, free: 12.95 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.137, allocations: 4.219 kB / 0.6833 GB, free: 12.94 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.704e-05/0.1371, allocations: 19.94 kB / 0.6833 GB, free: 12.92 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.682e-06/0.1371, allocations: 3.984 kB / 0.6833 GB, free: 12.92 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.118e-05/0.1372, allocations: 4 kB / 0.6833 GB, free: 12.91 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.021e-05/0.1372, allocations: 7.984 kB / 0.6833 GB, free: 12.91 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.607e-05/0.1373, allocations: 122.4 kB / 0.6835 GB, free: 12.78 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.055e-05/0.1373, allocations: 7.875 kB / 0.6835 GB, free: 12.77 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.803e-05/0.1373, allocations: 7.969 kB / 0.6835 GB, free: 12.76 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-06/0.1373, allocations: 4 kB / 0.6835 GB, free: 12.76 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.1373, allocations: 3.984 kB / 0.6835 GB, free: 12.75 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.1373, allocations: 4 kB / 0.6835 GB, free: 12.75 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001086/0.1375, allocations: 145.6 kB / 0.6836 GB, free: 12.56 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.031e-06/0.1375, allocations: 7.938 kB / 0.6836 GB, free: 12.55 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.581e-06/0.1375, allocations: 3.984 kB / 0.6836 GB, free: 12.55 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.1375, allocations: 3.938 kB / 0.6836 GB, free: 12.54 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.262e-06/0.1375, allocations: 0 / 0.6836 GB, free: 12.54 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.1375, allocations: 4 kB / 0.6837 GB, free: 12.54 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.1375, allocations: 0 / 0.6837 GB, free: 12.54 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001211/0.1376, allocations: 113.1 kB / 0.6838 GB, free: 12.41 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.645e-05/0.1377, allocations: 81.05 kB / 0.6838 GB, free: 12.31 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.59e-05/0.1377, allocations: 4 kB / 0.6838 GB, free: 12.31 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.189e-05/0.1377, allocations: 0 / 0.6838 GB, free: 12.31 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.968e-05/0.1377, allocations: 4 kB / 0.6838 GB, free: 12.3 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.127e-05/0.1378, allocations: 0 / 0.6838 GB, free: 12.3 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.457e-05/0.1378, allocations: 79.28 kB / 0.6839 GB, free: 12.23 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1378, allocations: 0 / 0.6839 GB, free: 12.23 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002239/0.138, allocations: 27.98 kB / 0.6839 GB, free: 12.2 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.0001782/0.1382, allocations: 127.2 kB / 0.6841 GB, free: 12.07 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001166/0.1383, allocations: 59.91 kB / 0.6841 GB, free: 12.01 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.1383, allocations: 0 / 0.6841 GB, free: 12.01 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.951e-05/0.1384, allocations: 19.94 kB / 0.6841 GB, free: 11.99 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001266/0.1385, allocations: 8.438 kB / 0.6842 GB, free: 11.98 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002338/0.1388, allocations: 123.2 kB / 0.6843 GB, free: 11.83 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002262/0.139, allocations: 0.6731 MB / 0.6849 GB, free: 11.13 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.404e-05/0.139, allocations: 7.984 kB / 0.6849 GB, free: 11.12 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.44e-05/0.139, allocations: 11.44 kB / 0.6849 GB, free: 11.11 MB / 494.1 MB Notification: Performance of SimCode: time 5.31e-07/0.139, allocations: 0 / 0.6849 GB, free: 11.11 MB / 494.1 MB Notification: Performance of Templates: time 0.002485/0.1415, allocations: 0.6536 MB / 0.6856 GB, free: 10.51 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe 2>&1)