Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells,fileNamePrefix="Buildings_8_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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001531/0.001531, 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.001736/0.001736, allocations: 198.3 kB / 16.54 MB, free: 6.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.304/1.304, allocations: 205.1 MB / 222.4 MB, free: 4.617 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.746/1.746, allocations: 292.3 MB / 0.5489 GB, free: 12.84 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001397/0.001397, allocations: 69.62 kB / 0.6716 GB, free: 26.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1912/0.1926, allocations: 114.6 MB / 0.7835 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells): time 0.00164/0.1942, allocations: 0.5651 MB / 0.7841 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0007909/0.195, allocations: 0.7728 MB / 0.7848 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.32e-05/0.1951, allocations: 0 / 0.7848 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.192e-05/0.1951, allocations: 0 / 0.7848 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.369e-06/0.1951, allocations: 0 / 0.7848 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002168/0.1953, allocations: 19.92 kB / 0.7848 GB, free: 12 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 3.549e-05/0.1954, allocations: 4 kB / 0.7848 GB, free: 12 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.498e-05/0.1954, allocations: 4 kB / 0.7848 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.518e-05/0.1954, allocations: 3.984 kB / 0.7848 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001187/0.1956, allocations: 19.98 kB / 0.7849 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.101e-06/0.1956, allocations: 0 / 0.7849 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 4.659e-06/0.1956, allocations: 0 / 0.7849 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.095e-06/0.1956, allocations: 3.938 kB / 0.7849 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 1.322e-05/0.1956, allocations: 4 kB / 0.7849 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 2.712e-05/0.1956, allocations: 0 / 0.7849 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.1957, allocations: 0 / 0.7849 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.153e-06/0.1957, allocations: 4 kB / 0.7849 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.484e-06/0.1957, allocations: 0 / 0.7849 GB, free: 11.96 MB / 0.6075 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.0002283/0.1959, allocations: 307.5 kB / 0.7852 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.1959, allocations: 12.06 kB / 0.7852 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.088e-05/0.196, allocations: 30.75 kB / 0.7852 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.574e-05/0.196, allocations: 0.9375 kB / 0.7852 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.023e-05/0.1961, allocations: 164.3 kB / 0.7854 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.198e-06/0.1961, allocations: 4.375 kB / 0.7854 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.249e-06/0.1961, allocations: 384 / 0.7854 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.429e-05/0.1962, allocations: 34.27 kB / 0.7854 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.1962, allocations: 3.938 kB / 0.7854 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.302e-06/0.1962, allocations: 0 / 0.7854 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.506e-06/0.1962, allocations: 0 / 0.7854 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.445e-05/0.1962, allocations: 3.938 kB / 0.7854 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002395/0.1965, allocations: 387.5 kB / 0.7858 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.257e-05/0.1966, allocations: 173 kB / 0.786 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.137e-05/0.1966, allocations: 80.14 kB / 0.786 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.477e-05/0.1966, allocations: 75.28 kB / 0.7861 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.988e-05/0.1967, allocations: 109.9 kB / 0.7862 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 9.11e-07/0.1967, allocations: 4 kB / 0.7862 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 6.34e-05/0.1968, allocations: 25.7 kB / 0.7862 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.475e-05/0.1968, allocations: 134.6 kB / 0.7864 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.639e-05/0.1969, allocations: 93.86 kB / 0.7864 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.232e-05/0.1969, allocations: 29.7 kB / 0.7865 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.843e-05/0.197, allocations: 87.98 kB / 0.7866 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.344e-06/0.197, allocations: 0 / 0.7866 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.557e-05/0.197, allocations: 13.84 kB / 0.7866 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.913e-05/0.1971, allocations: 310.8 kB / 0.7869 GB, free: 9.684 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.277e-06/0.1971, allocations: 4 kB / 0.7869 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.988e-06/0.1971, allocations: 0 / 0.7869 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.206e-05/0.1971, allocations: 8.859 kB / 0.7869 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.1972, allocations: 3.938 kB / 0.7869 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.501e-05/0.1972, allocations: 41.62 kB / 0.7869 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.138e-05/0.1973, allocations: 4 kB / 0.7869 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.546e-06/0.1973, allocations: 4.094 kB / 0.7869 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.958e-06/0.1973, allocations: 0 / 0.7869 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.282e-05/0.1973, allocations: 4 kB / 0.7869 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.527e-06/0.1973, allocations: 0 / 0.7869 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.028e-05/0.1974, allocations: 288 / 0.7869 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.447e-06/0.1974, allocations: 0 / 0.7869 GB, free: 9.605 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.795e-05/0.1974, allocations: 185.7 kB / 0.7871 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.168e-05/0.1975, allocations: 105 kB / 0.7872 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.365e-05/0.1976, allocations: 120 kB / 0.7873 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.837e-05/0.1976, allocations: 176.3 kB / 0.7875 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.486e-05/0.1977, allocations: 180.3 kB / 0.7877 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.342e-05/0.1977, allocations: 184.2 kB / 0.7878 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001925/0.1979, allocations: 401.2 kB / 0.7882 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.319e-05/0.198, allocations: 114 kB / 0.7883 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.297e-05/0.198, allocations: 105 kB / 0.7884 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.87e-05/0.1981, allocations: 180.3 kB / 0.7886 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.747e-05/0.1981, allocations: 184.2 kB / 0.7888 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.583e-05/0.1982, allocations: 176.3 kB / 0.789 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.112e-05/0.1982, allocations: 180.2 kB / 0.7891 GB, free: 7.215 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001107/0.1984, allocations: 312 kB / 0.7894 GB, free: 6.887 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.376e-05/0.1984, allocations: 186.1 kB / 0.7896 GB, free: 6.68 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.873e-05/0.1985, allocations: 180.2 kB / 0.7898 GB, free: 6.496 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.586e-05/0.1986, allocations: 108.9 kB / 0.7899 GB, free: 6.383 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.942e-05/0.1986, allocations: 184.3 kB / 0.7901 GB, free: 6.195 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.087e-05/0.1987, allocations: 108.9 kB / 0.7902 GB, free: 6.082 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.886e-05/0.1987, allocations: 79.27 kB / 0.7902 GB, free: 6.004 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1987, allocations: 3.938 kB / 0.7902 GB, free: 6 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002076/0.1989, allocations: 0 / 0.7902 GB, free: 6 MB / 0.6075 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.0003334/0.1993, allocations: 0.8127 MB / 0.791 GB, free: 5.156 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 4.984e-05/0.1993, allocations: 4 kB / 0.791 GB, free: 5.152 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1993, allocations: 0 / 0.791 GB, free: 5.152 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 4.117e-06/0.1993, allocations: 3.938 kB / 0.791 GB, free: 5.148 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000316/0.1997, allocations: 463.7 kB / 0.7915 GB, free: 4.691 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002746/0.1999, allocations: 177.9 kB / 0.7916 GB, free: 4.477 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002028/0.2002, allocations: 0.6807 MB / 0.7923 GB, free: 3.77 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 9.839e-06/0.2002, allocations: 0 / 0.7923 GB, free: 3.77 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.668e-05/0.2002, allocations: 7.438 kB / 0.7923 GB, free: 3.762 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.2002, allocations: 0 / 0.7923 GB, free: 3.762 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01874/0.2189, allocations: 0.9272 MB / 0.7932 GB, free: 3.016 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.076/7.295, allocations: 16.36 kB / 0.7932 GB, free: 3 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells.fmu > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe 2>&1)