Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells,fileNamePrefix="BuildingSystems_BuildingSystems_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.001116/0.001116, 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.001217/0.001218, allocations: 196.6 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.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002259/0.002259, allocations: 279.1 kB / 290.7 MB, free: 2.008 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9603/0.9603, allocations: 169.3 MB / 0.4982 GB, free: 13.97 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00175/0.00175, allocations: 98.69 kB / 0.5954 GB, free: 27.91 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1484/0.1502, allocations: 86.99 MB / 0.6803 GB, free: 0.543 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells): time 0.00208/0.1523, allocations: 0.5247 MB / 0.6808 GB, free: 32 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001167/0.1535, allocations: 0.7883 MB / 0.6816 GB, free: 15.23 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.899e-05/0.1535, allocations: 0 / 0.6816 GB, free: 15.23 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.91e-05/0.1536, allocations: 0 / 0.6816 GB, free: 15.23 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 9.137e-06/0.1536, allocations: 0 / 0.6816 GB, free: 15.23 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003271/0.1539, allocations: 28.66 kB / 0.6816 GB, free: 15.2 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.571e-05/0.154, allocations: 0 / 0.6816 GB, free: 15.2 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.934e-05/0.1541, allocations: 4.719 kB / 0.6816 GB, free: 15.2 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.722e-05/0.1541, allocations: 0 / 0.6816 GB, free: 15.2 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001593/0.1543, allocations: 18.42 kB / 0.6817 GB, free: 15.18 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.226e-05/0.1543, allocations: 7.922 kB / 0.6817 GB, free: 15.18 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.328e-06/0.1543, allocations: 0 / 0.6817 GB, free: 15.18 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.206e-05/0.1543, allocations: 0 / 0.6817 GB, free: 15.18 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.336e-05/0.1543, allocations: 4 kB / 0.6817 GB, free: 15.17 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 4.016e-05/0.1544, allocations: 0 / 0.6817 GB, free: 15.17 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.1544, allocations: 0 / 0.6817 GB, free: 15.17 MB / 494.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.1544, allocations: 0 / 0.6817 GB, free: 15.17 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.087e-06/0.1544, allocations: 0 / 0.6817 GB, free: 15.17 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.0003002/0.1547, allocations: 315.5 kB / 0.682 GB, free: 14.81 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.153e-05/0.1548, allocations: 16.02 kB / 0.682 GB, free: 14.8 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.754e-05/0.1548, allocations: 30.75 kB / 0.682 GB, free: 14.76 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.259e-05/0.1548, allocations: 0.9375 kB / 0.682 GB, free: 14.76 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001004/0.155, allocations: 164.4 kB / 0.6822 GB, free: 14.56 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.329e-05/0.155, allocations: 384 / 0.6822 GB, free: 14.56 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.153e-06/0.155, allocations: 384 / 0.6822 GB, free: 14.56 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.296e-05/0.1551, allocations: 30.27 kB / 0.6822 GB, free: 14.52 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.407e-05/0.1551, allocations: 3.938 kB / 0.6822 GB, free: 14.52 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.223e-06/0.1551, allocations: 0 / 0.6822 GB, free: 14.52 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.1551, allocations: 0 / 0.6822 GB, free: 14.52 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.917e-05/0.1551, allocations: 3.938 kB / 0.6822 GB, free: 14.52 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003002/0.1555, allocations: 383.5 kB / 0.6826 GB, free: 14.09 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.354e-05/0.1555, allocations: 169.1 kB / 0.6827 GB, free: 13.91 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.392e-05/0.1556, allocations: 84.14 kB / 0.6828 GB, free: 13.83 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.963e-05/0.1556, allocations: 75.28 kB / 0.6829 GB, free: 13.75 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.932e-05/0.1557, allocations: 109.8 kB / 0.683 GB, free: 13.64 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 1.082e-06/0.1557, allocations: 4 kB / 0.683 GB, free: 13.63 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 7.357e-05/0.1558, allocations: 29.73 kB / 0.683 GB, free: 13.6 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.501e-05/0.1559, allocations: 126.7 kB / 0.6832 GB, free: 13.46 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.268e-05/0.1559, allocations: 94.12 kB / 0.6832 GB, free: 13.36 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.252e-05/0.156, allocations: 25.7 kB / 0.6833 GB, free: 13.33 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.46e-05/0.156, allocations: 88.08 kB / 0.6834 GB, free: 13.24 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.486e-06/0.156, allocations: 3.938 kB / 0.6834 GB, free: 13.23 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.376e-05/0.1561, allocations: 17.84 kB / 0.6834 GB, free: 13.21 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001053/0.1562, allocations: 310.8 kB / 0.6837 GB, free: 12.9 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.018e-05/0.1562, allocations: 4 kB / 0.6837 GB, free: 12.89 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.729e-06/0.1562, allocations: 4 kB / 0.6837 GB, free: 12.89 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.663e-05/0.1562, allocations: 8.797 kB / 0.6837 GB, free: 12.88 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.1562, allocations: 3.938 kB / 0.6837 GB, free: 12.88 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000107/0.1564, allocations: 37.69 kB / 0.6837 GB, free: 12.83 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.1564, allocations: 4.094 kB / 0.6837 GB, free: 12.83 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.1564, allocations: 4 kB / 0.6837 GB, free: 12.82 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.1564, allocations: 0 / 0.6837 GB, free: 12.82 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.139e-05/0.1565, allocations: 0 / 0.6837 GB, free: 12.82 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.797e-06/0.1565, allocations: 4 kB / 0.6837 GB, free: 12.82 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.297e-05/0.1565, allocations: 7.938 kB / 0.6837 GB, free: 12.81 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.158e-06/0.1565, allocations: 0 / 0.6837 GB, free: 12.81 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 7.905e-05/0.1566, allocations: 185.7 kB / 0.6839 GB, free: 12.62 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.094e-05/0.1566, allocations: 104.9 kB / 0.684 GB, free: 12.51 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.019e-05/0.1567, allocations: 116.1 kB / 0.6841 GB, free: 12.39 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.652e-05/0.1568, allocations: 180.2 kB / 0.6843 GB, free: 12.21 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.665e-05/0.1568, allocations: 176.3 kB / 0.6845 GB, free: 12.03 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-05/0.1569, allocations: 180.3 kB / 0.6846 GB, free: 11.84 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002029/0.1571, allocations: 413.1 kB / 0.685 GB, free: 11.38 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.03e-05/0.1571, allocations: 105 kB / 0.6851 GB, free: 11.27 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.674e-05/0.1572, allocations: 104.9 kB / 0.6852 GB, free: 11.16 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.748e-05/0.1572, allocations: 180.3 kB / 0.6854 GB, free: 10.98 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.858e-05/0.1573, allocations: 180.8 kB / 0.6856 GB, free: 10.8 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.528e-05/0.1574, allocations: 184.2 kB / 0.6858 GB, free: 10.61 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.836e-05/0.1574, allocations: 176.3 kB / 0.6859 GB, free: 10.43 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001223/0.1575, allocations: 315.8 kB / 0.6862 GB, free: 10.1 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.266e-05/0.1576, allocations: 186.1 kB / 0.6864 GB, free: 9.891 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.316e-05/0.1577, allocations: 184.2 kB / 0.6866 GB, free: 9.703 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.335e-05/0.1578, allocations: 101 kB / 0.6867 GB, free: 9.598 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.561e-05/0.1578, allocations: 188.2 kB / 0.6869 GB, free: 9.406 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.951e-05/0.1579, allocations: 101 kB / 0.687 GB, free: 9.301 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.119e-05/0.1579, allocations: 79.28 kB / 0.687 GB, free: 9.223 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1579, allocations: 0 / 0.687 GB, free: 9.223 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002162/0.1581, allocations: 4 kB / 0.687 GB, free: 9.219 MB / 494.1 MB 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.0004119/0.1586, allocations: 0.8127 MB / 0.6878 GB, free: 8.375 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 6.709e-05/0.1586, allocations: 12 kB / 0.6878 GB, free: 8.363 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.1586, allocations: 0 / 0.6878 GB, free: 8.363 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.783e-06/0.1586, allocations: 3.938 kB / 0.6878 GB, free: 8.359 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003611/0.159, allocations: 459.7 kB / 0.6883 GB, free: 7.906 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003813/0.1594, allocations: 170 kB / 0.6884 GB, free: 7.699 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002962/0.1597, allocations: 0.669 MB / 0.6891 GB, free: 7.004 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.339e-05/0.1597, allocations: 7.938 kB / 0.6891 GB, free: 6.996 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.985e-05/0.1597, allocations: 9.328 kB / 0.6891 GB, free: 6.988 MB / 494.1 MB Notification: Performance of SimCode: time 3e-07/0.1598, allocations: 0 / 0.6891 GB, free: 6.988 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01721/0.177, allocations: 0.9459 MB / 0.69 GB, free: 6.23 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.002/7.179, allocations: 10.81 kB / 0.69 GB, free: 6.227 MB / 494.1 MB (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe 2>&1)