Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.0008914/0.0008914, allocations: 98.83 kB / 15.05 MB, free: 1.105 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.001017/0.001017, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.337/1.337, allocations: 205.4 MB / 222.1 MB, free: 5.676 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.646/1.646, allocations: 292.5 MB / 0.5497 GB, free: 14.64 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005169/0.000517, allocations: 16.28 kB / 0.6736 GB, free: 26.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2403/0.2408, allocations: 116.3 MB / 0.7871 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.001178/0.2421, allocations: 0.9731 MB / 0.7881 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0007049/0.2428, allocations: 497.3 kB / 0.7886 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.528e-05/0.2428, allocations: 4 kB / 0.7886 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.855e-05/0.2428, allocations: 0 / 0.7886 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 1.702e-05/0.2429, allocations: 0 / 0.7886 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002643/0.2431, allocations: 43.88 kB / 0.7886 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 3.781e-05/0.2432, allocations: 7.938 kB / 0.7886 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.884e-05/0.2432, allocations: 4 kB / 0.7886 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.941e-05/0.2433, allocations: 4 kB / 0.7886 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 2.356e-05/0.2433, allocations: 11.97 kB / 0.7886 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 8.727e-06/0.2433, allocations: 0 / 0.7886 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001107/0.2434, allocations: 35.97 kB / 0.7887 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.892e-05/0.2435, allocations: 7.984 kB / 0.7887 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.667e-05/0.2435, allocations: 33.64 kB / 0.7887 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 7.591e-05/0.2436, allocations: 35.94 kB / 0.7888 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.2436, allocations: 0 / 0.7888 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.192e-06/0.2436, allocations: 0 / 0.7888 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.398e-06/0.2436, allocations: 0 / 0.7888 GB, free: 10.3 MB / 0.6075 GB 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.0002914/0.2439, allocations: 335.6 kB / 0.7891 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.202e-05/0.2439, allocations: 12.03 kB / 0.7891 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.031e-05/0.244, allocations: 3.906 kB / 0.7891 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.196e-05/0.2441, allocations: 171 kB / 0.7893 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.406e-05/0.2441, allocations: 4 kB / 0.7893 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.047e-06/0.2441, allocations: 0 / 0.7893 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.596e-05/0.2442, allocations: 49.69 kB / 0.7893 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.203e-06/0.2442, allocations: 4 kB / 0.7893 GB, free: 9.645 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.315e-06/0.2442, allocations: 0 / 0.7893 GB, free: 9.645 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.2442, allocations: 4 kB / 0.7893 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.349e-05/0.2443, allocations: 11.94 kB / 0.7893 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001439/0.2444, allocations: 161.7 kB / 0.7895 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 4.465e-05/0.2445, allocations: 30.56 kB / 0.7895 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.246e-06/0.2445, allocations: 0 / 0.7895 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001266/0.2446, allocations: 71.44 kB / 0.7896 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 9.72e-07/0.2446, allocations: 0 / 0.7896 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0002249/0.2448, allocations: 178.9 kB / 0.7897 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.421e-05/0.2449, allocations: 55.41 kB / 0.7898 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.266e-05/0.2449, allocations: 101.8 kB / 0.7899 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.584e-05/0.245, allocations: 25.7 kB / 0.7899 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.912e-05/0.245, allocations: 80.14 kB / 0.79 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.147e-05/0.245, allocations: 19.83 kB / 0.79 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.531e-06/0.245, allocations: 4 kB / 0.79 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.448e-05/0.2451, allocations: 322.8 kB / 0.7903 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.525e-05/0.2452, allocations: 19.98 kB / 0.7903 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.539e-05/0.2452, allocations: 65.98 kB / 0.7904 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.428e-05/0.2453, allocations: 35.92 kB / 0.7904 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.568e-06/0.2453, allocations: 4 kB / 0.7904 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001409/0.2455, allocations: 109.5 kB / 0.7906 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.114e-05/0.2455, allocations: 4 kB / 0.7906 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.2455, allocations: 4 kB / 0.7906 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.051e-05/0.2455, allocations: 224 / 0.7906 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.008e-05/0.2456, allocations: 27.92 kB / 0.7906 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.2456, allocations: 0 / 0.7906 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.324e-05/0.2456, allocations: 4 kB / 0.7906 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.065e-06/0.2457, allocations: 4 kB / 0.7906 GB, free: 8.164 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.QAggShi_flow[5],QAggShi_flow[5],$PRE.QAggShi_flow[4],QAggShi_flow[4],$PRE.QAggShi_flow[3],QAggShi_flow[3],$PRE.QAggShi_flow[2],QAggShi_flow[2],$PRE.QAggShi_flow[1],QAggShi_flow[1],$PRE.curCel,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.89e-05/0.2457, allocations: 129.7 kB / 0.7907 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.188e-06/0.2458, allocations: 3.906 kB / 0.7907 GB, free: 8.023 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.024e-05/0.2458, allocations: 7.906 kB / 0.7907 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.2458, allocations: 11.92 kB / 0.7907 GB, free: 8 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.2458, allocations: 4 kB / 0.7907 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.2458, allocations: 0 / 0.7907 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001046/0.2459, allocations: 161.6 kB / 0.7909 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.2459, allocations: 0 / 0.7909 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.126e-06/0.2459, allocations: 0 / 0.7909 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.2459, allocations: 0 / 0.7909 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.462e-06/0.2459, allocations: 0 / 0.7909 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.51e-07/0.246, allocations: 0 / 0.7909 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.246, allocations: 4 kB / 0.7909 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001125/0.2461, allocations: 105.1 kB / 0.791 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 2.988e-05/0.2461, allocations: 81.06 kB / 0.7911 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.609e-05/0.2461, allocations: 4 kB / 0.7911 GB, free: 7.562 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.252e-05/0.2462, allocations: 3.984 kB / 0.7911 GB, free: 7.559 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.58e-05/0.2462, allocations: 4 kB / 0.7911 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.161e-05/0.2462, allocations: 0 / 0.7911 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.409e-05/0.2462, allocations: 75.28 kB / 0.7912 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2462, allocations: 7.875 kB / 0.7912 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000209/0.2464, allocations: 24 kB / 0.7912 GB, free: 7.449 MB / 0.6075 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001537/0.2466, allocations: 127.3 kB / 0.7913 GB, free: 7.316 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001095/0.2467, allocations: 51.91 kB / 0.7914 GB, free: 7.266 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.2467, allocations: 0 / 0.7914 GB, free: 7.266 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 2.627e-05/0.2468, allocations: 20 kB / 0.7914 GB, free: 7.246 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.708e-05/0.2468, allocations: 8.594 kB / 0.7914 GB, free: 7.238 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002221/0.2471, allocations: 125.1 kB / 0.7915 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002068/0.2473, allocations: 0.6848 MB / 0.7922 GB, free: 6.383 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.092e-05/0.2473, allocations: 4 kB / 0.7922 GB, free: 6.379 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.433e-05/0.2473, allocations: 15.38 kB / 0.7922 GB, free: 6.363 MB / 0.6075 GB Notification: Performance of SimCode: time 2.2e-07/0.2473, allocations: 0 / 0.7922 GB, free: 6.363 MB / 0.6075 GB Notification: Performance of Templates: time 0.002365/0.2497, allocations: 0.6345 MB / 0.7928 GB, free: 5.77 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.sim & ./Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe 2>&1) Environment - environmentSimulation: