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.001052/0.001052, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001118/0.001118, allocations: 193.2 kB / 16.14 MB, free: 6.688 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.339/1.339, allocations: 222.9 MB / 239.8 MB, free: 4.613 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 0.9805/0.9805, allocations: 143 MB / 433 MB, free: 11.64 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.00127, allocations: 59.91 kB / 0.5135 GB, free: 12.11 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1536/0.1549, allocations: 82.04 MB / 0.5937 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.002475/0.1574, allocations: 1.3 MB / 0.5949 GB, free: 8.73 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008301/0.1582, allocations: 494.8 kB / 0.5954 GB, free: 8.242 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.762e-05/0.1583, allocations: 0 / 0.5954 GB, free: 8.242 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.239e-05/0.1583, allocations: 3.938 kB / 0.5954 GB, free: 8.238 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.748e-05/0.1584, allocations: 0 / 0.5954 GB, free: 8.238 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002803/0.1587, allocations: 47.88 kB / 0.5954 GB, free: 8.191 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.339e-05/0.1587, allocations: 19.98 kB / 0.5955 GB, free: 8.172 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.448e-05/0.1588, allocations: 4 kB / 0.5955 GB, free: 8.168 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.061e-05/0.1588, allocations: 4 kB / 0.5955 GB, free: 8.164 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.757e-05/0.1589, allocations: 11.97 kB / 0.5955 GB, free: 8.152 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.228e-06/0.1589, allocations: 0 / 0.5955 GB, free: 8.152 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001586/0.159, allocations: 67.86 kB / 0.5955 GB, free: 8.086 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.93e-05/0.1591, allocations: 7.984 kB / 0.5956 GB, free: 8.078 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.407e-05/0.1591, allocations: 15.94 kB / 0.5956 GB, free: 8.062 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001402/0.1593, allocations: 63.83 kB / 0.5956 GB, free: 8 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.1593, allocations: 7.938 kB / 0.5956 GB, free: 7.992 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.002e-06/0.1593, allocations: 3.938 kB / 0.5956 GB, free: 7.988 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.516e-06/0.1593, allocations: 4 kB / 0.5956 GB, free: 7.984 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.0003493/0.1597, allocations: 335.7 kB / 0.596 GB, free: 7.609 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.5e-05/0.1597, allocations: 12.03 kB / 0.596 GB, free: 7.598 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.142e-05/0.1597, allocations: 4.922 kB / 0.596 GB, free: 7.594 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.625e-05/0.1598, allocations: 160.4 kB / 0.5961 GB, free: 7.398 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.433e-05/0.1599, allocations: 4.375 kB / 0.5961 GB, free: 7.395 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.329e-05/0.1599, allocations: 4.375 kB / 0.5961 GB, free: 7.391 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001086/0.16, allocations: 54 kB / 0.5962 GB, free: 7.332 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.16, allocations: 0 / 0.5962 GB, free: 7.332 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.678e-06/0.16, allocations: 4 kB / 0.5962 GB, free: 7.328 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.16, allocations: 0 / 0.5962 GB, free: 7.328 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.293e-05/0.1601, allocations: 19.91 kB / 0.5962 GB, free: 7.309 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001486/0.1602, allocations: 149.7 kB / 0.5964 GB, free: 7.113 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.229e-05/0.1603, allocations: 30.62 kB / 0.5964 GB, free: 7.074 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.726e-05/0.1603, allocations: 20.95 kB / 0.5964 GB, free: 7.051 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.364e-06/0.1603, allocations: 0 / 0.5964 GB, free: 7.051 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001395/0.1605, allocations: 71.33 kB / 0.5965 GB, free: 6.969 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 1.353e-06/0.1605, allocations: 4 kB / 0.5965 GB, free: 6.965 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.0002034/0.1607, allocations: 97.59 kB / 0.5966 GB, free: 6.863 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.534e-05/0.1607, allocations: 55.41 kB / 0.5966 GB, free: 6.797 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.487e-05/0.1608, allocations: 93.77 kB / 0.5967 GB, free: 6.695 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.814e-05/0.1608, allocations: 33.7 kB / 0.5968 GB, free: 6.656 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.959e-05/0.1609, allocations: 84.12 kB / 0.5968 GB, free: 6.57 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.255e-05/0.1609, allocations: 19.88 kB / 0.5969 GB, free: 6.551 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.012e-05/0.1609, allocations: 29.72 kB / 0.5969 GB, free: 6.516 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000109/0.161, allocations: 314.8 kB / 0.5972 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.157e-05/0.1611, allocations: 23.98 kB / 0.5972 GB, free: 6.176 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.884e-05/0.1611, allocations: 60 kB / 0.5973 GB, free: 6.098 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000126/0.1613, allocations: 105.9 kB / 0.5974 GB, free: 5.973 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.1613, allocations: 0 / 0.5974 GB, free: 5.973 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000151/0.1614, allocations: 121.4 kB / 0.5975 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.1615, allocations: 7.938 kB / 0.5975 GB, free: 5.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.1615, allocations: 7.938 kB / 0.5975 GB, free: 5.832 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.101e-05/0.1615, allocations: 4 kB / 0.5975 GB, free: 5.828 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.805e-05/0.1616, allocations: 11.94 kB / 0.5975 GB, free: 5.816 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.1616, allocations: 4 kB / 0.5975 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.947e-05/0.1616, allocations: 0 / 0.5975 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.078e-05/0.1616, allocations: 8.219 kB / 0.5975 GB, free: 5.805 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 9.482e-05/0.1617, allocations: 129 kB / 0.5976 GB, free: 5.672 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.546e-05/0.1618, allocations: 15.84 kB / 0.5977 GB, free: 5.656 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.184e-05/0.1618, allocations: 3.969 kB / 0.5977 GB, free: 5.648 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-06/0.1618, allocations: 3.938 kB / 0.5977 GB, free: 5.645 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.1618, allocations: 0 / 0.5977 GB, free: 5.645 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.345e-06/0.1618, allocations: 0 / 0.5977 GB, free: 5.645 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001135/0.1619, allocations: 153.6 kB / 0.5978 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.1619, allocations: 0 / 0.5978 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.579e-06/0.1619, allocations: 8 kB / 0.5978 GB, free: 5.438 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.1619, allocations: 3.938 kB / 0.5978 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.024e-05/0.162, allocations: 7.984 kB / 0.5978 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.162, allocations: 0 / 0.5978 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.162, allocations: 0 / 0.5978 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001252/0.1621, allocations: 101.1 kB / 0.5979 GB, free: 5.309 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.778e-05/0.1621, allocations: 89.03 kB / 0.598 GB, free: 5.203 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.631e-05/0.1622, allocations: 7.938 kB / 0.598 GB, free: 5.195 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.21e-05/0.1622, allocations: 4.031 kB / 0.598 GB, free: 5.191 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.978e-05/0.1622, allocations: 4 kB / 0.598 GB, free: 5.188 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.271e-05/0.1622, allocations: 4 kB / 0.598 GB, free: 5.184 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.272e-05/0.1623, allocations: 75.28 kB / 0.5981 GB, free: 5.109 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.01e-07/0.1623, allocations: 0 / 0.5981 GB, free: 5.109 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002228/0.1625, allocations: 24 kB / 0.5981 GB, free: 5.086 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.0001888/0.1627, allocations: 127.2 kB / 0.5982 GB, free: 4.953 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001253/0.1628, allocations: 63.91 kB / 0.5983 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.1628, allocations: 0 / 0.5983 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.85e-05/0.1629, allocations: 12 kB / 0.5983 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001282/0.163, allocations: 6.25 kB / 0.5983 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000271/0.1633, allocations: 131 kB / 0.5984 GB, free: 4.719 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002411/0.1635, allocations: 0.6814 MB / 0.5991 GB, free: 4.012 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.314e-05/0.1635, allocations: 11.98 kB / 0.5991 GB, free: 4 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.32e-05/0.1636, allocations: 7.438 kB / 0.5991 GB, free: 3.992 MB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.1636, allocations: 0 / 0.5991 GB, free: 3.992 MB / 0.4981 GB Notification: Performance of Templates: time 0.002684/0.1663, allocations: 0.6514 MB / 0.5998 GB, free: 3.387 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)