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.001187/0.001187, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.001273/0.001273, allocations: 190.5 kB / 16.25 MB, free: 6.145 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.296/1.296, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002028/0.002028, allocations: 294.8 kB / 290.4 MB, free: 2.133 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9357/0.9357, allocations: 169.2 MB / 0.4978 GB, free: 14.08 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001568/0.001569, allocations: 93.12 kB / 0.5948 GB, free: 28.08 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1342/0.1358, allocations: 86.98 MB / 0.6798 GB, free: 0.9062 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells): time 0.001635/0.1375, allocations: 0.5898 MB / 0.6803 GB, free: 336 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007609/0.1383, allocations: 0.7883 MB / 0.6811 GB, free: 15.53 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.424e-06/0.1383, allocations: 0.875 kB / 0.6811 GB, free: 15.53 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.066e-05/0.1383, allocations: 0 / 0.6811 GB, free: 15.53 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.587e-06/0.1383, allocations: 0.7188 kB / 0.6811 GB, free: 15.53 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002017/0.1385, allocations: 16.61 kB / 0.6811 GB, free: 15.51 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 2.705e-05/0.1386, allocations: 7.984 kB / 0.6811 GB, free: 15.5 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.863e-05/0.1386, allocations: 2 kB / 0.6811 GB, free: 15.5 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.065e-05/0.1386, allocations: 4 kB / 0.6811 GB, free: 15.5 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001024/0.1387, allocations: 19.98 kB / 0.6812 GB, free: 15.48 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.97e-06/0.1387, allocations: 0 / 0.6812 GB, free: 15.48 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.44e-06/0.1387, allocations: 0 / 0.6812 GB, free: 15.48 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.003e-06/0.1387, allocations: 3.938 kB / 0.6812 GB, free: 15.48 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.325e-05/0.1388, allocations: 0 / 0.6812 GB, free: 15.48 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 2.548e-05/0.1388, allocations: 3.984 kB / 0.6812 GB, free: 15.47 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.1388, allocations: 3.938 kB / 0.6812 GB, free: 15.47 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.335e-06/0.1388, allocations: 0 / 0.6812 GB, free: 15.47 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.309e-06/0.1388, allocations: 3.938 kB / 0.6812 GB, free: 15.46 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.0002427/0.1391, allocations: 315.6 kB / 0.6815 GB, free: 15.11 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.283e-05/0.1391, allocations: 12.03 kB / 0.6815 GB, free: 15.09 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.632e-05/0.1391, allocations: 30.75 kB / 0.6815 GB, free: 15.05 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.528e-05/0.1392, allocations: 4.938 kB / 0.6815 GB, free: 15.05 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.507e-05/0.1392, allocations: 164.4 kB / 0.6817 GB, free: 14.85 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.2e-06/0.1393, allocations: 384 / 0.6817 GB, free: 14.85 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.222e-06/0.1393, allocations: 384 / 0.6817 GB, free: 14.85 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.945e-05/0.1393, allocations: 26.27 kB / 0.6817 GB, free: 14.82 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.322e-06/0.1393, allocations: 3.938 kB / 0.6817 GB, free: 14.82 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.312e-06/0.1394, allocations: 0 / 0.6817 GB, free: 14.82 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.1394, allocations: 8 kB / 0.6817 GB, free: 14.81 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.348e-05/0.1394, allocations: 3.938 kB / 0.6817 GB, free: 14.8 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002407/0.1396, allocations: 375.5 kB / 0.6821 GB, free: 14.39 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.259e-05/0.1397, allocations: 173.1 kB / 0.6823 GB, free: 14.21 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.298e-05/0.1397, allocations: 84.12 kB / 0.6823 GB, free: 14.12 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.553e-05/0.1398, allocations: 79.28 kB / 0.6824 GB, free: 14.04 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.249e-05/0.1398, allocations: 113.8 kB / 0.6825 GB, free: 13.92 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 9.31e-07/0.1398, allocations: 0 / 0.6825 GB, free: 13.92 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 5.301e-05/0.1399, allocations: 29.7 kB / 0.6825 GB, free: 13.89 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.861e-05/0.1399, allocations: 130.7 kB / 0.6827 GB, free: 13.75 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.414e-05/0.14, allocations: 90.14 kB / 0.6828 GB, free: 13.65 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 9.608e-06/0.14, allocations: 29.83 kB / 0.6828 GB, free: 13.61 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.301e-05/0.1401, allocations: 84.08 kB / 0.6829 GB, free: 13.53 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.645e-06/0.1401, allocations: 0 / 0.6829 GB, free: 13.53 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.641e-05/0.1401, allocations: 17.72 kB / 0.6829 GB, free: 13.5 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.598e-05/0.1402, allocations: 310.8 kB / 0.6832 GB, free: 13.19 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.282e-06/0.1402, allocations: 0 / 0.6832 GB, free: 13.19 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.13e-06/0.1402, allocations: 4 kB / 0.6832 GB, free: 13.19 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.795e-05/0.1402, allocations: 8.859 kB / 0.6832 GB, free: 13.18 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.1402, allocations: 7.938 kB / 0.6832 GB, free: 13.17 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.357e-05/0.1403, allocations: 33.69 kB / 0.6832 GB, free: 13.13 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.18e-05/0.1403, allocations: 8 kB / 0.6832 GB, free: 13.12 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.106e-06/0.1404, allocations: 0 / 0.6832 GB, free: 13.12 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.355e-06/0.1404, allocations: 0 / 0.6832 GB, free: 13.12 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.943e-05/0.1404, allocations: 0 / 0.6832 GB, free: 13.12 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.937e-06/0.1404, allocations: 3.938 kB / 0.6832 GB, free: 13.12 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.727e-06/0.1404, allocations: 0 / 0.6832 GB, free: 13.12 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.336e-06/0.1404, allocations: 4 kB / 0.6832 GB, free: 13.11 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.119e-05/0.1405, allocations: 193.8 kB / 0.6834 GB, free: 12.91 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.398e-05/0.1406, allocations: 108.9 kB / 0.6835 GB, free: 12.8 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.694e-05/0.1406, allocations: 108.1 kB / 0.6836 GB, free: 12.69 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.303e-05/0.1407, allocations: 180.3 kB / 0.6838 GB, free: 12.5 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.815e-05/0.1408, allocations: 180.2 kB / 0.684 GB, free: 12.32 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.093e-05/0.1408, allocations: 180.3 kB / 0.6842 GB, free: 12.14 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002029/0.141, allocations: 413.6 kB / 0.6845 GB, free: 11.68 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.434e-05/0.1411, allocations: 101 kB / 0.6846 GB, free: 11.57 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.09e-05/0.1411, allocations: 105 kB / 0.6847 GB, free: 11.46 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.271e-05/0.1412, allocations: 180.2 kB / 0.6849 GB, free: 11.28 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.543e-05/0.1413, allocations: 184.2 kB / 0.6851 GB, free: 11.09 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.778e-05/0.1413, allocations: 192.4 kB / 0.6853 GB, free: 10.89 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.776e-05/0.1414, allocations: 180.3 kB / 0.6854 GB, free: 10.71 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001073/0.1415, allocations: 307.6 kB / 0.6857 GB, free: 10.39 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.733e-05/0.1415, allocations: 190.1 kB / 0.6859 GB, free: 10.18 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001034/0.1416, allocations: 188.2 kB / 0.6861 GB, free: 9.984 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.288e-05/0.1417, allocations: 101 kB / 0.6862 GB, free: 9.879 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.803e-05/0.1418, allocations: 180.2 kB / 0.6864 GB, free: 9.695 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.396e-05/0.1418, allocations: 101 kB / 0.6865 GB, free: 9.59 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.076e-05/0.1419, allocations: 83.27 kB / 0.6865 GB, free: 9.508 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1419, allocations: 0 / 0.6865 GB, free: 9.508 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001979/0.1421, allocations: 0 / 0.6865 GB, free: 9.508 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.0003477/0.1424, allocations: 0.8127 MB / 0.6873 GB, free: 8.664 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 4.709e-05/0.1425, allocations: 4 kB / 0.6873 GB, free: 8.66 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1425, allocations: 0 / 0.6873 GB, free: 8.66 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.493e-06/0.1425, allocations: 0 / 0.6873 GB, free: 8.66 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003159/0.1428, allocations: 463.7 kB / 0.6878 GB, free: 8.203 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002666/0.1431, allocations: 169.2 kB / 0.6879 GB, free: 8 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001998/0.1433, allocations: 0.6729 MB / 0.6886 GB, free: 7.301 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 9.999e-06/0.1433, allocations: 0 / 0.6886 GB, free: 7.301 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.567e-05/0.1433, allocations: 7.438 kB / 0.6886 GB, free: 7.297 MB / 494.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1433, allocations: 3.938 kB / 0.6886 GB, free: 7.293 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009117/0.1525, allocations: 0.8754 MB / 0.6895 GB, free: 6.648 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002412/0.1527, allocations: 288.7 kB / 0.6897 GB, free: 6.27 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.73/1.883, allocations: 0 / 0.6897 GB, free: 6.27 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)