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.001083/0.001083, allocations: 109.4 kB / 15.69 MB, free: 128 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.001164/0.001164, allocations: 188 kB / 16.62 MB, free: 6.582 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.306/1.306, allocations: 205.1 MB / 222.5 MB, free: 4.555 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.613/1.613, allocations: 292.3 MB / 0.549 GB, free: 12.74 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.00136/0.00136, allocations: 77.7 kB / 0.6718 GB, free: 26.17 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2003/0.2017, allocations: 114.6 MB / 0.7837 GB, free: 13.22 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells): time 0.00158/0.2033, allocations: 0.5523 MB / 0.7842 GB, free: 12.67 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0007056/0.204, allocations: 0.7728 MB / 0.785 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.371e-05/0.204, allocations: 0 / 0.785 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.017e-05/0.2041, allocations: 0 / 0.785 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.808e-06/0.2041, allocations: 0 / 0.785 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002129/0.2043, allocations: 19.92 kB / 0.785 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 3.727e-05/0.2043, allocations: 3.984 kB / 0.785 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.601e-05/0.2044, allocations: 4 kB / 0.785 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.262e-05/0.2044, allocations: 4 kB / 0.785 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001112/0.2045, allocations: 15.98 kB / 0.785 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.442e-06/0.2045, allocations: 0 / 0.785 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 2.705e-06/0.2045, allocations: 7.938 kB / 0.785 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.047e-05/0.2045, allocations: 0 / 0.785 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 1.31e-05/0.2045, allocations: 3.938 kB / 0.785 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 3.146e-05/0.2046, allocations: 7.984 kB / 0.785 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.2046, allocations: 0 / 0.785 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.535e-06/0.2046, allocations: 0 / 0.785 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.198e-06/0.2046, allocations: 3.938 kB / 0.785 GB, free: 11.81 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.0002149/0.2048, allocations: 311.6 kB / 0.7853 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.264e-05/0.2049, allocations: 8.031 kB / 0.7853 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.418e-05/0.2049, allocations: 30.75 kB / 0.7854 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.638e-05/0.2049, allocations: 4.938 kB / 0.7854 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.195e-05/0.205, allocations: 164.4 kB / 0.7855 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.224e-06/0.205, allocations: 4.375 kB / 0.7855 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.482e-06/0.205, allocations: 384 / 0.7855 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.481e-05/0.2051, allocations: 26.27 kB / 0.7856 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.573e-06/0.2051, allocations: 3.938 kB / 0.7856 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.301e-06/0.2051, allocations: 3.984 kB / 0.7856 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/0.2051, allocations: 0 / 0.7856 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.622e-05/0.2051, allocations: 8 kB / 0.7856 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002302/0.2054, allocations: 379.5 kB / 0.7859 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 6.679e-05/0.2054, allocations: 173.1 kB / 0.7861 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.491e-05/0.2055, allocations: 80.14 kB / 0.7862 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.466e-05/0.2055, allocations: 79.27 kB / 0.7863 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.262e-05/0.2055, allocations: 109.8 kB / 0.7864 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 2.805e-06/0.2055, allocations: 4 kB / 0.7864 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 5.387e-05/0.2056, allocations: 29.64 kB / 0.7864 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.009e-05/0.2057, allocations: 134.7 kB / 0.7865 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.93e-05/0.2057, allocations: 89.86 kB / 0.7866 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 8.105e-06/0.2057, allocations: 25.7 kB / 0.7866 GB, free: 9.965 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.935e-05/0.2058, allocations: 84.05 kB / 0.7867 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.276e-06/0.2058, allocations: 0 / 0.7867 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.313e-05/0.2058, allocations: 17.66 kB / 0.7867 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 7.93e-05/0.2059, allocations: 319 kB / 0.787 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.374e-06/0.2059, allocations: 3.984 kB / 0.787 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.546e-06/0.2059, allocations: 0 / 0.787 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.957e-05/0.2059, allocations: 8.859 kB / 0.787 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.2059, allocations: 3.938 kB / 0.787 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.043e-05/0.206, allocations: 33.64 kB / 0.7871 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.206, allocations: 8.938 kB / 0.7871 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.206, allocations: 0 / 0.7871 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.979e-06/0.2061, allocations: 4.094 kB / 0.7871 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.873e-05/0.2061, allocations: 0 / 0.7871 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.537e-06/0.2061, allocations: 3.938 kB / 0.7871 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.358e-06/0.2061, allocations: 288 / 0.7871 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.619e-06/0.2061, allocations: 4 kB / 0.7871 GB, free: 9.457 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 6.602e-05/0.2062, allocations: 189 kB / 0.7873 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.039e-05/0.2063, allocations: 108.9 kB / 0.7874 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.564e-05/0.2063, allocations: 111.9 kB / 0.7875 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.684e-05/0.2064, allocations: 180.3 kB / 0.7877 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.874e-05/0.2064, allocations: 180.2 kB / 0.7878 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.612e-05/0.2065, allocations: 180.2 kB / 0.788 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001735/0.2066, allocations: 409.1 kB / 0.7884 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.877e-05/0.2067, allocations: 102.1 kB / 0.7885 GB, free: 7.914 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.695e-05/0.2067, allocations: 109 kB / 0.7886 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.871e-05/0.2068, allocations: 184.2 kB / 0.7888 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.828e-05/0.2068, allocations: 176.3 kB / 0.7889 GB, free: 7.434 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.704e-05/0.2069, allocations: 184.2 kB / 0.7891 GB, free: 7.246 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.452e-05/0.2069, allocations: 184.2 kB / 0.7893 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001063/0.207, allocations: 311.9 kB / 0.7896 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.284e-05/0.2071, allocations: 178.1 kB / 0.7898 GB, free: 6.531 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.308e-05/0.2071, allocations: 184.2 kB / 0.7899 GB, free: 6.344 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.302e-05/0.2072, allocations: 109 kB / 0.79 GB, free: 6.23 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.86e-05/0.2073, allocations: 180.2 kB / 0.7902 GB, free: 6.047 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.686e-05/0.2073, allocations: 112.9 kB / 0.7903 GB, free: 5.93 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.476e-05/0.2073, allocations: 75.28 kB / 0.7904 GB, free: 5.855 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2073, allocations: 4 kB / 0.7904 GB, free: 5.852 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001929/0.2075, allocations: 0 / 0.7904 GB, free: 5.852 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.0003212/0.2079, allocations: 0.8204 MB / 0.7912 GB, free: 5 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 5.09e-05/0.2079, allocations: 7.938 kB / 0.7912 GB, free: 4.992 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.2079, allocations: 0 / 0.7912 GB, free: 4.992 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.342e-06/0.2079, allocations: 0 / 0.7912 GB, free: 4.992 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002978/0.2082, allocations: 458.5 kB / 0.7916 GB, free: 4.543 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002599/0.2085, allocations: 182 kB / 0.7918 GB, free: 4.324 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001892/0.2087, allocations: 0.6768 MB / 0.7925 GB, free: 3.621 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 1.055e-05/0.2087, allocations: 0 / 0.7925 GB, free: 3.621 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.746e-05/0.2087, allocations: 7.438 kB / 0.7925 GB, free: 3.613 MB / 0.6075 GB Notification: Performance of SimCode: time 2.11e-07/0.2087, allocations: 0 / 0.7925 GB, free: 3.613 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01378/0.2225, allocations: 0.9407 MB / 0.7934 GB, free: 2.867 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.187/7.41, allocations: 8.578 kB / 0.7934 GB, free: 2.859 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)