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.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-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: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_ShiftAggregationCells",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_ShiftAggregationCells",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009022/0.0009021, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001067/0.001067, allocations: 172.7 kB / 15.95 MB, free: 208 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.396/1.396, allocations: 223.2 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9711/0.9711, allocations: 143.4 MB / 434.4 MB, free: 13.74 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003198/0.0003199, allocations: 8 kB / 0.5161 GB, free: 11.16 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1617/0.162, allocations: 83.42 MB / 0.5976 GB, free: 7.68 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.001218/0.1633, allocations: 0.9589 MB / 0.5985 GB, free: 6.711 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0007091/0.164, allocations: 463.2 kB / 0.599 GB, free: 6.254 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.536e-05/0.1641, allocations: 0 / 0.599 GB, free: 6.254 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.172e-05/0.1641, allocations: 0 / 0.599 GB, free: 6.254 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.379e-05/0.1641, allocations: 4 kB / 0.599 GB, free: 6.25 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000258/0.1644, allocations: 47.81 kB / 0.599 GB, free: 6.203 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.998e-05/0.1645, allocations: 11.98 kB / 0.599 GB, free: 6.191 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.875e-05/0.1645, allocations: 4 kB / 0.599 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.165e-05/0.1645, allocations: 4 kB / 0.599 GB, free: 6.184 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.385e-05/0.1646, allocations: 7.984 kB / 0.599 GB, free: 6.176 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.697e-06/0.1646, allocations: 0 / 0.599 GB, free: 6.176 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001179/0.1647, allocations: 47.88 kB / 0.5991 GB, free: 6.129 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.059e-05/0.1648, allocations: 12 kB / 0.5991 GB, free: 6.117 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.499e-05/0.1648, allocations: 29.69 kB / 0.5991 GB, free: 6.082 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 7.907e-05/0.1649, allocations: 31.97 kB / 0.5992 GB, free: 6.051 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 1.116e-05/0.1649, allocations: 4 kB / 0.5992 GB, free: 6.047 MB / 0.4981 GB Notification: Performance of FrontEnd: time 4.238e-06/0.1649, allocations: 3.984 kB / 0.5992 GB, free: 6.043 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.546e-06/0.1649, allocations: 0 / 0.5992 GB, free: 6.043 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.0003066/0.1652, allocations: 331.5 kB / 0.5995 GB, free: 5.672 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.1653, allocations: 15.97 kB / 0.5995 GB, free: 5.656 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.233e-05/0.1653, allocations: 30.56 kB / 0.5995 GB, free: 5.617 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.114e-05/0.1654, allocations: 3.953 kB / 0.5995 GB, free: 5.613 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.452e-05/0.1654, allocations: 159.1 kB / 0.5997 GB, free: 5.418 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.397e-05/0.1655, allocations: 12 kB / 0.5997 GB, free: 5.406 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.179e-05/0.1655, allocations: 0 / 0.5997 GB, free: 5.406 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001003/0.1656, allocations: 49.69 kB / 0.5997 GB, free: 5.352 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.172e-06/0.1656, allocations: 0 / 0.5997 GB, free: 5.352 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.877e-06/0.1656, allocations: 3.984 kB / 0.5997 GB, free: 5.348 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.1656, allocations: 0 / 0.5997 GB, free: 5.348 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.629e-05/0.1656, allocations: 11.94 kB / 0.5998 GB, free: 5.336 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001298/0.1658, allocations: 157.6 kB / 0.5999 GB, free: 5.133 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.861e-05/0.1658, allocations: 30.64 kB / 0.5999 GB, free: 5.094 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.515e-05/0.1659, allocations: 20.94 kB / 0.6 GB, free: 5.07 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.985e-06/0.1659, allocations: 0 / 0.6 GB, free: 5.07 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001238/0.166, allocations: 71.34 kB / 0.6 GB, free: 4.988 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 9.82e-07/0.166, allocations: 0 / 0.6 GB, free: 4.988 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.000187/0.1662, allocations: 105.6 kB / 0.6001 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.353e-05/0.1663, allocations: 55.41 kB / 0.6002 GB, free: 4.812 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.796e-05/0.1663, allocations: 101.8 kB / 0.6003 GB, free: 4.703 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.822e-05/0.1663, allocations: 33.7 kB / 0.6003 GB, free: 4.664 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.059e-05/0.1664, allocations: 80.14 kB / 0.6004 GB, free: 4.582 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.358e-05/0.1664, allocations: 15.84 kB / 0.6004 GB, free: 4.566 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.378e-06/0.1664, allocations: 0 / 0.6004 GB, free: 4.566 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.666e-05/0.1665, allocations: 326.8 kB / 0.6007 GB, free: 4.238 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.714e-05/0.1666, allocations: 19.98 kB / 0.6007 GB, free: 4.219 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.294e-05/0.1666, allocations: 66 kB / 0.6008 GB, free: 4.133 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.431e-05/0.1667, allocations: 31.92 kB / 0.6008 GB, free: 4.102 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.1667, allocations: 3.938 kB / 0.6008 GB, free: 4.098 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001542/0.1669, allocations: 121.4 kB / 0.6009 GB, free: 3.973 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.156e-05/0.1669, allocations: 4 kB / 0.6009 GB, free: 3.969 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.1669, allocations: 0 / 0.6009 GB, free: 3.969 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.1669, allocations: 4 kB / 0.601 GB, free: 3.965 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.903e-05/0.167, allocations: 15.94 kB / 0.601 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.683e-06/0.167, allocations: 3.984 kB / 0.601 GB, free: 3.945 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.335e-05/0.167, allocations: 8 kB / 0.601 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.555e-06/0.167, allocations: 4 kB / 0.601 GB, free: 3.934 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 9.162e-05/0.1671, allocations: 127 kB / 0.6011 GB, free: 3.801 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.053e-05/0.1672, allocations: 3.906 kB / 0.6011 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.988e-05/0.1672, allocations: 7.906 kB / 0.6011 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-06/0.1672, allocations: 0 / 0.6011 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.263e-06/0.1672, allocations: 7.984 kB / 0.6011 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.1672, allocations: 0 / 0.6011 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001291/0.1673, allocations: 157.6 kB / 0.6013 GB, free: 3.574 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.1674, allocations: 0 / 0.6013 GB, free: 3.574 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.28e-06/0.1674, allocations: 3.984 kB / 0.6013 GB, free: 3.57 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.1674, allocations: 4 kB / 0.6013 GB, free: 3.566 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.294e-06/0.1674, allocations: 0 / 0.6013 GB, free: 3.566 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.1674, allocations: 4 kB / 0.6013 GB, free: 3.562 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1674, allocations: 0 / 0.6013 GB, free: 3.562 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001215/0.1675, allocations: 109.1 kB / 0.6014 GB, free: 3.438 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.042e-05/0.1676, allocations: 81.05 kB / 0.6015 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.639e-05/0.1676, allocations: 4 kB / 0.6015 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.171e-05/0.1676, allocations: 0 / 0.6015 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.888e-05/0.1676, allocations: 4.031 kB / 0.6015 GB, free: 3.332 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.13e-05/0.1676, allocations: 4 kB / 0.6015 GB, free: 3.328 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.704e-05/0.1677, allocations: 75.28 kB / 0.6015 GB, free: 3.254 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1677, allocations: 3.938 kB / 0.6016 GB, free: 3.25 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002205/0.1679, allocations: 27.98 kB / 0.6016 GB, free: 3.223 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.0004269/0.1683, allocations: 0.6726 MB / 0.6022 GB, free: 2.523 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001149/0.1685, allocations: 51.92 kB / 0.6023 GB, free: 2.473 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.1685, allocations: 0 / 0.6023 GB, free: 2.473 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.038e-05/0.1685, allocations: 23.92 kB / 0.6023 GB, free: 2.449 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001535/0.1687, allocations: 7.281 kB / 0.6023 GB, free: 2.445 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003456/0.169, allocations: 153.2 kB / 0.6025 GB, free: 2.258 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002217/0.1693, allocations: 0.6809 MB / 0.6031 GB, free: 1.551 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.286e-05/0.1693, allocations: 7.938 kB / 0.6031 GB, free: 1.543 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.841e-05/0.1693, allocations: 15.42 kB / 0.6031 GB, free: 1.527 MB / 0.4981 GB Notification: Performance of SimCode: time 2.5e-07/0.1693, allocations: 0 / 0.6031 GB, free: 1.527 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01101/0.1803, allocations: 1.397 MB / 0.6045 GB, free: 392 kB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002059/0.1806, allocations: 262.8 kB / 0.6048 GB, free: 32 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.784/1.965, allocations: 0 / 0.6048 GB, free: 32 kB / 0.4981 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_ShiftAggregationCells_fmu --startTime=3.5 --stopTime=5.5 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_ShiftAggregationCells.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe 2>&1) Environment - environmentSimulation: