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.001272/0.001271, allocations: 110.2 kB / 16.41 MB, free: 6.477 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.001207/0.001207, allocations: 185.5 kB / 17.34 MB, free: 5.754 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.34/1.34, 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.002203/0.002203, allocations: 288.8 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9777/0.9777, allocations: 169.2 MB / 0.499 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002081/0.002081, allocations: 99.84 kB / 0.6822 GB, free: 6.938 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4748/0.4769, allocations: 86.97 MB / 0.7671 GB, free: 3.93 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.002004/0.4789, allocations: 1.241 MB / 0.7683 GB, free: 2.68 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0008057/0.4798, allocations: 488.6 kB / 0.7688 GB, free: 2.199 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.01e-05/0.4798, allocations: 0 / 0.7688 GB, free: 2.199 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.776e-05/0.4798, allocations: 4 kB / 0.7688 GB, free: 2.195 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.405e-05/0.4799, allocations: 0 / 0.7688 GB, free: 2.195 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003279/0.4802, allocations: 51.86 kB / 0.7688 GB, free: 2.145 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 5.731e-05/0.4803, allocations: 12 kB / 0.7688 GB, free: 2.133 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.519e-05/0.4804, allocations: 4 kB / 0.7688 GB, free: 2.129 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.662e-05/0.4804, allocations: 19.84 kB / 0.7689 GB, free: 2.109 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 3.699e-05/0.4804, allocations: 4 kB / 0.7689 GB, free: 2.105 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 9.568e-06/0.4805, allocations: 0 / 0.7689 GB, free: 2.105 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001555/0.4806, allocations: 63.86 kB / 0.7689 GB, free: 2.043 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.842e-05/0.4807, allocations: 7.984 kB / 0.7689 GB, free: 2.035 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.033e-05/0.4807, allocations: 15.94 kB / 0.7689 GB, free: 2.02 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001296/0.4808, allocations: 63.55 kB / 0.769 GB, free: 1.961 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.4809, allocations: 0 / 0.769 GB, free: 1.961 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.573e-06/0.4809, allocations: 0 / 0.769 GB, free: 1.961 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.889e-06/0.4809, allocations: 0 / 0.769 GB, free: 1.961 MB / 0.5294 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.0003467/0.4812, allocations: 339.5 kB / 0.7693 GB, free: 1.582 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.311e-05/0.4813, allocations: 8.031 kB / 0.7693 GB, free: 1.574 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.029e-05/0.4813, allocations: 0.9375 kB / 0.7693 GB, free: 1.574 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.768e-05/0.4814, allocations: 164.4 kB / 0.7695 GB, free: 1.375 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.209e-05/0.4814, allocations: 8.359 kB / 0.7695 GB, free: 1.367 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.685e-05/0.4814, allocations: 4.375 kB / 0.7695 GB, free: 1.363 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001065/0.4815, allocations: 57.88 kB / 0.7696 GB, free: 1.301 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.563e-06/0.4815, allocations: 0 / 0.7696 GB, free: 1.301 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.067e-06/0.4816, allocations: 0 / 0.7696 GB, free: 1.301 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.4816, allocations: 4 kB / 0.7696 GB, free: 1.297 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.604e-05/0.4816, allocations: 8 kB / 0.7696 GB, free: 1.289 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001326/0.4817, allocations: 156.2 kB / 0.7697 GB, free: 1.09 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 5.1e-05/0.4818, allocations: 34.56 kB / 0.7698 GB, free: 1.047 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.32e-05/0.4818, allocations: 24.89 kB / 0.7698 GB, free: 1.02 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 8.236e-06/0.4819, allocations: 8 kB / 0.7698 GB, free: 1.012 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001259/0.482, allocations: 71.33 kB / 0.7699 GB, free: 0.9297 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=7): time 1.142e-06/0.482, allocations: 0 / 0.7699 GB, free: 0.9297 MB / 0.5294 GB Notification: Performance of matching and sorting (n=7): time 0.0001879/0.4822, allocations: 93.67 kB / 0.7699 GB, free: 0.832 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.93e-05/0.4822, allocations: 59.39 kB / 0.77 GB, free: 0.7617 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.621e-05/0.4823, allocations: 93.77 kB / 0.7701 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.762e-05/0.4823, allocations: 37.64 kB / 0.7701 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.001e-05/0.4823, allocations: 80.14 kB / 0.7702 GB, free: 0.5352 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.41e-05/0.4824, allocations: 15.89 kB / 0.7702 GB, free: 0.5195 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.801e-05/0.4824, allocations: 29.75 kB / 0.7702 GB, free: 496 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.195e-05/0.4825, allocations: 318.8 kB / 0.7705 GB, free: 168 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.752e-05/0.4825, allocations: 23.98 kB / 0.7706 GB, free: 144 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.993e-05/0.4826, allocations: 58 kB / 0.7706 GB, free: 64 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001187/0.4827, allocations: 97.92 kB / 0.7707 GB, free: 15.95 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.4827, allocations: 0 / 0.7707 GB, free: 15.95 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001499/0.4829, allocations: 125.4 kB / 0.7708 GB, free: 15.82 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.4829, allocations: 7.938 kB / 0.7708 GB, free: 15.81 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.4829, allocations: 4 kB / 0.7708 GB, free: 15.8 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.4829, allocations: 3.984 kB / 0.7709 GB, free: 15.8 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.875e-05/0.483, allocations: 12 kB / 0.7709 GB, free: 15.79 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.483, allocations: 3.938 kB / 0.7709 GB, free: 15.79 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.365e-05/0.4831, allocations: 7.938 kB / 0.7709 GB, free: 15.78 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.839e-06/0.4831, allocations: 8 kB / 0.7709 GB, free: 15.77 MB / 0.545 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 (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.805e-05/0.4832, allocations: 125.8 kB / 0.771 GB, free: 15.64 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.171e-05/0.4832, allocations: 7.844 kB / 0.771 GB, free: 15.63 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.12e-05/0.4832, allocations: 7.969 kB / 0.771 GB, free: 15.62 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.4832, allocations: 0 / 0.771 GB, free: 15.62 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.4833, allocations: 4 kB / 0.771 GB, free: 15.62 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.4833, allocations: 3.938 kB / 0.771 GB, free: 15.61 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001088/0.4834, allocations: 153.7 kB / 0.7712 GB, free: 15.41 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.4834, allocations: 0 / 0.7712 GB, free: 15.41 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.407e-06/0.4834, allocations: 0 / 0.7712 GB, free: 15.41 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.4834, allocations: 7.938 kB / 0.7712 GB, free: 15.41 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.156e-06/0.4834, allocations: 4 kB / 0.7712 GB, free: 15.4 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.4834, allocations: 0 / 0.7712 GB, free: 15.4 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.4834, allocations: 3.938 kB / 0.7712 GB, free: 15.4 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001146/0.4835, allocations: 109.3 kB / 0.7713 GB, free: 15.27 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.286e-05/0.4836, allocations: 84.98 kB / 0.7714 GB, free: 15.17 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.765e-05/0.4836, allocations: 7.984 kB / 0.7714 GB, free: 15.16 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.211e-05/0.4836, allocations: 32 / 0.7714 GB, free: 15.16 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.123e-05/0.4836, allocations: 11.94 kB / 0.7714 GB, free: 15.15 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.244e-05/0.4837, allocations: 4 kB / 0.7714 GB, free: 15.15 MB / 0.545 GB Notification: Performance of sorting global known variables: time 2.363e-05/0.4837, allocations: 75.28 kB / 0.7715 GB, free: 15.07 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4837, allocations: 0 / 0.7715 GB, free: 15.07 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002213/0.4839, allocations: 24 kB / 0.7715 GB, free: 15.05 MB / 0.545 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 (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.0001843/0.4841, allocations: 122.2 kB / 0.7716 GB, free: 14.93 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001357/0.4843, allocations: 67.84 kB / 0.7717 GB, free: 14.86 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.4843, allocations: 0 / 0.7717 GB, free: 14.86 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 3.17e-05/0.4843, allocations: 19.98 kB / 0.7717 GB, free: 14.84 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001311/0.4844, allocations: 0 / 0.7717 GB, free: 14.84 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002545/0.4847, allocations: 147.2 kB / 0.7718 GB, free: 14.66 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002029/0.4849, allocations: 0.6768 MB / 0.7725 GB, free: 13.96 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.435e-05/0.4849, allocations: 11.44 kB / 0.7725 GB, free: 13.95 MB / 0.545 GB Notification: Performance of SimCode: time 2.2e-07/0.4849, allocations: 0.5 kB / 0.7725 GB, free: 13.95 MB / 0.545 GB Notification: Performance of Templates: time 0.002019/0.487, allocations: 0.8237 MB / 0.7733 GB, free: 13.14 MB / 0.545 GB 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)