Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.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(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells,fileNamePrefix="IDEAS_dev_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_dev_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.006815/0.006815, allocations: 99.75 kB / 15.73 MB, free: 6.039 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.001057/0.001056, allocations: 192.1 kB / 16.67 MB, free: 5.949 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.259/1.259, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7467/0.7467, allocations: 135.1 MB / 425.7 MB, free: 4.113 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001193/0.001193, allocations: 67.08 kB / 0.5852 GB, free: 22.11 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1268/0.128, allocations: 80.92 MB / 0.6642 GB, free: 6.41 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.002373/0.1304, allocations: 1.249 MB / 0.6654 GB, free: 5.156 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009049/0.1314, allocations: 491.1 kB / 0.6659 GB, free: 4.676 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.384e-05/0.1314, allocations: 3.938 kB / 0.6659 GB, free: 4.672 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.04e-05/0.1315, allocations: 4 kB / 0.6659 GB, free: 4.668 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.788e-05/0.1316, allocations: 3.984 kB / 0.6659 GB, free: 4.664 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000347/0.1319, allocations: 43.88 kB / 0.6659 GB, free: 4.621 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.808e-05/0.132, allocations: 12 kB / 0.6659 GB, free: 4.609 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.333e-05/0.132, allocations: 7.984 kB / 0.666 GB, free: 4.602 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.606e-05/0.1321, allocations: 7.938 kB / 0.666 GB, free: 4.594 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.52e-05/0.1321, allocations: 11.98 kB / 0.666 GB, free: 4.582 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.596e-06/0.1321, allocations: 0 / 0.666 GB, free: 4.582 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001535/0.1323, allocations: 71.84 kB / 0.666 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.793e-05/0.1323, allocations: 4 kB / 0.666 GB, free: 4.508 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.238e-05/0.1324, allocations: 15.94 kB / 0.6661 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001348/0.1325, allocations: 60.06 kB / 0.6661 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.1325, allocations: 0 / 0.6661 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.904e-06/0.1325, allocations: 0 / 0.6661 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.576e-06/0.1326, allocations: 3.938 kB / 0.6661 GB, free: 4.43 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.0003519/0.1329, allocations: 339.5 kB / 0.6664 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.133, allocations: 9.109 kB / 0.6665 GB, free: 4.043 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.909e-05/0.133, allocations: 38.73 kB / 0.6665 GB, free: 3.996 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.536e-05/0.133, allocations: 8.891 kB / 0.6665 GB, free: 3.988 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.386e-05/0.1331, allocations: 164.3 kB / 0.6667 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.271e-05/0.1332, allocations: 4.125 kB / 0.6667 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.038e-05/0.1332, allocations: 4 kB / 0.6667 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001029/0.1333, allocations: 45.69 kB / 0.6667 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.753e-06/0.1333, allocations: 4 kB / 0.6667 GB, free: 3.727 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.854e-06/0.1333, allocations: 0 / 0.6667 GB, free: 3.727 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.1333, allocations: 4 kB / 0.6667 GB, free: 3.723 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.712e-05/0.1334, allocations: 15.98 kB / 0.6667 GB, free: 3.707 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001342/0.1335, allocations: 149.7 kB / 0.6669 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.65e-05/0.1335, allocations: 38.45 kB / 0.6669 GB, free: 3.465 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.406e-05/0.1336, allocations: 16.95 kB / 0.6669 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.262e-06/0.1336, allocations: 0 / 0.6669 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000135/0.1337, allocations: 67.39 kB / 0.667 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 1.172e-06/0.1337, allocations: 0 / 0.667 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.0001925/0.1339, allocations: 97.66 kB / 0.6671 GB, free: 3.266 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.891e-05/0.134, allocations: 59.34 kB / 0.6671 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.174e-05/0.134, allocations: 97.81 kB / 0.6672 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.775e-05/0.1341, allocations: 33.69 kB / 0.6673 GB, free: 3.051 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.815e-05/0.1341, allocations: 84.14 kB / 0.6673 GB, free: 2.965 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.169e-05/0.1341, allocations: 11.89 kB / 0.6674 GB, free: 2.953 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.878e-05/0.1342, allocations: 33.73 kB / 0.6674 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001025/0.1343, allocations: 318.8 kB / 0.6677 GB, free: 2.594 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.592e-05/0.1343, allocations: 19.98 kB / 0.6677 GB, free: 2.574 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.963e-05/0.1344, allocations: 65.98 kB / 0.6678 GB, free: 2.488 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001138/0.1345, allocations: 97.88 kB / 0.6679 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.603e-06/0.1345, allocations: 7.938 kB / 0.6679 GB, free: 2.363 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001467/0.1347, allocations: 121.4 kB / 0.668 GB, free: 2.238 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/0.1347, allocations: 4 kB / 0.668 GB, free: 2.234 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.281e-06/0.1347, allocations: 4 kB / 0.668 GB, free: 2.23 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.109e-05/0.1347, allocations: 0 / 0.668 GB, free: 2.23 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.487e-05/0.1348, allocations: 19.94 kB / 0.668 GB, free: 2.211 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.1348, allocations: 8.219 kB / 0.668 GB, free: 2.203 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.278e-05/0.1348, allocations: 4 kB / 0.668 GB, free: 2.199 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.538e-06/0.1348, allocations: 7.984 kB / 0.668 GB, free: 2.191 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.0001075/0.135, allocations: 130.9 kB / 0.6682 GB, free: 2.055 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.049e-05/0.135, allocations: 3.953 kB / 0.6682 GB, free: 2.051 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.734e-05/0.135, allocations: 7.969 kB / 0.6682 GB, free: 2.043 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.135, allocations: 3.938 kB / 0.6682 GB, free: 2.039 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.135, allocations: 3.984 kB / 0.6682 GB, free: 2.035 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.135, allocations: 0 / 0.6682 GB, free: 2.035 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001135/0.1351, allocations: 157.6 kB / 0.6683 GB, free: 1.832 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.1351, allocations: 0 / 0.6683 GB, free: 1.832 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.971e-06/0.1352, allocations: 7.922 kB / 0.6683 GB, free: 1.824 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.1352, allocations: 4 kB / 0.6683 GB, free: 1.82 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.384e-06/0.1352, allocations: 4 kB / 0.6683 GB, free: 1.816 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.31e-07/0.1352, allocations: 0 / 0.6683 GB, free: 1.816 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.1352, allocations: 0 / 0.6683 GB, free: 1.816 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001258/0.1353, allocations: 109 kB / 0.6685 GB, free: 1.691 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.132e-05/0.1354, allocations: 85.06 kB / 0.6685 GB, free: 1.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.675e-05/0.1354, allocations: 4 kB / 0.6685 GB, free: 1.586 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.22e-05/0.1354, allocations: 0 / 0.6685 GB, free: 1.586 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.46e-05/0.1354, allocations: 4.031 kB / 0.6685 GB, free: 1.582 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.217e-05/0.1354, allocations: 4 kB / 0.6685 GB, free: 1.578 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.379e-05/0.1355, allocations: 75.28 kB / 0.6686 GB, free: 1.504 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.01e-07/0.1355, allocations: 0 / 0.6686 GB, free: 1.504 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002207/0.1357, allocations: 19.98 kB / 0.6686 GB, free: 1.484 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.0004555/0.1361, allocations: 0.6761 MB / 0.6693 GB, free: 0.7812 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001267/0.1363, allocations: 51.92 kB / 0.6693 GB, free: 0.7305 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1363, allocations: 0 / 0.6693 GB, free: 0.7305 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.06e-05/0.1363, allocations: 23.98 kB / 0.6694 GB, free: 0.707 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001324/0.1365, allocations: 3.938 kB / 0.6694 GB, free: 0.7031 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003826/0.1369, allocations: 163.4 kB / 0.6695 GB, free: 0.5 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002344/0.1371, allocations: 0.6846 MB / 0.6702 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.088e-05/0.1371, allocations: 4 kB / 0.6702 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.454e-05/0.1372, allocations: 11.44 kB / 0.6702 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of SimCode: time 3.1e-07/0.1372, allocations: 0 / 0.6702 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01689/0.1541, allocations: 1.581 MB / 0.6718 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.271/7.425, allocations: 11.22 kB / 0.6718 GB, free: 14.38 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_ShiftAggregationCells.fmu > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe 2>&1)