Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-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(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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.0009426/0.0009426, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.000948/0.000948, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.388/1.388, allocations: 223.2 MB / 239.9 MB, free: 5.469 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.072/1.072, allocations: 143.3 MB / 434.3 MB, free: 13.62 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003657/0.0003658, allocations: 8 kB / 0.5159 GB, free: 11.21 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2033/0.2037, allocations: 83.41 MB / 0.5974 GB, free: 7.742 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells): time 0.0006599/0.2044, allocations: 278.2 kB / 0.5977 GB, free: 7.473 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008588/0.2053, allocations: 0.7651 MB / 0.5984 GB, free: 6.695 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.999e-06/0.2053, allocations: 0 / 0.5984 GB, free: 6.695 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.513e-05/0.2053, allocations: 0 / 0.5984 GB, free: 6.695 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.2e-06/0.2053, allocations: 3.938 kB / 0.5984 GB, free: 6.691 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002246/0.2056, allocations: 11.98 kB / 0.5984 GB, free: 6.68 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 3.765e-05/0.2056, allocations: 4 kB / 0.5984 GB, free: 6.676 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.029e-05/0.2057, allocations: 0 / 0.5984 GB, free: 6.676 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.205e-05/0.2057, allocations: 7.922 kB / 0.5984 GB, free: 6.668 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001359/0.2059, allocations: 20 kB / 0.5985 GB, free: 6.648 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.185e-06/0.2059, allocations: 0 / 0.5985 GB, free: 6.648 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 3.026e-06/0.2059, allocations: 0 / 0.5985 GB, free: 6.648 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.965e-06/0.2059, allocations: 0 / 0.5985 GB, free: 6.648 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.227e-05/0.2059, allocations: 25.7 kB / 0.5985 GB, free: 6.617 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 2.341e-05/0.206, allocations: 0 / 0.5985 GB, free: 6.617 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.935e-06/0.206, allocations: 0 / 0.5985 GB, free: 6.617 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.603e-06/0.206, allocations: 0 / 0.5985 GB, free: 6.617 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.813e-06/0.206, allocations: 4 kB / 0.5985 GB, free: 6.613 MB / 0.4981 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.000232/0.2062, allocations: 311.4 kB / 0.5988 GB, free: 6.262 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.2063, allocations: 8.031 kB / 0.5988 GB, free: 6.254 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.92e-05/0.2063, allocations: 30.56 kB / 0.5988 GB, free: 6.215 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.186e-05/0.2063, allocations: 7.953 kB / 0.5988 GB, free: 6.207 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.568e-05/0.2064, allocations: 159.1 kB / 0.599 GB, free: 6.012 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.808e-06/0.2064, allocations: 4 kB / 0.599 GB, free: 6.008 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.514e-06/0.2065, allocations: 0 / 0.599 GB, free: 6.008 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.806e-05/0.2065, allocations: 33.64 kB / 0.599 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.792e-06/0.2066, allocations: 0 / 0.599 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.135e-06/0.2066, allocations: 0 / 0.599 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.2066, allocations: 0 / 0.599 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.557e-05/0.2066, allocations: 11.94 kB / 0.599 GB, free: 5.957 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003082/0.2069, allocations: 371.5 kB / 0.5994 GB, free: 5.543 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.949e-05/0.207, allocations: 173.2 kB / 0.5996 GB, free: 5.363 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.943e-05/0.2071, allocations: 79.22 kB / 0.5996 GB, free: 5.285 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.794e-05/0.2071, allocations: 109.8 kB / 0.5997 GB, free: 5.168 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 7.72e-07/0.2071, allocations: 0 / 0.5997 GB, free: 5.168 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 7.034e-05/0.2072, allocations: 33.64 kB / 0.5998 GB, free: 5.129 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.463e-05/0.2073, allocations: 130.7 kB / 0.5999 GB, free: 4.988 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.446e-05/0.2073, allocations: 97.86 kB / 0.6 GB, free: 4.883 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.717e-06/0.2074, allocations: 29.64 kB / 0.6 GB, free: 4.848 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.27e-05/0.2074, allocations: 84.05 kB / 0.6001 GB, free: 4.762 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.033e-06/0.2074, allocations: 0 / 0.6001 GB, free: 4.762 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.054e-06/0.2074, allocations: 0 / 0.6001 GB, free: 4.762 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001067/0.2075, allocations: 310.8 kB / 0.6004 GB, free: 4.449 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.222e-06/0.2075, allocations: 0 / 0.6004 GB, free: 4.449 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.691e-06/0.2075, allocations: 7.938 kB / 0.6004 GB, free: 4.441 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.383e-05/0.2076, allocations: 192 / 0.6004 GB, free: 4.441 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.2076, allocations: 4 kB / 0.6004 GB, free: 4.438 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.296e-05/0.2077, allocations: 41.69 kB / 0.6004 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.2077, allocations: 8 kB / 0.6004 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.2077, allocations: 0 / 0.6004 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.2077, allocations: 0 / 0.6004 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.344e-05/0.2078, allocations: 0 / 0.6004 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.2078, allocations: 3.953 kB / 0.6004 GB, free: 4.379 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.273e-05/0.2078, allocations: 7.984 kB / 0.6005 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.34e-06/0.2078, allocations: 0 / 0.6005 GB, free: 4.371 MB / 0.4981 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 9.934e-05/0.2079, allocations: 185.2 kB / 0.6006 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.271e-05/0.208, allocations: 104.9 kB / 0.6007 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.958e-05/0.208, allocations: 112.1 kB / 0.6008 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.143e-05/0.2081, allocations: 184.2 kB / 0.601 GB, free: 3.773 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.548e-05/0.2082, allocations: 180.2 kB / 0.6012 GB, free: 3.59 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.385e-05/0.2083, allocations: 184.2 kB / 0.6014 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002136/0.2085, allocations: 405.2 kB / 0.6017 GB, free: 2.949 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.482e-05/0.2085, allocations: 101 kB / 0.6018 GB, free: 2.844 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.26e-05/0.2086, allocations: 105 kB / 0.6019 GB, free: 2.734 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001195/0.2087, allocations: 180.2 kB / 0.6021 GB, free: 2.551 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.341e-05/0.2088, allocations: 184.2 kB / 0.6023 GB, free: 2.363 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.397e-05/0.2089, allocations: 188.2 kB / 0.6025 GB, free: 2.172 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.557e-05/0.209, allocations: 176.3 kB / 0.6026 GB, free: 1.992 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001547/0.2091, allocations: 307.7 kB / 0.6029 GB, free: 1.668 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.387e-05/0.2092, allocations: 186 kB / 0.6031 GB, free: 1.461 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.851e-05/0.2093, allocations: 188.2 kB / 0.6033 GB, free: 1.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.545e-05/0.2094, allocations: 101 kB / 0.6034 GB, free: 1.164 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.396e-05/0.2095, allocations: 180.2 kB / 0.6036 GB, free: 0.9805 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.182e-05/0.2095, allocations: 105 kB / 0.6037 GB, free: 0.8711 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.506e-05/0.2096, allocations: 83.27 kB / 0.6037 GB, free: 0.7891 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2096, allocations: 0 / 0.6037 GB, free: 0.7891 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002341/0.2098, allocations: 0 / 0.6037 GB, free: 0.7891 MB / 0.4981 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.3082/0.518, allocations: 0.8127 MB / 0.6045 GB, free: 41.2 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000111/0.5182, allocations: 1.406 kB / 0.6045 GB, free: 41.2 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.556e-06/0.5182, allocations: 0 / 0.6045 GB, free: 41.2 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.625e-06/0.5182, allocations: 0.6562 kB / 0.6045 GB, free: 41.2 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000227/0.5185, allocations: 0.5205 MB / 0.605 GB, free: 40.68 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003606/0.5188, allocations: 175.5 kB / 0.6052 GB, free: 40.48 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001092/0.5189, allocations: 0.6739 MB / 0.6059 GB, free: 39.79 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.448e-05/0.519, allocations: 0.5938 kB / 0.6059 GB, free: 39.79 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.078e-05/0.519, allocations: 12.47 kB / 0.6059 GB, free: 39.78 MB / 0.4981 GB Notification: Performance of SimCode: time 5.41e-07/0.519, allocations: 1.344 kB / 0.6059 GB, free: 39.78 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009033/0.528, allocations: 0.7597 MB / 0.6066 GB, free: 39.73 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001496/0.5282, allocations: 259.9 kB / 0.6069 GB, free: 39.38 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.595/2.123, allocations: 0 / 0.6069 GB, free: 39.38 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe 2>&1) Environment - environmentSimulation: