Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.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(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_ShiftAggregationCells",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells,fileNamePrefix="IDEAS_IDEAS_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.005627/0.005627, allocations: 99.81 kB / 15.73 MB, free: 6.055 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.001164/0.001164, allocations: 192.2 kB / 16.67 MB, free: 5.969 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.248/1.248, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7436/0.7436, allocations: 132.2 MB / 422.7 MB, free: 6.57 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 72.69 kB / 0.5809 GB, free: 24.08 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1424/0.1437, allocations: 80.2 MB / 0.6592 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.002476/0.1462, allocations: 1.238 MB / 0.6604 GB, free: 9.504 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009622/0.1472, allocations: 499 kB / 0.6609 GB, free: 9.016 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.094e-05/0.1473, allocations: 4 kB / 0.6609 GB, free: 9.012 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.803e-05/0.1473, allocations: 0 / 0.6609 GB, free: 9.012 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.376e-05/0.1474, allocations: 4 kB / 0.6609 GB, free: 9.008 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003562/0.1477, allocations: 43.88 kB / 0.661 GB, free: 8.965 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.909e-05/0.1478, allocations: 19.86 kB / 0.661 GB, free: 8.945 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.38e-05/0.1479, allocations: 4 kB / 0.661 GB, free: 8.941 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.467e-05/0.1479, allocations: 11.98 kB / 0.661 GB, free: 8.93 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.197e-05/0.1479, allocations: 0 / 0.661 GB, free: 8.93 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.946e-05/0.148, allocations: 4 kB / 0.661 GB, free: 8.926 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001638/0.1481, allocations: 75.84 kB / 0.6611 GB, free: 8.852 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.355e-05/0.1482, allocations: 7.984 kB / 0.6611 GB, free: 8.844 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.425e-05/0.1482, allocations: 11.92 kB / 0.6611 GB, free: 8.832 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001439/0.1484, allocations: 63.02 kB / 0.6612 GB, free: 8.773 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.1484, allocations: 0 / 0.6612 GB, free: 8.773 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.815e-06/0.1484, allocations: 0 / 0.6612 GB, free: 8.773 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.551e-06/0.1484, allocations: 3.938 kB / 0.6612 GB, free: 8.77 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.0003849/0.1488, allocations: 339.4 kB / 0.6615 GB, free: 8.391 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.962e-05/0.1489, allocations: 8.031 kB / 0.6615 GB, free: 8.383 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.158e-05/0.1489, allocations: 34.75 kB / 0.6615 GB, free: 8.34 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.069e-05/0.1489, allocations: 12.83 kB / 0.6615 GB, free: 8.328 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001008/0.149, allocations: 168.3 kB / 0.6617 GB, free: 8.125 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.004e-05/0.1491, allocations: 4.125 kB / 0.6617 GB, free: 8.121 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.393e-05/0.1491, allocations: 4 kB / 0.6617 GB, free: 8.117 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001095/0.1492, allocations: 45.69 kB / 0.6617 GB, free: 8.066 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.083e-06/0.1492, allocations: 0 / 0.6617 GB, free: 8.066 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.909e-06/0.1492, allocations: 3.984 kB / 0.6617 GB, free: 8.062 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.166e-06/0.1492, allocations: 4 kB / 0.6618 GB, free: 8.059 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.721e-05/0.1493, allocations: 4 kB / 0.6618 GB, free: 8.055 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001469/0.1494, allocations: 157.7 kB / 0.6619 GB, free: 7.852 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.575e-05/0.1495, allocations: 42.52 kB / 0.6619 GB, free: 7.801 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.626e-05/0.1495, allocations: 20.94 kB / 0.662 GB, free: 7.777 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.188e-06/0.1495, allocations: 0 / 0.662 GB, free: 7.777 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001664/0.1497, allocations: 59.41 kB / 0.662 GB, free: 7.707 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 1.102e-06/0.1497, allocations: 4 kB / 0.662 GB, free: 7.703 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.0002123/0.1499, allocations: 97.61 kB / 0.6621 GB, free: 7.602 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.399e-05/0.15, allocations: 55.41 kB / 0.6622 GB, free: 7.535 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.592e-05/0.15, allocations: 97.8 kB / 0.6623 GB, free: 7.43 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.074e-05/0.1501, allocations: 33.7 kB / 0.6623 GB, free: 7.391 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.923e-05/0.1501, allocations: 80.14 kB / 0.6624 GB, free: 7.309 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.701e-05/0.1501, allocations: 19.84 kB / 0.6624 GB, free: 7.289 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.166e-05/0.1502, allocations: 29.7 kB / 0.6624 GB, free: 7.254 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001143/0.1503, allocations: 322.9 kB / 0.6627 GB, free: 6.93 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.872e-05/0.1503, allocations: 19.98 kB / 0.6627 GB, free: 6.91 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.833e-05/0.1504, allocations: 61.98 kB / 0.6628 GB, free: 6.828 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001223/0.1505, allocations: 101.9 kB / 0.6629 GB, free: 6.707 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.1506, allocations: 3.938 kB / 0.6629 GB, free: 6.703 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000155/0.1507, allocations: 117.8 kB / 0.663 GB, free: 6.582 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.1507, allocations: 8 kB / 0.663 GB, free: 6.574 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.1508, allocations: 4 kB / 0.663 GB, free: 6.57 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.1508, allocations: 0 / 0.663 GB, free: 6.57 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.511e-05/0.1509, allocations: 23.86 kB / 0.6631 GB, free: 6.547 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.71e-06/0.1509, allocations: 0 / 0.6631 GB, free: 6.547 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.547e-05/0.1509, allocations: 7.953 kB / 0.6631 GB, free: 6.539 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.064e-05/0.1509, allocations: 8 kB / 0.6631 GB, free: 6.531 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.000101/0.151, allocations: 127.1 kB / 0.6632 GB, free: 6.398 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.137e-05/0.1511, allocations: 7.984 kB / 0.6632 GB, free: 6.391 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.617e-05/0.1511, allocations: 3.969 kB / 0.6632 GB, free: 6.375 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.1511, allocations: 4 kB / 0.6632 GB, free: 6.371 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.1511, allocations: 3.938 kB / 0.6632 GB, free: 6.367 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.1511, allocations: 3.984 kB / 0.6632 GB, free: 6.363 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000124/0.1512, allocations: 161.5 kB / 0.6634 GB, free: 6.156 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.1512, allocations: 3.938 kB / 0.6634 GB, free: 6.152 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.818e-06/0.1513, allocations: 0 / 0.6634 GB, free: 6.152 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.1513, allocations: 0 / 0.6634 GB, free: 6.152 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.582e-06/0.1513, allocations: 0 / 0.6634 GB, free: 6.152 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.1513, allocations: 8 kB / 0.6634 GB, free: 6.145 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1513, allocations: 0 / 0.6634 GB, free: 6.145 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001304/0.1514, allocations: 105 kB / 0.6635 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.217e-05/0.1515, allocations: 81.06 kB / 0.6636 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.646e-05/0.1515, allocations: 4 kB / 0.6636 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.264e-05/0.1515, allocations: 0 / 0.6636 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.397e-05/0.1515, allocations: 8 kB / 0.6636 GB, free: 5.914 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.551e-05/0.1516, allocations: 3.984 kB / 0.6636 GB, free: 5.91 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.292e-05/0.1516, allocations: 79.31 kB / 0.6636 GB, free: 5.832 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.01e-07/0.1516, allocations: 4 kB / 0.6637 GB, free: 5.828 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002313/0.1518, allocations: 16 kB / 0.6637 GB, free: 5.812 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.000485/0.1523, allocations: 0.667 MB / 0.6643 GB, free: 5.117 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001298/0.1525, allocations: 59.94 kB / 0.6644 GB, free: 5.059 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.1525, allocations: 4 kB / 0.6644 GB, free: 5.055 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.899e-05/0.1525, allocations: 19.92 kB / 0.6644 GB, free: 5.035 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001318/0.1527, allocations: 4 kB / 0.6644 GB, free: 5.031 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004019/0.1531, allocations: 155 kB / 0.6646 GB, free: 4.836 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002632/0.1533, allocations: 0.6807 MB / 0.6652 GB, free: 4.129 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.535e-05/0.1534, allocations: 8.5 kB / 0.6652 GB, free: 4.121 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.801e-05/0.1534, allocations: 15.38 kB / 0.6652 GB, free: 4.109 MB / 0.4981 GB Notification: Performance of SimCode: time 3e-07/0.1534, allocations: 0 / 0.6652 GB, free: 4.109 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01767/0.1711, allocations: 1.597 MB / 0.6668 GB, free: 2.711 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.424/7.595, allocations: 0.875 kB / 0.6668 GB, free: 2.711 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.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 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_ShiftAggregationCells.fmu > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe 2>&1)