Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells") translateModel(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.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.001027/0.001027, allocations: 98.56 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001078/0.001078, allocations: 184.3 kB / 16.92 MB, free: 6.918 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.469/1.469, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 1.01/1.01, allocations: 143.2 MB / 435.3 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000355/0.0003555, allocations: 12.28 kB / 0.5171 GB, free: 11.07 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1887/0.1891, allocations: 83.4 MB / 0.5985 GB, free: 7.633 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.001475/0.1906, allocations: 0.9724 MB / 0.5995 GB, free: 6.652 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009172/0.1916, allocations: 479 kB / 0.6 GB, free: 6.18 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.458e-05/0.1916, allocations: 0 / 0.6 GB, free: 6.18 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.122e-05/0.1916, allocations: 3.938 kB / 0.6 GB, free: 6.176 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.271e-05/0.1917, allocations: 7.984 kB / 0.6 GB, free: 6.168 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003042/0.192, allocations: 35.95 kB / 0.6 GB, free: 6.133 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.965e-05/0.1921, allocations: 23.97 kB / 0.6 GB, free: 6.109 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.537e-05/0.1921, allocations: 11.98 kB / 0.6 GB, free: 6.098 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.597e-05/0.1922, allocations: 7.875 kB / 0.6 GB, free: 6.09 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.969e-05/0.1922, allocations: 4 kB / 0.6 GB, free: 6.086 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.055e-05/0.1922, allocations: 4 kB / 0.6 GB, free: 6.082 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001718/0.1924, allocations: 67.84 kB / 0.6001 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.037e-05/0.1925, allocations: 11.98 kB / 0.6001 GB, free: 6.004 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.926e-05/0.1925, allocations: 41.62 kB / 0.6002 GB, free: 5.957 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001045/0.1926, allocations: 39.94 kB / 0.6002 GB, free: 5.918 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.1927, allocations: 0 / 0.6002 GB, free: 5.918 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.523e-06/0.1927, allocations: 0 / 0.6002 GB, free: 5.918 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.937e-06/0.1927, allocations: 4 kB / 0.6002 GB, free: 5.914 MB / 0.4981 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.0003568/0.193, allocations: 335.7 kB / 0.6005 GB, free: 5.539 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.1931, allocations: 8.031 kB / 0.6005 GB, free: 5.531 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.334e-05/0.1931, allocations: 4.938 kB / 0.6005 GB, free: 5.527 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.864e-05/0.1932, allocations: 164.4 kB / 0.6007 GB, free: 5.328 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.377e-05/0.1932, allocations: 384 / 0.6007 GB, free: 5.328 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.231e-05/0.1933, allocations: 4.375 kB / 0.6007 GB, free: 5.324 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001136/0.1934, allocations: 50 kB / 0.6007 GB, free: 5.27 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.1934, allocations: 0 / 0.6007 GB, free: 5.27 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.626e-06/0.1934, allocations: 7.938 kB / 0.6008 GB, free: 5.262 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.1934, allocations: 0 / 0.6008 GB, free: 5.262 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.816e-05/0.1934, allocations: 12 kB / 0.6008 GB, free: 5.25 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001503/0.1936, allocations: 153.7 kB / 0.6009 GB, free: 5.051 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.087e-05/0.1937, allocations: 30.56 kB / 0.6009 GB, free: 5.012 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.798e-05/0.1937, allocations: 16.95 kB / 0.601 GB, free: 4.992 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.532e-06/0.1937, allocations: 4 kB / 0.601 GB, free: 4.988 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001404/0.1939, allocations: 75.27 kB / 0.601 GB, free: 4.902 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 1.242e-06/0.1939, allocations: 0 / 0.601 GB, free: 4.902 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.0002121/0.1941, allocations: 97.89 kB / 0.6011 GB, free: 4.801 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.128e-05/0.1941, allocations: 59.41 kB / 0.6012 GB, free: 4.73 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.29e-05/0.1942, allocations: 93.77 kB / 0.6013 GB, free: 4.629 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.851e-05/0.1942, allocations: 33.64 kB / 0.6013 GB, free: 4.59 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.351e-05/0.1943, allocations: 84.14 kB / 0.6014 GB, free: 4.504 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.782e-05/0.1943, allocations: 19.86 kB / 0.6014 GB, free: 4.484 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.038e-05/0.1943, allocations: 21.66 kB / 0.6014 GB, free: 4.457 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000119/0.1944, allocations: 318.8 kB / 0.6017 GB, free: 4.137 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.333e-05/0.1945, allocations: 19.98 kB / 0.6017 GB, free: 4.117 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.666e-05/0.1946, allocations: 71.56 kB / 0.6018 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001303/0.1947, allocations: 97.92 kB / 0.6019 GB, free: 3.91 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.1947, allocations: 0 / 0.6019 GB, free: 3.91 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001923/0.1949, allocations: 117.4 kB / 0.602 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.1949, allocations: 15.92 kB / 0.602 GB, free: 3.773 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.575e-06/0.195, allocations: 7.984 kB / 0.602 GB, free: 3.766 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.195, allocations: 4 kB / 0.602 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.064e-05/0.1951, allocations: 8 kB / 0.6021 GB, free: 3.754 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.376e-06/0.1951, allocations: 4 kB / 0.6021 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.851e-05/0.1951, allocations: 8 kB / 0.6021 GB, free: 3.742 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.717e-06/0.1951, allocations: 4 kB / 0.6021 GB, free: 3.738 MB / 0.4981 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.0001107/0.1952, allocations: 133.3 kB / 0.6022 GB, free: 3.602 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.142e-05/0.1953, allocations: 7.844 kB / 0.6022 GB, free: 3.594 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.372e-05/0.1953, allocations: 3.969 kB / 0.6022 GB, free: 3.586 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.1953, allocations: 0 / 0.6022 GB, free: 3.586 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.1953, allocations: 0 / 0.6022 GB, free: 3.586 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.1953, allocations: 0 / 0.6022 GB, free: 3.586 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001254/0.1954, allocations: 157.6 kB / 0.6024 GB, free: 3.383 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.1954, allocations: 0 / 0.6024 GB, free: 3.383 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.492e-06/0.1955, allocations: 8 kB / 0.6024 GB, free: 3.375 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.1955, allocations: 3.938 kB / 0.6024 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.053e-06/0.1955, allocations: 0 / 0.6024 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.1955, allocations: 0 / 0.6024 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.1955, allocations: 0 / 0.6024 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001358/0.1956, allocations: 113 kB / 0.6025 GB, free: 3.242 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.004e-05/0.1957, allocations: 81.05 kB / 0.6026 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.948e-05/0.1957, allocations: 7.984 kB / 0.6026 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.193e-05/0.1957, allocations: 32 / 0.6026 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.83e-05/0.1958, allocations: 4 kB / 0.6026 GB, free: 3.133 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.482e-05/0.1958, allocations: 4 kB / 0.6026 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.494e-05/0.1958, allocations: 75.28 kB / 0.6026 GB, free: 3.055 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1958, allocations: 0 / 0.6026 GB, free: 3.055 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002302/0.196, allocations: 28 kB / 0.6027 GB, free: 3.027 MB / 0.4981 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.0002069/0.1963, allocations: 134 kB / 0.6028 GB, free: 2.891 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00012/0.1964, allocations: 55.92 kB / 0.6028 GB, free: 2.836 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.1964, allocations: 3.938 kB / 0.6029 GB, free: 2.832 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.775e-05/0.1964, allocations: 27.92 kB / 0.6029 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001381/0.1966, allocations: 0 / 0.6029 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002953/0.1969, allocations: 150.2 kB / 0.603 GB, free: 2.625 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002756/0.1972, allocations: 0.6809 MB / 0.6037 GB, free: 1.918 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.907e-05/0.1972, allocations: 11.94 kB / 0.6037 GB, free: 1.906 MB / 0.4981 GB Notification: Performance of SimCode: time 7.22e-07/0.1972, allocations: 4 kB / 0.6037 GB, free: 1.902 MB / 0.4981 GB Notification: Performance of Templates: time 0.002283/0.1995, allocations: 0.8117 MB / 0.6045 GB, free: 1.102 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe 2>&1)