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.001078/0.001078, allocations: 108 kB / 15.61 MB, free: 152 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.00124/0.001241, allocations: 194.7 kB / 16.53 MB, free: 6.664 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.31/1.31, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.919/0.919, allocations: 135.1 MB / 425.5 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001283/0.001283, allocations: 64.66 kB / 0.5055 GB, free: 5.156 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1586/0.1599, allocations: 80.92 MB / 0.5845 GB, free: 4.391 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells): time 0.002187/0.1621, allocations: 0.5374 MB / 0.585 GB, free: 3.848 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009881/0.1631, allocations: 0.7845 MB / 0.5858 GB, free: 3.051 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.718e-05/0.1632, allocations: 0 / 0.5858 GB, free: 3.051 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.218e-05/0.1632, allocations: 0 / 0.5858 GB, free: 3.051 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.109e-06/0.1632, allocations: 0 / 0.5858 GB, free: 3.051 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000304/0.1635, allocations: 23.86 kB / 0.5858 GB, free: 3.027 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.383e-05/0.1636, allocations: 0 / 0.5858 GB, free: 3.027 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.848e-05/0.1637, allocations: 4 kB / 0.5858 GB, free: 3.023 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.626e-05/0.1637, allocations: 3.984 kB / 0.5858 GB, free: 3.02 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001453/0.1638, allocations: 27.92 kB / 0.5859 GB, free: 2.992 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.516e-06/0.1638, allocations: 0 / 0.5859 GB, free: 2.992 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.687e-06/0.1638, allocations: 0 / 0.5859 GB, free: 2.992 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.997e-06/0.1639, allocations: 0 / 0.5859 GB, free: 2.992 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.734e-05/0.1639, allocations: 0 / 0.5859 GB, free: 2.992 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 3.333e-05/0.1639, allocations: 0 / 0.5859 GB, free: 2.992 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.1639, allocations: 0 / 0.5859 GB, free: 2.992 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1639, allocations: 4 kB / 0.5859 GB, free: 2.988 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.1639, allocations: 0 / 0.5859 GB, free: 2.988 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.0002727/0.1642, allocations: 311.5 kB / 0.5862 GB, free: 2.637 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.238e-05/0.1643, allocations: 12.06 kB / 0.5862 GB, free: 2.625 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.253e-05/0.1643, allocations: 30.75 kB / 0.5862 GB, free: 2.586 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.961e-05/0.1643, allocations: 0.9375 kB / 0.5862 GB, free: 2.586 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.17e-05/0.1644, allocations: 164.3 kB / 0.5864 GB, free: 2.387 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.725e-06/0.1644, allocations: 384 / 0.5864 GB, free: 2.387 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.588e-06/0.1645, allocations: 384 / 0.5864 GB, free: 2.387 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.722e-05/0.1646, allocations: 37.64 kB / 0.5864 GB, free: 2.344 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.1646, allocations: 0 / 0.5864 GB, free: 2.344 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.516e-06/0.1646, allocations: 4 kB / 0.5864 GB, free: 2.34 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.1646, allocations: 0 / 0.5864 GB, free: 2.34 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.021e-05/0.1646, allocations: 0 / 0.5864 GB, free: 2.34 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003211/0.165, allocations: 383.5 kB / 0.5868 GB, free: 1.914 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.795e-05/0.1651, allocations: 169.1 kB / 0.5869 GB, free: 1.738 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.933e-05/0.1651, allocations: 84.14 kB / 0.587 GB, free: 1.652 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.226e-05/0.1651, allocations: 75.28 kB / 0.5871 GB, free: 1.578 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.449e-05/0.1652, allocations: 109.9 kB / 0.5872 GB, free: 1.461 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 1.423e-06/0.1652, allocations: 3.938 kB / 0.5872 GB, free: 1.457 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 7.597e-05/0.1653, allocations: 37.61 kB / 0.5872 GB, free: 1.414 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.45e-05/0.1653, allocations: 126.7 kB / 0.5873 GB, free: 1.277 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.759e-05/0.1654, allocations: 97.86 kB / 0.5874 GB, free: 1.172 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 9.899e-06/0.1654, allocations: 29.7 kB / 0.5875 GB, free: 1.137 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.751e-05/0.1655, allocations: 88.03 kB / 0.5875 GB, free: 1.047 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.965e-06/0.1655, allocations: 0 / 0.5875 GB, free: 1.047 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.627e-05/0.1655, allocations: 9.719 kB / 0.5876 GB, free: 1.031 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.777e-05/0.1656, allocations: 314.8 kB / 0.5879 GB, free: 0.7148 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.248e-06/0.1656, allocations: 4 kB / 0.5879 GB, free: 0.7109 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.549e-06/0.1656, allocations: 0 / 0.5879 GB, free: 0.7109 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.71e-05/0.1657, allocations: 13.05 kB / 0.5879 GB, free: 0.6953 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.1657, allocations: 3.938 kB / 0.5879 GB, free: 0.6914 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.404e-05/0.1658, allocations: 41.62 kB / 0.5879 GB, free: 0.6445 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.1658, allocations: 4 kB / 0.5879 GB, free: 0.6406 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.1658, allocations: 0 / 0.5879 GB, free: 0.6406 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/0.1658, allocations: 0 / 0.5879 GB, free: 0.6406 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.078e-05/0.1659, allocations: 4 kB / 0.5879 GB, free: 0.6367 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.448e-06/0.1659, allocations: 0 / 0.5879 GB, free: 0.6367 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.05e-05/0.1659, allocations: 0 / 0.5879 GB, free: 0.6367 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.158e-06/0.1659, allocations: 32 / 0.5879 GB, free: 0.6367 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 8.847e-05/0.166, allocations: 189.1 kB / 0.5881 GB, free: 452 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.879e-05/0.1661, allocations: 110.6 kB / 0.5882 GB, free: 336 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.026e-05/0.1661, allocations: 112 kB / 0.5883 GB, free: 216 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.675e-05/0.1662, allocations: 176.3 kB / 0.5885 GB, free: 32 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.277e-05/0.1663, allocations: 180.3 kB / 0.5887 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-05/0.1664, allocations: 188.2 kB / 0.5888 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002131/0.1666, allocations: 401.2 kB / 0.5892 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.97e-05/0.1666, allocations: 113 kB / 0.5893 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.19e-05/0.1667, allocations: 101 kB / 0.5894 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.587e-05/0.1667, allocations: 184.2 kB / 0.5896 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.459e-05/0.1668, allocations: 184.2 kB / 0.5898 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.93e-05/0.1668, allocations: 176.3 kB / 0.5899 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.015e-05/0.1669, allocations: 180.2 kB / 0.5901 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001342/0.167, allocations: 307.9 kB / 0.5904 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.323e-05/0.1671, allocations: 186.1 kB / 0.5906 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.407e-05/0.1672, allocations: 188.2 kB / 0.5908 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.462e-05/0.1673, allocations: 104.9 kB / 0.5909 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.505e-05/0.1674, allocations: 180.3 kB / 0.591 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.5e-05/0.1674, allocations: 108.9 kB / 0.5911 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.412e-05/0.1675, allocations: 79.27 kB / 0.5912 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.1675, allocations: 0 / 0.5912 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002332/0.1677, allocations: 4.094 kB / 0.5912 GB, free: 13.04 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.0004032/0.1681, allocations: 0.8048 MB / 0.592 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 7.935e-05/0.1682, allocations: 7.984 kB / 0.592 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.1682, allocations: 4 kB / 0.592 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.502e-06/0.1682, allocations: 4 kB / 0.592 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000351/0.1686, allocations: 453.6 kB / 0.5925 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003688/0.1689, allocations: 189.9 kB / 0.5926 GB, free: 11.51 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002514/0.1692, allocations: 0.669 MB / 0.5933 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.484e-05/0.1692, allocations: 0 / 0.5933 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.279e-05/0.1693, allocations: 15.38 kB / 0.5933 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of SimCode: time 3.9e-07/0.1693, allocations: 4 kB / 0.5933 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01663/0.1859, allocations: 0.917 MB / 0.5942 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.462/7.648, allocations: 25.41 kB / 0.5942 GB, free: 10.05 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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)