Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells,fileNamePrefix="Buildings_8_0_0_Buildings_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/Buildings 8.0.0/package.mo): time 1.447/1.447, allocations: 287.4 MB / 302.6 MB, free: 8.355 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008457/0.0008456, allocations: 189.1 kB / 371.1 MB, free: 10.81 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.245/1.245, allocations: 205.4 MB / 0.6298 GB, free: 10.53 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007455/0.0007455, allocations: 100.6 kB / 0.7431 GB, free: 6.508 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000349/0.0003492, allocations: 13.03 kB / 0.8662 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1556/0.1559, allocations: 115.3 MB / 0.9788 GB, free: 28.03 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells): time 0.0005921/0.1566, allocations: 286.1 kB / 0.979 GB, free: 27.75 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0007178/0.1573, allocations: 0.7651 MB / 0.9798 GB, free: 26.97 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.514e-06/0.1573, allocations: 0 / 0.9798 GB, free: 26.97 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 8.667e-06/0.1574, allocations: 0 / 0.9798 GB, free: 26.97 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.751e-06/0.1574, allocations: 4 kB / 0.9798 GB, free: 26.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001886/0.1576, allocations: 11.98 kB / 0.9798 GB, free: 26.95 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 3.341e-05/0.1576, allocations: 7.938 kB / 0.9798 GB, free: 26.95 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.88e-05/0.1577, allocations: 3.984 kB / 0.9798 GB, free: 26.94 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 1.213e-05/0.1577, allocations: 4 kB / 0.9798 GB, free: 26.94 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001257/0.1578, allocations: 19.98 kB / 0.9798 GB, free: 26.92 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 7.474e-06/0.1578, allocations: 4 kB / 0.9798 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 2.955e-06/0.1578, allocations: 0 / 0.9798 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.905e-06/0.1578, allocations: 0 / 0.9798 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.367e-05/0.1579, allocations: 25.7 kB / 0.9799 GB, free: 26.88 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 2.163e-05/0.1579, allocations: 3.984 kB / 0.9799 GB, free: 26.88 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.1579, allocations: 0 / 0.9799 GB, free: 26.88 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.022e-06/0.1579, allocations: 4 kB / 0.9799 GB, free: 26.88 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.208e-06/0.1579, allocations: 0 / 0.9799 GB, free: 26.88 MB / 0.6198 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.0001648/0.1581, allocations: 307.6 kB / 0.9802 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.419e-05/0.1581, allocations: 8.031 kB / 0.9802 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.159e-05/0.1581, allocations: 30.75 kB / 0.9802 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.603e-05/0.1582, allocations: 4.875 kB / 0.9802 GB, free: 26.47 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.972e-05/0.1582, allocations: 160.4 kB / 0.9804 GB, free: 26.28 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.365e-06/0.1582, allocations: 4.359 kB / 0.9804 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.085e-06/0.1582, allocations: 4.375 kB / 0.9804 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.766e-05/0.1583, allocations: 38.2 kB / 0.9804 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.803e-06/0.1583, allocations: 7.875 kB / 0.9804 GB, free: 26.22 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.402e-06/0.1583, allocations: 0 / 0.9804 GB, free: 26.22 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.477e-06/0.1584, allocations: 0 / 0.9804 GB, free: 26.22 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.47e-05/0.1584, allocations: 0 / 0.9804 GB, free: 26.22 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002061/0.1586, allocations: 371.5 kB / 0.9808 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 4.677e-05/0.1586, allocations: 181.1 kB / 0.9809 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.47e-05/0.1587, allocations: 84.08 kB / 0.981 GB, free: 25.53 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.518e-05/0.1587, allocations: 79.31 kB / 0.9811 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.111e-05/0.1587, allocations: 105.8 kB / 0.9812 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 7.51e-07/0.1587, allocations: 0 / 0.9812 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 5.489e-05/0.1588, allocations: 25.7 kB / 0.9812 GB, free: 25.31 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.202e-05/0.1588, allocations: 130.7 kB / 0.9813 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.815e-05/0.1589, allocations: 97.86 kB / 0.9814 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.23e-06/0.1589, allocations: 25.7 kB / 0.9815 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.575e-05/0.1589, allocations: 84.05 kB / 0.9815 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.464e-06/0.1589, allocations: 0 / 0.9815 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.335e-06/0.1589, allocations: 0 / 0.9815 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.149e-05/0.159, allocations: 314.8 kB / 0.9818 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.209e-06/0.159, allocations: 3.938 kB / 0.9819 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.539e-06/0.159, allocations: 8.125 kB / 0.9819 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.845e-05/0.159, allocations: 4.859 kB / 0.9819 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.159, allocations: 3.938 kB / 0.9819 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.677e-05/0.1591, allocations: 33.7 kB / 0.9819 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.1591, allocations: 8 kB / 0.9819 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.1591, allocations: 0 / 0.9819 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.989e-06/0.1591, allocations: 0 / 0.9819 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.372e-05/0.1592, allocations: 0 / 0.9819 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.128e-06/0.1592, allocations: 0 / 0.9819 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.081e-05/0.1592, allocations: 8.375 kB / 0.9819 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.677e-06/0.1592, allocations: 3.938 kB / 0.9819 GB, free: 24.55 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.813e-05/0.1593, allocations: 193 kB / 0.9821 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.113e-05/0.1593, allocations: 104.9 kB / 0.9822 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.08e-05/0.1593, allocations: 108.1 kB / 0.9823 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.371e-05/0.1593, allocations: 180.2 kB / 0.9825 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.301e-05/0.1594, allocations: 184.3 kB / 0.9827 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.179e-05/0.1594, allocations: 184.2 kB / 0.9828 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000123/0.1595, allocations: 405.2 kB / 0.9832 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.318e-05/0.1595, allocations: 101 kB / 0.9833 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.553e-05/0.1596, allocations: 108.9 kB / 0.9834 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-05/0.1596, allocations: 189.2 kB / 0.9836 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.708e-05/0.1596, allocations: 188.2 kB / 0.9838 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.223e-05/0.1597, allocations: 176.3 kB / 0.9839 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.086e-05/0.1597, allocations: 180.2 kB / 0.9841 GB, free: 22.15 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.656e-05/0.1597, allocations: 311.7 kB / 0.9844 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.062e-05/0.1598, allocations: 186.3 kB / 0.9846 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.092e-05/0.1598, allocations: 180.3 kB / 0.9848 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.26e-05/0.1599, allocations: 105 kB / 0.9849 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.899e-05/0.1599, allocations: 184.2 kB / 0.985 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.32e-05/0.1599, allocations: 101 kB / 0.9851 GB, free: 21.03 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.923e-05/0.1599, allocations: 87.28 kB / 0.9852 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1599, allocations: 0 / 0.9852 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000209/0.1602, allocations: 0 / 0.9852 GB, free: 20.95 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002006/0.1604, allocations: 0.8164 MB / 0.986 GB, free: 20.1 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 4.38e-05/0.1604, allocations: 4.094 kB / 0.986 GB, free: 20.1 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.1604, allocations: 0 / 0.986 GB, free: 20.1 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.144e-06/0.1604, allocations: 4 kB / 0.986 GB, free: 20.09 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002326/0.1607, allocations: 0.5213 MB / 0.9865 GB, free: 19.57 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002578/0.1609, allocations: 177.3 kB / 0.9867 GB, free: 19.36 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.325e-05/0.161, allocations: 0.6771 MB / 0.9874 GB, free: 18.65 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.194e-05/0.1611, allocations: 0 / 0.9874 GB, free: 18.65 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.354e-05/0.1611, allocations: 7.438 kB / 0.9874 GB, free: 18.64 MB / 0.6198 GB Notification: Performance of SimCode: time 2e-07/0.1611, allocations: 4 kB / 0.9874 GB, free: 18.64 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3391/0.5002, allocations: 0.7557 MB / 0.9881 GB, free: 18.11 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002233/0.5005, allocations: 262 kB / 0.9884 GB, free: 17.75 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.348/1.849, allocations: 0 / 0.9884 GB, free: 17.75 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells.fmu > Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe 2>&1)