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.0008483/0.0008484, allocations: 86.33 kB / 15.06 MB, free: 1.09 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.0008799/0.0008799, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.142/1.142, allocations: 223.3 MB / 240 MB, free: 5.426 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.8507/0.8507, allocations: 143.2 MB / 434.2 MB, free: 13.69 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002599/0.0002599, allocations: 12 kB / 0.5158 GB, free: 11.46 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1221/0.1224, allocations: 83.42 MB / 0.5973 GB, free: 8 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.001011/0.1234, allocations: 0.9705 MB / 0.5983 GB, free: 7.02 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000612/0.124, allocations: 451.3 kB / 0.5987 GB, free: 6.574 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.181e-05/0.1241, allocations: 0 / 0.5987 GB, free: 6.574 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.944e-05/0.1241, allocations: 0 / 0.5987 GB, free: 6.574 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.931e-05/0.1241, allocations: 3.984 kB / 0.5987 GB, free: 6.57 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002351/0.1244, allocations: 39.89 kB / 0.5987 GB, free: 6.531 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.777e-05/0.1244, allocations: 19.98 kB / 0.5987 GB, free: 6.512 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.498e-05/0.1245, allocations: 0 / 0.5987 GB, free: 6.512 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.309e-05/0.1245, allocations: 15.92 kB / 0.5988 GB, free: 6.496 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.052e-05/0.1245, allocations: 7.984 kB / 0.5988 GB, free: 6.488 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.173e-06/0.1245, allocations: 0 / 0.5988 GB, free: 6.488 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001037/0.1247, allocations: 39.95 kB / 0.5988 GB, free: 6.449 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.825e-05/0.1247, allocations: 15.92 kB / 0.5988 GB, free: 6.434 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.142e-05/0.1247, allocations: 25.7 kB / 0.5988 GB, free: 6.402 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 6.959e-05/0.1248, allocations: 31.95 kB / 0.5989 GB, free: 6.371 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.307e-06/0.1248, allocations: 0 / 0.5989 GB, free: 6.371 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.423e-06/0.1248, allocations: 0 / 0.5989 GB, free: 6.371 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.485e-06/0.1248, allocations: 4 kB / 0.5989 GB, free: 6.367 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.0002651/0.1251, allocations: 335.5 kB / 0.5992 GB, free: 5.992 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.692e-05/0.1251, allocations: 8.031 kB / 0.5992 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.813e-05/0.1252, allocations: 7.953 kB / 0.5992 GB, free: 5.977 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.742e-05/0.1253, allocations: 159.1 kB / 0.5994 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.293e-05/0.1253, allocations: 4 kB / 0.5994 GB, free: 5.777 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.015e-05/0.1253, allocations: 4 kB / 0.5994 GB, free: 5.773 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.425e-05/0.1254, allocations: 49.67 kB / 0.5994 GB, free: 5.719 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.685e-06/0.1254, allocations: 4 kB / 0.5994 GB, free: 5.715 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.282e-06/0.1254, allocations: 3.938 kB / 0.5994 GB, free: 5.711 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.1254, allocations: 4 kB / 0.5994 GB, free: 5.707 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.056e-05/0.1254, allocations: 7.938 kB / 0.5994 GB, free: 5.699 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001201/0.1256, allocations: 157.6 kB / 0.5996 GB, free: 5.496 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.546e-05/0.1256, allocations: 34.67 kB / 0.5996 GB, free: 5.453 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.24e-05/0.1256, allocations: 20.91 kB / 0.5996 GB, free: 5.43 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 5.571e-06/0.1257, allocations: 0 / 0.5996 GB, free: 5.43 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001209/0.1258, allocations: 79.25 kB / 0.5997 GB, free: 5.34 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 9.62e-07/0.1258, allocations: 0 / 0.5997 GB, free: 5.34 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.0001653/0.126, allocations: 89.69 kB / 0.5998 GB, free: 5.246 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.627e-05/0.126, allocations: 59.39 kB / 0.5999 GB, free: 5.176 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.048e-05/0.126, allocations: 93.77 kB / 0.5999 GB, free: 5.074 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.625e-05/0.1261, allocations: 33.7 kB / 0.6 GB, free: 5.035 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.213e-05/0.1261, allocations: 84.17 kB / 0.6001 GB, free: 4.949 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.15e-05/0.1261, allocations: 15.84 kB / 0.6001 GB, free: 4.934 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.347e-06/0.1261, allocations: 0 / 0.6001 GB, free: 4.934 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.737e-05/0.1262, allocations: 322.8 kB / 0.6004 GB, free: 4.609 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.312e-05/0.1263, allocations: 19.98 kB / 0.6004 GB, free: 4.59 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.579e-05/0.1263, allocations: 65.94 kB / 0.6005 GB, free: 4.504 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.22e-05/0.1264, allocations: 35.98 kB / 0.6005 GB, free: 4.469 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1264, allocations: 0 / 0.6005 GB, free: 4.469 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001448/0.1265, allocations: 113.4 kB / 0.6006 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.022e-05/0.1266, allocations: 12.22 kB / 0.6006 GB, free: 4.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.1266, allocations: 0 / 0.6006 GB, free: 4.34 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.979e-06/0.1266, allocations: 4 kB / 0.6006 GB, free: 4.336 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.06e-05/0.1267, allocations: 15.92 kB / 0.6006 GB, free: 4.32 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/0.1267, allocations: 4 kB / 0.6006 GB, free: 4.316 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.819e-05/0.1267, allocations: 4 kB / 0.6006 GB, free: 4.312 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.484e-06/0.1267, allocations: 4 kB / 0.6007 GB, free: 4.309 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 ($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.457e-05/0.1268, allocations: 129 kB / 0.6008 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.063e-05/0.1268, allocations: 15.89 kB / 0.6008 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.676e-05/0.1268, allocations: 3.969 kB / 0.6008 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-06/0.1268, allocations: 0 / 0.6008 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.1269, allocations: 0 / 0.6008 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.854e-06/0.1269, allocations: 0 / 0.6008 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001048/0.127, allocations: 165.6 kB / 0.601 GB, free: 3.941 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.127, allocations: 0 / 0.601 GB, free: 3.941 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.849e-06/0.127, allocations: 0 / 0.601 GB, free: 3.941 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.127, allocations: 3.938 kB / 0.601 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.763e-06/0.127, allocations: 4 kB / 0.601 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.127, allocations: 0 / 0.601 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.127, allocations: 4 kB / 0.601 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000107/0.1271, allocations: 113 kB / 0.6011 GB, free: 3.801 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.378e-05/0.1272, allocations: 81.11 kB / 0.6011 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.448e-05/0.1272, allocations: 4 kB / 0.6012 GB, free: 3.699 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.054e-05/0.1272, allocations: 0 / 0.6012 GB, free: 3.699 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.415e-05/0.1272, allocations: 3.984 kB / 0.6012 GB, free: 3.695 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.246e-05/0.1272, allocations: 7.984 kB / 0.6012 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.093e-05/0.1273, allocations: 79.31 kB / 0.6012 GB, free: 3.609 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1273, allocations: 3.938 kB / 0.6012 GB, free: 3.605 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000196/0.1275, allocations: 16 kB / 0.6013 GB, free: 3.59 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 (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.0001495/0.1276, allocations: 132 kB / 0.6014 GB, free: 3.457 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001061/0.1277, allocations: 55.91 kB / 0.6014 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.472e-06/0.1277, allocations: 448 / 0.6014 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.568e-05/0.1278, allocations: 20 kB / 0.6015 GB, free: 3.383 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001122/0.1279, allocations: 3.953 kB / 0.6015 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002007/0.1281, allocations: 124.5 kB / 0.6016 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001906/0.1283, allocations: 0.6809 MB / 0.6022 GB, free: 2.523 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.737e-05/0.1283, allocations: 4 kB / 0.6022 GB, free: 2.52 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.039e-05/0.1283, allocations: 7.438 kB / 0.6023 GB, free: 2.512 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.1283, allocations: 4.062 kB / 0.6023 GB, free: 2.508 MB / 0.4981 GB Notification: Performance of Templates: time 0.002168/0.1305, allocations: 0.6348 MB / 0.6029 GB, free: 1.918 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)