Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.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.CountAggregationCells,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells",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.007502/0.007502, allocations: 97.61 kB / 15.73 MB, free: 6.047 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.001726/0.001726, allocations: 194 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.372/1.372, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9389/0.9389, allocations: 135.1 MB / 425.7 MB, free: 12.1 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001445/0.001445, allocations: 67.89 kB / 0.5852 GB, free: 3.801 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3716/0.373, allocations: 80.91 MB / 0.6642 GB, free: 7.277 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells): time 0.001475/0.3745, allocations: 0.5557 MB / 0.6647 GB, free: 6.867 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0007145/0.3753, allocations: 0.7824 MB / 0.6655 GB, free: 6.227 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.532e-05/0.3753, allocations: 0 / 0.6655 GB, free: 6.227 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.186e-05/0.3753, allocations: 1.062 kB / 0.6655 GB, free: 6.227 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.14e-06/0.3754, allocations: 0 / 0.6655 GB, free: 6.227 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002402/0.3756, allocations: 22.44 kB / 0.6655 GB, free: 6.211 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.308e-05/0.3757, allocations: 1.406 kB / 0.6655 GB, free: 6.211 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.844e-05/0.3757, allocations: 5.203 kB / 0.6655 GB, free: 6.207 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.424e-05/0.3757, allocations: 1.219 kB / 0.6655 GB, free: 6.207 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001182/0.3759, allocations: 23.11 kB / 0.6655 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.552e-06/0.3759, allocations: 1.5 kB / 0.6656 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 3.196e-06/0.3759, allocations: 0 / 0.6656 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.826e-06/0.3759, allocations: 0 / 0.6656 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.423e-05/0.3759, allocations: 0 / 0.6656 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 3.779e-05/0.376, allocations: 5.078 kB / 0.6656 GB, free: 6.191 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.376, allocations: 0 / 0.6656 GB, free: 6.191 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.653e-06/0.376, allocations: 3.938 kB / 0.6656 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.925e-06/0.376, allocations: 1.25 kB / 0.6656 GB, free: 6.188 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0001751/0.3762, allocations: 310 kB / 0.6659 GB, free: 5.84 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.3762, allocations: 8.938 kB / 0.6659 GB, free: 5.84 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.931e-05/0.3762, allocations: 31.94 kB / 0.6659 GB, free: 5.801 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.811e-05/0.3763, allocations: 0.9375 kB / 0.6659 GB, free: 5.801 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.374e-05/0.3763, allocations: 165.5 kB / 0.6661 GB, free: 5.602 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.907e-06/0.3763, allocations: 4.312 kB / 0.6661 GB, free: 5.598 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.716e-06/0.3763, allocations: 5.25 kB / 0.6661 GB, free: 5.594 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.182e-05/0.3764, allocations: 31.2 kB / 0.6661 GB, free: 5.559 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.302e-06/0.3764, allocations: 0 / 0.6661 GB, free: 5.559 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.751e-06/0.3764, allocations: 7.938 kB / 0.6661 GB, free: 5.551 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-06/0.3764, allocations: 1.469 kB / 0.6661 GB, free: 5.551 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.386e-05/0.3765, allocations: 0 / 0.6661 GB, free: 5.551 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001787/0.3766, allocations: 382.1 kB / 0.6665 GB, free: 5.129 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.301e-05/0.3767, allocations: 174.2 kB / 0.6666 GB, free: 4.949 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.528e-05/0.3767, allocations: 85.42 kB / 0.6667 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.268e-05/0.3767, allocations: 75.28 kB / 0.6668 GB, free: 4.789 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.142e-05/0.3768, allocations: 107.1 kB / 0.6669 GB, free: 4.676 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 8.32e-07/0.3768, allocations: 0 / 0.6669 GB, free: 4.676 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 5.786e-05/0.3768, allocations: 26.8 kB / 0.6669 GB, free: 4.645 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.668e-05/0.3769, allocations: 130.6 kB / 0.667 GB, free: 4.504 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.901e-05/0.3769, allocations: 100.4 kB / 0.6671 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.278e-06/0.3769, allocations: 25.7 kB / 0.6672 GB, free: 4.367 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.438e-05/0.3769, allocations: 84.09 kB / 0.6672 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.497e-06/0.3769, allocations: 5.141 kB / 0.6672 GB, free: 4.277 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.281e-05/0.377, allocations: 11.5 kB / 0.6673 GB, free: 4.262 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 3.683e-05/0.377, allocations: 314.8 kB / 0.6676 GB, free: 3.945 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.343e-06/0.377, allocations: 0.9688 kB / 0.6676 GB, free: 3.945 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.608e-06/0.377, allocations: 1.25 kB / 0.6676 GB, free: 3.945 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.046e-05/0.3771, allocations: 14.89 kB / 0.6676 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.203e-06/0.3771, allocations: 0 / 0.6676 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.622e-05/0.3771, allocations: 35.58 kB / 0.6676 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.3772, allocations: 5.312 kB / 0.6676 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.3772, allocations: 0 / 0.6676 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.183e-05/0.3772, allocations: 0 / 0.6676 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.655e-05/0.3772, allocations: 9.672 kB / 0.6676 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.928e-06/0.3772, allocations: 0 / 0.6676 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.094e-05/0.3773, allocations: 1.344 kB / 0.6676 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.687e-06/0.3773, allocations: 4.031 kB / 0.6676 GB, free: 3.883 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 4.245e-05/0.3773, allocations: 189.9 kB / 0.6678 GB, free: 3.691 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.335e-05/0.3774, allocations: 106.3 kB / 0.6679 GB, free: 3.582 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.151e-05/0.3774, allocations: 113.3 kB / 0.668 GB, free: 3.461 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.085e-05/0.3774, allocations: 181.5 kB / 0.6682 GB, free: 3.277 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.099e-05/0.3774, allocations: 181.6 kB / 0.6684 GB, free: 3.094 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.089e-05/0.3775, allocations: 184.2 kB / 0.6685 GB, free: 2.906 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001154/0.3776, allocations: 398.4 kB / 0.6689 GB, free: 2.461 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-05/0.3776, allocations: 114 kB / 0.669 GB, free: 2.344 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.173e-05/0.3776, allocations: 102.4 kB / 0.6691 GB, free: 2.238 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.008e-05/0.3776, allocations: 177.4 kB / 0.6693 GB, free: 2.059 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.281e-05/0.3777, allocations: 185.5 kB / 0.6695 GB, free: 1.871 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.952e-05/0.3777, allocations: 176.3 kB / 0.6696 GB, free: 1.691 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.896e-05/0.3777, allocations: 181.4 kB / 0.6698 GB, free: 1.508 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.993e-05/0.3778, allocations: 318.9 kB / 0.6701 GB, free: 1.176 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.785e-05/0.3778, allocations: 183.4 kB / 0.6703 GB, free: 0.9727 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.77e-05/0.3778, allocations: 181.4 kB / 0.6705 GB, free: 0.7891 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.464e-05/0.3779, allocations: 106.7 kB / 0.6706 GB, free: 0.6797 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.564e-05/0.3779, allocations: 181.5 kB / 0.6707 GB, free: 0.4961 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.393e-05/0.378, allocations: 110.3 kB / 0.6708 GB, free: 392 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 1.661e-05/0.378, allocations: 75.28 kB / 0.6709 GB, free: 316 kB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.378, allocations: 96 / 0.6709 GB, free: 316 kB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002285/0.3782, allocations: 5.406 kB / 0.6709 GB, free: 312 kB / 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.0003209/0.3785, allocations: 0.8106 MB / 0.6717 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 5.839e-05/0.3786, allocations: 1.25 kB / 0.6717 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3786, allocations: 5.375 kB / 0.6717 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 3.557e-06/0.3786, allocations: 3.938 kB / 0.6717 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003517/0.379, allocations: 454.6 kB / 0.6722 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003424/0.3793, allocations: 183 kB / 0.6723 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000253/0.3796, allocations: 0.67 MB / 0.673 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 1.208e-05/0.3796, allocations: 0 / 0.673 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.161e-05/0.3797, allocations: 11.44 kB / 0.673 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of SimCode: time 1.553e-06/0.3797, allocations: 1.156 kB / 0.673 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0169/0.3966, allocations: 0.9458 MB / 0.6739 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.475/7.872, allocations: 15.81 kB / 0.6739 GB, free: 13.62 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells.fmu > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe 2>&1)