Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.conf.json 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/IBPSA 4.0.0-master/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) 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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells") translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001741/0.001741, allocations: 182.7 kB / 16.63 MB, free: 5.117 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5154/0.5154, allocations: 87.49 MB / 104.9 MB, free: 13.02 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.358/1.358, allocations: 222.9 MB / 349.1 MB, free: 2.754 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001021/0.001021, allocations: 108.6 kB / 420 MB, free: 8.488 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001184/0.001184, allocations: 59.89 kB / 0.4891 GB, free: 7.652 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2878/0.289, allocations: 70.06 MB / 0.5575 GB, free: 44.81 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.002132/0.2912, allocations: 1.295 MB / 0.5588 GB, free: 43.8 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007226/0.292, allocations: 490.8 kB / 0.5593 GB, free: 43.41 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.685e-05/0.292, allocations: 0 / 0.5593 GB, free: 43.41 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 3.475e-05/0.292, allocations: 3.938 kB / 0.5593 GB, free: 43.41 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 6.669e-05/0.2921, allocations: 4 kB / 0.5593 GB, free: 43.41 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002986/0.2924, allocations: 39.95 kB / 0.5593 GB, free: 43.37 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 6.43e-05/0.2925, allocations: 31.84 kB / 0.5593 GB, free: 43.34 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.39e-05/0.2925, allocations: 4 kB / 0.5594 GB, free: 43.33 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.9e-05/0.2926, allocations: 0 / 0.5594 GB, free: 43.33 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.072e-05/0.2926, allocations: 15.97 kB / 0.5594 GB, free: 43.32 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 9.548e-06/0.2926, allocations: 4 kB / 0.5594 GB, free: 43.31 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001221/0.2927, allocations: 63.86 kB / 0.5594 GB, free: 43.25 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.614e-05/0.2928, allocations: 7.984 kB / 0.5594 GB, free: 43.24 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.858e-05/0.2928, allocations: 11.94 kB / 0.5594 GB, free: 43.23 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001064/0.2929, allocations: 59.89 kB / 0.5595 GB, free: 43.17 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.293, allocations: 4 kB / 0.5595 GB, free: 43.17 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.724e-06/0.293, allocations: 0 / 0.5595 GB, free: 43.17 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.956e-06/0.293, allocations: 3.938 kB / 0.5595 GB, free: 43.16 MB / 410.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.0002558/0.2932, allocations: 345.6 kB / 0.5598 GB, free: 42.78 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.873e-05/0.2933, allocations: 8.031 kB / 0.5599 GB, free: 42.77 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.941e-05/0.2933, allocations: 0.9375 kB / 0.5599 GB, free: 42.77 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.494e-05/0.2934, allocations: 168.3 kB / 0.56 GB, free: 42.57 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.889e-06/0.2934, allocations: 8.312 kB / 0.56 GB, free: 42.56 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.816e-06/0.2934, allocations: 384 / 0.56 GB, free: 42.56 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.01e-05/0.2935, allocations: 58 kB / 0.5601 GB, free: 42.5 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.753e-06/0.2935, allocations: 0 / 0.5601 GB, free: 42.5 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.442e-06/0.2935, allocations: 0 / 0.5601 GB, free: 42.5 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.347e-06/0.2935, allocations: 0 / 0.5601 GB, free: 42.5 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.18e-05/0.2935, allocations: 11.98 kB / 0.5601 GB, free: 42.49 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.195e-05/0.2936, allocations: 157.7 kB / 0.5602 GB, free: 42.29 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.67e-05/0.2937, allocations: 38.5 kB / 0.5603 GB, free: 42.24 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.856e-05/0.2937, allocations: 16.95 kB / 0.5603 GB, free: 42.22 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.962e-06/0.2937, allocations: 4 kB / 0.5603 GB, free: 42.21 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.686e-05/0.2938, allocations: 71.33 kB / 0.5604 GB, free: 42.13 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 1.082e-06/0.2938, allocations: 0 / 0.5604 GB, free: 42.13 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001541/0.294, allocations: 101.6 kB / 0.5605 GB, free: 42.03 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.403e-05/0.294, allocations: 59.34 kB / 0.5605 GB, free: 41.96 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.698e-05/0.294, allocations: 93.86 kB / 0.5606 GB, free: 41.86 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.866e-06/0.294, allocations: 25.7 kB / 0.5606 GB, free: 41.82 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.346e-05/0.2941, allocations: 88.17 kB / 0.5607 GB, free: 41.73 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.648e-05/0.2941, allocations: 15.8 kB / 0.5607 GB, free: 41.72 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.934e-05/0.2941, allocations: 29.72 kB / 0.5608 GB, free: 41.68 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.02e-05/0.2942, allocations: 318.8 kB / 0.5611 GB, free: 41.36 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.018e-05/0.2942, allocations: 19.98 kB / 0.5611 GB, free: 41.34 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.051e-05/0.2942, allocations: 71.5 kB / 0.5611 GB, free: 41.25 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.481e-05/0.2943, allocations: 105.8 kB / 0.5612 GB, free: 41.13 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.2943, allocations: 0 / 0.5612 GB, free: 41.13 MB / 410.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001116/0.2944, allocations: 105.5 kB / 0.5614 GB, free: 41.02 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/0.2945, allocations: 17.48 kB / 0.5614 GB, free: 41 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.2945, allocations: 0 / 0.5614 GB, free: 41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.091e-05/0.2945, allocations: 8 kB / 0.5614 GB, free: 41 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.789e-05/0.2945, allocations: 11.94 kB / 0.5614 GB, free: 40.98 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.511e-06/0.2946, allocations: 7.938 kB / 0.5614 GB, free: 40.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.099e-05/0.2946, allocations: 20.06 kB / 0.5614 GB, free: 40.96 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.993e-06/0.2946, allocations: 4 kB / 0.5614 GB, free: 40.95 MB / 410.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 6.122e-05/0.2947, allocations: 122.3 kB / 0.5615 GB, free: 40.82 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.346e-06/0.2947, allocations: 3.938 kB / 0.5615 GB, free: 40.82 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.496e-05/0.2947, allocations: 3.969 kB / 0.5615 GB, free: 40.82 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-06/0.2947, allocations: 0 / 0.5615 GB, free: 40.82 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.2947, allocations: 0 / 0.5615 GB, free: 40.82 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.2947, allocations: 0 / 0.5615 GB, free: 40.82 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.553e-05/0.2948, allocations: 153.7 kB / 0.5617 GB, free: 40.62 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.52e-07/0.2948, allocations: 0 / 0.5617 GB, free: 40.62 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.448e-06/0.2948, allocations: 4 kB / 0.5617 GB, free: 40.61 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.2948, allocations: 7.875 kB / 0.5617 GB, free: 40.61 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.092e-06/0.2948, allocations: 4 kB / 0.5617 GB, free: 40.6 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.2948, allocations: 0 / 0.5617 GB, free: 40.6 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.2948, allocations: 3.984 kB / 0.5617 GB, free: 40.6 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002017/0.295, allocations: 0.6631 MB / 0.5624 GB, free: 39.88 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.677e-05/0.2951, allocations: 81.02 kB / 0.5624 GB, free: 39.78 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.444e-05/0.2951, allocations: 7.984 kB / 0.5624 GB, free: 39.77 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.064e-05/0.2951, allocations: 0 / 0.5624 GB, free: 39.77 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.646e-05/0.2951, allocations: 4 kB / 0.5624 GB, free: 39.77 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.022e-05/0.2951, allocations: 0 / 0.5624 GB, free: 39.77 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.05e-05/0.2952, allocations: 75.28 kB / 0.5625 GB, free: 39.69 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2952, allocations: 0 / 0.5625 GB, free: 39.69 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002902/0.2955, allocations: 27.94 kB / 0.5625 GB, free: 39.66 MB / 410.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.0001316/0.2956, allocations: 135.2 kB / 0.5627 GB, free: 39.52 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 9.38e-05/0.2957, allocations: 55.92 kB / 0.5627 GB, free: 39.47 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.2957, allocations: 0 / 0.5627 GB, free: 39.47 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.311e-05/0.2957, allocations: 23.92 kB / 0.5627 GB, free: 39.45 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000113/0.2958, allocations: 0 / 0.5627 GB, free: 39.45 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002375/0.2961, allocations: 242.6 kB / 0.563 GB, free: 39.17 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.497e-05/0.2962, allocations: 0.6809 MB / 0.5636 GB, free: 38.46 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 2.337e-05/0.2962, allocations: 7.984 kB / 0.5637 GB, free: 38.45 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.07e-05/0.2962, allocations: 15.38 kB / 0.5637 GB, free: 38.44 MB / 410.7 MB Notification: Performance of SimCode: time 2.2e-07/0.2962, allocations: 0 / 0.5637 GB, free: 38.44 MB / 410.7 MB Notification: Performance of Templates: time 0.002105/0.2983, allocations: 0.6519 MB / 0.5643 GB, free: 37.83 MB / 410.7 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.sim & ./IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe 2>&1)