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.001322/0.001322, 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.001184/0.001184, allocations: 193.4 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.376/1.376, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9375/0.9375, allocations: 135.1 MB / 425.5 MB, free: 11.84 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001408/0.001408, allocations: 67.92 kB / 0.5055 GB, free: 5.18 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1654/0.1668, allocations: 80.93 MB / 0.5845 GB, free: 4.414 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells): time 0.001921/0.1688, allocations: 0.5309 MB / 0.585 GB, free: 3.875 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001003/0.1698, allocations: 0.7806 MB / 0.5858 GB, free: 3.082 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.615e-05/0.1698, allocations: 0 / 0.5858 GB, free: 3.082 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.532e-05/0.1699, allocations: 3.938 kB / 0.5858 GB, free: 3.078 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.851e-06/0.1699, allocations: 0 / 0.5858 GB, free: 3.078 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002722/0.1702, allocations: 15.98 kB / 0.5858 GB, free: 3.062 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.168e-05/0.1702, allocations: 3.984 kB / 0.5858 GB, free: 3.059 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.971e-05/0.1703, allocations: 7.938 kB / 0.5858 GB, free: 3.051 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.646e-05/0.1703, allocations: 4 kB / 0.5858 GB, free: 3.047 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001293/0.1705, allocations: 19.86 kB / 0.5859 GB, free: 3.027 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.284e-06/0.1705, allocations: 4 kB / 0.5859 GB, free: 3.023 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.236e-06/0.1705, allocations: 0 / 0.5859 GB, free: 3.023 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.003e-05/0.1705, allocations: 0 / 0.5859 GB, free: 3.023 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.235e-05/0.1705, allocations: 7.984 kB / 0.5859 GB, free: 3.016 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 3.429e-05/0.1706, allocations: 0 / 0.5859 GB, free: 3.016 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.1706, allocations: 0 / 0.5859 GB, free: 3.016 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.1706, allocations: 0 / 0.5859 GB, free: 3.016 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.013e-05/0.1706, allocations: 0 / 0.5859 GB, free: 3.016 MB / 494.1 MB 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.0003183/0.1709, allocations: 311.6 kB / 0.5862 GB, free: 2.664 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/0.171, allocations: 8.031 kB / 0.5862 GB, free: 2.656 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.651e-05/0.171, allocations: 30.75 kB / 0.5862 GB, free: 2.617 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.079e-05/0.171, allocations: 0.9375 kB / 0.5862 GB, free: 2.617 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000116/0.1712, allocations: 168.4 kB / 0.5864 GB, free: 2.414 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.212e-05/0.1712, allocations: 4.375 kB / 0.5864 GB, free: 2.41 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.959e-06/0.1712, allocations: 384 / 0.5864 GB, free: 2.41 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.832e-05/0.1713, allocations: 29.64 kB / 0.5864 GB, free: 2.375 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.1713, allocations: 0 / 0.5864 GB, free: 2.375 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.774e-06/0.1713, allocations: 0 / 0.5864 GB, free: 2.375 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.127e-06/0.1713, allocations: 4 kB / 0.5864 GB, free: 2.371 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.069e-05/0.1714, allocations: 3.938 kB / 0.5864 GB, free: 2.367 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003484/0.1717, allocations: 383.5 kB / 0.5868 GB, free: 1.941 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.882e-05/0.1718, allocations: 169.2 kB / 0.5869 GB, free: 1.766 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.934e-05/0.1719, allocations: 80.14 kB / 0.587 GB, free: 1.684 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.129e-05/0.1719, allocations: 75.28 kB / 0.5871 GB, free: 1.609 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.485e-05/0.172, allocations: 113.8 kB / 0.5872 GB, free: 1.488 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 1.342e-06/0.172, allocations: 7.938 kB / 0.5872 GB, free: 1.48 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 7.909e-05/0.1721, allocations: 25.7 kB / 0.5872 GB, free: 1.449 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.126e-05/0.1721, allocations: 130.7 kB / 0.5873 GB, free: 1.309 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.079e-05/0.1722, allocations: 93.84 kB / 0.5874 GB, free: 1.207 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.269e-05/0.1723, allocations: 25.7 kB / 0.5875 GB, free: 1.176 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.884e-05/0.1723, allocations: 84.05 kB / 0.5875 GB, free: 1.09 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.915e-06/0.1723, allocations: 0 / 0.5875 GB, free: 1.09 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.639e-05/0.1723, allocations: 21.84 kB / 0.5876 GB, free: 1.062 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001334/0.1725, allocations: 314.8 kB / 0.5879 GB, free: 0.7461 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.122e-05/0.1725, allocations: 0 / 0.5879 GB, free: 0.7461 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.39e-06/0.1725, allocations: 0 / 0.5879 GB, free: 0.7461 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.83e-05/0.1725, allocations: 12.8 kB / 0.5879 GB, free: 0.7305 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.1726, allocations: 0 / 0.5879 GB, free: 0.7305 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001051/0.1727, allocations: 29.7 kB / 0.5879 GB, free: 0.6953 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.004e-05/0.1727, allocations: 11.98 kB / 0.5879 GB, free: 0.6836 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.1727, allocations: 4.094 kB / 0.5879 GB, free: 0.6797 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.1727, allocations: 3.938 kB / 0.5879 GB, free: 0.6758 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.313e-05/0.1728, allocations: 0 / 0.5879 GB, free: 0.6758 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.1728, allocations: 0 / 0.5879 GB, free: 0.6758 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.445e-05/0.1728, allocations: 4 kB / 0.5879 GB, free: 0.6719 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.552e-06/0.1728, allocations: 4 kB / 0.5879 GB, free: 0.668 MB / 494.1 MB 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 0.0001265/0.173, allocations: 189.1 kB / 0.5881 GB, free: 484 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.058e-05/0.173, allocations: 106.6 kB / 0.5882 GB, free: 372 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.95e-05/0.1731, allocations: 112.1 kB / 0.5883 GB, free: 252 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.315e-05/0.1732, allocations: 184.2 kB / 0.5885 GB, free: 60 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.373e-05/0.1733, allocations: 176.3 kB / 0.5887 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.693e-05/0.1733, allocations: 176.3 kB / 0.5888 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002547/0.1736, allocations: 413.1 kB / 0.5892 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.995e-05/0.1736, allocations: 109 kB / 0.5893 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.729e-05/0.1737, allocations: 104.9 kB / 0.5894 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.06e-05/0.1738, allocations: 176.3 kB / 0.5896 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.132e-05/0.1738, allocations: 180.3 kB / 0.5898 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.799e-05/0.1739, allocations: 184.2 kB / 0.5899 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.434e-05/0.174, allocations: 180.2 kB / 0.5901 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001563/0.1742, allocations: 307.9 kB / 0.5904 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.111e-05/0.1743, allocations: 186.1 kB / 0.5906 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.932e-05/0.1744, allocations: 192.1 kB / 0.5908 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.871e-05/0.1744, allocations: 105 kB / 0.5909 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.919e-05/0.1745, allocations: 184.2 kB / 0.591 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.62e-05/0.1746, allocations: 101 kB / 0.5911 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.552e-05/0.1746, allocations: 75.28 kB / 0.5912 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1746, allocations: 4 kB / 0.5912 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002474/0.1749, allocations: 0 / 0.5912 GB, free: 13.07 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: 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.0004174/0.1753, allocations: 0.8166 MB / 0.592 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 6.198e-05/0.1754, allocations: 0 / 0.592 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1754, allocations: 0 / 0.592 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.938e-06/0.1754, allocations: 4 kB / 0.592 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003588/0.1757, allocations: 462.2 kB / 0.5925 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003325/0.1761, allocations: 193.8 kB / 0.5926 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002499/0.1763, allocations: 0.669 MB / 0.5933 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.171e-05/0.1764, allocations: 0 / 0.5933 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.943e-05/0.1764, allocations: 7.438 kB / 0.5933 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of SimCode: time 2.1e-07/0.1764, allocations: 0 / 0.5933 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0182/0.1946, allocations: 0.9307 MB / 0.5942 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.329/7.524, allocations: 7.391 kB / 0.5942 GB, free: 10.09 MB / 0.4981 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)