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.0008021/0.0008023, allocations: 91.77 kB / 15.36 MB, free: 0.7344 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.005253/0.005253, allocations: 168.4 kB / 16.26 MB, free: 6.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.413/1.413, allocations: 205.4 MB / 222.4 MB, free: 5.574 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.744/1.744, allocations: 292.7 MB / 0.5502 GB, free: 14.48 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.0005687/0.0005689, allocations: 21.41 kB / 0.6743 GB, free: 25.84 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2626/0.2632, allocations: 116.3 MB / 0.7879 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.001721/0.265, allocations: 0.9781 MB / 0.7889 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001076/0.2661, allocations: 0.5086 MB / 0.7894 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.706e-05/0.2662, allocations: 0 / 0.7894 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.348e-05/0.2662, allocations: 4 kB / 0.7894 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.377e-05/0.2663, allocations: 3.984 kB / 0.7894 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003603/0.2666, allocations: 43.94 kB / 0.7894 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.099e-05/0.2667, allocations: 23.92 kB / 0.7894 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.092e-05/0.2668, allocations: 3.984 kB / 0.7894 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.513e-05/0.2668, allocations: 4 kB / 0.7895 GB, free: 9.965 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.663e-05/0.2669, allocations: 7.938 kB / 0.7895 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.055e-05/0.2669, allocations: 0 / 0.7895 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001891/0.2671, allocations: 71.83 kB / 0.7895 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.723e-05/0.2672, allocations: 12 kB / 0.7895 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.617e-05/0.2673, allocations: 41.62 kB / 0.7896 GB, free: 9.828 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001621/0.2674, allocations: 63.89 kB / 0.7896 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.2674, allocations: 4 kB / 0.7896 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.545e-06/0.2674, allocations: 0 / 0.7896 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.601e-06/0.2675, allocations: 0 / 0.7896 GB, free: 9.762 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.0004008/0.2679, allocations: 331.8 kB / 0.79 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.2679, allocations: 12.03 kB / 0.79 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.486e-05/0.268, allocations: 4.844 kB / 0.79 GB, free: 9.375 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001287/0.2681, allocations: 168.3 kB / 0.7901 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.666e-05/0.2681, allocations: 384 / 0.7901 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.642e-05/0.2681, allocations: 4.375 kB / 0.7901 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001403/0.2683, allocations: 54 kB / 0.7902 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.284e-06/0.2683, allocations: 0 / 0.7902 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.358e-05/0.2683, allocations: 0 / 0.7902 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.2683, allocations: 3.938 kB / 0.7902 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.191e-05/0.2684, allocations: 11.98 kB / 0.7902 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001637/0.2685, allocations: 153.7 kB / 0.7904 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.541e-05/0.2686, allocations: 38.58 kB / 0.7904 GB, free: 8.848 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.941e-05/0.2687, allocations: 16.95 kB / 0.7904 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 8.856e-06/0.2687, allocations: 0 / 0.7904 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001703/0.2688, allocations: 67.33 kB / 0.7905 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.242e-06/0.2689, allocations: 0 / 0.7905 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0002444/0.2691, allocations: 97.61 kB / 0.7906 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.471e-05/0.2692, allocations: 63.42 kB / 0.7906 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.15e-05/0.2692, allocations: 97.77 kB / 0.7907 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.067e-05/0.2693, allocations: 33.69 kB / 0.7908 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.232e-05/0.2693, allocations: 80.14 kB / 0.7908 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.759e-05/0.2693, allocations: 15.84 kB / 0.7908 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.658e-05/0.2694, allocations: 21.7 kB / 0.7909 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001247/0.2695, allocations: 318.8 kB / 0.7912 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.885e-05/0.2695, allocations: 19.98 kB / 0.7912 GB, free: 7.965 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.131e-05/0.2696, allocations: 69.98 kB / 0.7913 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001279/0.2698, allocations: 97.88 kB / 0.7913 GB, free: 7.758 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.2698, allocations: 0 / 0.7913 GB, free: 7.758 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001779/0.27, allocations: 117.4 kB / 0.7915 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.27, allocations: 7.938 kB / 0.7915 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.146e-06/0.27, allocations: 4 kB / 0.7915 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.27, allocations: 224 / 0.7915 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.466e-05/0.2701, allocations: 19.94 kB / 0.7915 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.2701, allocations: 240 / 0.7915 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.027e-05/0.2702, allocations: 15.98 kB / 0.7915 GB, free: 7.59 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.17e-05/0.2702, allocations: 7.984 kB / 0.7915 GB, free: 7.582 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 (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 0.0001106/0.2703, allocations: 121.8 kB / 0.7916 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.246e-05/0.2703, allocations: 7.844 kB / 0.7916 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.707e-05/0.2704, allocations: 3.969 kB / 0.7916 GB, free: 7.438 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.648e-06/0.2704, allocations: 8 kB / 0.7916 GB, free: 7.43 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.2704, allocations: 0 / 0.7916 GB, free: 7.43 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.2704, allocations: 7.922 kB / 0.7917 GB, free: 7.422 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001363/0.2705, allocations: 153.7 kB / 0.7918 GB, free: 7.223 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.2706, allocations: 0 / 0.7918 GB, free: 7.223 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.777e-06/0.2706, allocations: 7.875 kB / 0.7918 GB, free: 7.215 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/0.2706, allocations: 7.922 kB / 0.7918 GB, free: 7.207 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.622e-06/0.2706, allocations: 0 / 0.7918 GB, free: 7.207 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.2706, allocations: 0 / 0.7918 GB, free: 7.207 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.2706, allocations: 4 kB / 0.7918 GB, free: 7.203 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001372/0.2707, allocations: 105.1 kB / 0.7919 GB, free: 7.082 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.662e-05/0.2708, allocations: 81.05 kB / 0.792 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.797e-05/0.2708, allocations: 4 kB / 0.792 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.195e-05/0.2708, allocations: 0 / 0.792 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.519e-05/0.2709, allocations: 4 kB / 0.792 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.499e-05/0.2709, allocations: 0 / 0.792 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.916e-05/0.2709, allocations: 75.28 kB / 0.7921 GB, free: 6.902 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9e-08/0.2709, allocations: 4 kB / 0.7921 GB, free: 6.898 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002353/0.2712, allocations: 20.02 kB / 0.7921 GB, free: 6.879 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 (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.0002345/0.2714, allocations: 131.2 kB / 0.7922 GB, free: 6.742 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000148/0.2716, allocations: 63.83 kB / 0.7923 GB, free: 6.68 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.2716, allocations: 0 / 0.7923 GB, free: 6.68 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.239e-05/0.2716, allocations: 16 kB / 0.7923 GB, free: 6.664 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001492/0.2718, allocations: 5.375 kB / 0.7923 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00034/0.2721, allocations: 132.5 kB / 0.7924 GB, free: 6.508 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002824/0.2724, allocations: 0.677 MB / 0.7931 GB, free: 5.805 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.314e-05/0.2724, allocations: 4 kB / 0.7931 GB, free: 5.801 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.769e-05/0.2725, allocations: 11.44 kB / 0.7931 GB, free: 5.789 MB / 0.6075 GB Notification: Performance of SimCode: time 3.41e-07/0.2725, allocations: 0 / 0.7931 GB, free: 5.789 MB / 0.6075 GB Notification: Performance of Templates: time 0.002801/0.2753, allocations: 0.6421 MB / 0.7937 GB, free: 5.191 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: