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: "" <> 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.001188/0.001188, allocations: 108 kB / 15.6 MB, free: 132 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.001082/0.001082, allocations: 198 kB / 16.53 MB, free: 6.391 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.315/1.315, allocations: 222.9 MB / 240.2 MB, free: 4.289 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.9796/0.9796, allocations: 143 MB / 433.4 MB, free: 11.59 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001502/0.001502, allocations: 59.91 kB / 0.5143 GB, free: 11.51 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1453/0.1469, allocations: 82.04 MB / 0.5944 GB, free: 9.434 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.002341/0.1492, allocations: 1.243 MB / 0.5957 GB, free: 8.18 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008301/0.1501, allocations: 486.8 kB / 0.5961 GB, free: 7.699 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.298e-05/0.1501, allocations: 4 kB / 0.5961 GB, free: 7.695 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.579e-05/0.1502, allocations: 0 / 0.5961 GB, free: 7.695 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.947e-05/0.1503, allocations: 3.984 kB / 0.5961 GB, free: 7.691 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003062/0.1506, allocations: 55.8 kB / 0.5962 GB, free: 7.637 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.667e-05/0.1506, allocations: 8 kB / 0.5962 GB, free: 7.629 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.43e-05/0.1507, allocations: 0 / 0.5962 GB, free: 7.629 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.334e-05/0.1507, allocations: 15.92 kB / 0.5962 GB, free: 7.613 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.054e-05/0.1507, allocations: 4 kB / 0.5962 GB, free: 7.609 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.079e-05/0.1507, allocations: 3.984 kB / 0.5962 GB, free: 7.605 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001521/0.1509, allocations: 71.86 kB / 0.5963 GB, free: 7.535 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.519e-05/0.151, allocations: 7.984 kB / 0.5963 GB, free: 7.527 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.974e-05/0.151, allocations: 7.938 kB / 0.5963 GB, free: 7.52 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000119/0.1511, allocations: 55.91 kB / 0.5964 GB, free: 7.465 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.1511, allocations: 4 kB / 0.5964 GB, free: 7.461 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.172e-06/0.1511, allocations: 0 / 0.5964 GB, free: 7.461 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.093e-06/0.1512, allocations: 0 / 0.5964 GB, free: 7.461 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.0003113/0.1515, allocations: 343.6 kB / 0.5967 GB, free: 7.078 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.1515, allocations: 12.03 kB / 0.5967 GB, free: 7.066 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.804e-05/0.1516, allocations: 34.75 kB / 0.5967 GB, free: 7.023 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.555e-05/0.1516, allocations: 4.922 kB / 0.5967 GB, free: 7.02 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.782e-05/0.1517, allocations: 164.4 kB / 0.5969 GB, free: 6.82 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.025e-05/0.1517, allocations: 12.31 kB / 0.5969 GB, free: 6.809 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.032e-05/0.1517, allocations: 384 / 0.5969 GB, free: 6.809 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001008/0.1518, allocations: 53.81 kB / 0.597 GB, free: 6.75 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.372e-06/0.1518, allocations: 0 / 0.597 GB, free: 6.75 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.213e-06/0.1518, allocations: 0 / 0.597 GB, free: 6.75 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.416e-06/0.1518, allocations: 3.938 kB / 0.597 GB, free: 6.746 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.884e-05/0.1519, allocations: 15.92 kB / 0.597 GB, free: 6.73 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000128/0.152, allocations: 153.7 kB / 0.5971 GB, free: 6.531 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.862e-05/0.1521, allocations: 38.61 kB / 0.5972 GB, free: 6.484 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.447e-05/0.1521, allocations: 16.95 kB / 0.5972 GB, free: 6.465 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.632e-06/0.1521, allocations: 0 / 0.5972 GB, free: 6.465 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001252/0.1522, allocations: 71.33 kB / 0.5972 GB, free: 6.383 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 3.517e-06/0.1523, allocations: 4 kB / 0.5972 GB, free: 6.379 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.0001984/0.1525, allocations: 97.59 kB / 0.5973 GB, free: 6.277 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.818e-05/0.1525, allocations: 55.41 kB / 0.5974 GB, free: 6.211 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.838e-05/0.1525, allocations: 97.77 kB / 0.5975 GB, free: 6.105 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.648e-05/0.1526, allocations: 29.7 kB / 0.5975 GB, free: 6.07 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.493e-05/0.1526, allocations: 84.12 kB / 0.5976 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.183e-05/0.1526, allocations: 15.84 kB / 0.5976 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.812e-05/0.1527, allocations: 29.72 kB / 0.5976 GB, free: 5.934 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.02e-05/0.1528, allocations: 318.9 kB / 0.5979 GB, free: 5.613 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.938e-05/0.1528, allocations: 23.98 kB / 0.598 GB, free: 5.59 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.976e-05/0.1529, allocations: 66 kB / 0.598 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001104/0.153, allocations: 101.9 kB / 0.5981 GB, free: 5.383 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.153, allocations: 0 / 0.5981 GB, free: 5.383 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001527/0.1532, allocations: 117.6 kB / 0.5982 GB, free: 5.262 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.1532, allocations: 12.03 kB / 0.5982 GB, free: 5.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.91e-06/0.1532, allocations: 0 / 0.5982 GB, free: 5.25 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.1532, allocations: 4 kB / 0.5982 GB, free: 5.246 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.425e-05/0.1533, allocations: 11.94 kB / 0.5983 GB, free: 5.234 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.1533, allocations: 4 kB / 0.5983 GB, free: 5.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.516e-05/0.1533, allocations: 4 kB / 0.5983 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.057e-06/0.1533, allocations: 8 kB / 0.5983 GB, free: 5.219 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.86e-05/0.1535, allocations: 126.5 kB / 0.5984 GB, free: 5.086 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.258e-05/0.1535, allocations: 11.84 kB / 0.5984 GB, free: 5.074 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.929e-05/0.1535, allocations: 3.969 kB / 0.5984 GB, free: 5.066 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.1535, allocations: 3.938 kB / 0.5984 GB, free: 5.062 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.1535, allocations: 0 / 0.5984 GB, free: 5.062 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.1535, allocations: 0 / 0.5984 GB, free: 5.062 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001041/0.1536, allocations: 153.6 kB / 0.5986 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.1536, allocations: 0 / 0.5986 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.11e-06/0.1536, allocations: 3.938 kB / 0.5986 GB, free: 4.859 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.1536, allocations: 4 kB / 0.5986 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.714e-06/0.1537, allocations: 3.984 kB / 0.5986 GB, free: 4.852 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.1537, allocations: 4 kB / 0.5986 GB, free: 4.848 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.1537, allocations: 4 kB / 0.5986 GB, free: 4.844 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001169/0.1538, allocations: 101.1 kB / 0.5987 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.581e-05/0.1538, allocations: 88.97 kB / 0.5988 GB, free: 4.621 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.705e-05/0.1539, allocations: 7.938 kB / 0.5988 GB, free: 4.613 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.38e-05/0.1539, allocations: 4 kB / 0.5988 GB, free: 4.609 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.703e-05/0.1539, allocations: 0 / 0.5988 GB, free: 4.609 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.275e-05/0.1539, allocations: 4 kB / 0.5988 GB, free: 4.605 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.074e-05/0.1539, allocations: 79.31 kB / 0.5989 GB, free: 4.527 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.8e-07/0.1539, allocations: 0 / 0.5989 GB, free: 4.527 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002221/0.1542, allocations: 20 kB / 0.5989 GB, free: 4.508 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.0004217/0.1546, allocations: 0.675 MB / 0.5995 GB, free: 3.805 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001233/0.1547, allocations: 63.88 kB / 0.5996 GB, free: 3.742 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.472e-06/0.1547, allocations: 0 / 0.5996 GB, free: 3.742 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.92e-05/0.1548, allocations: 19.98 kB / 0.5996 GB, free: 3.723 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001244/0.1549, allocations: 4 kB / 0.5996 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003697/0.1553, allocations: 155.1 kB / 0.5998 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001954/0.1555, allocations: 0.6734 MB / 0.6004 GB, free: 2.828 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.445e-05/0.1555, allocations: 11.98 kB / 0.6004 GB, free: 2.816 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.235e-05/0.1556, allocations: 15.44 kB / 0.6004 GB, free: 2.801 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.1556, allocations: 0 / 0.6004 GB, free: 2.801 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01765/0.1732, allocations: 1.577 MB / 0.602 GB, free: 1.422 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.053/7.226, allocations: 16.27 kB / 0.602 GB, free: 1.406 MB / 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 & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells_res.csv --start-time 3.5 --stop-time 5.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 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)