Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes,fileNamePrefix="Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_100boreholes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes,fileNamePrefix="Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_100boreholes",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.656/1.656, allocations: 289.9 MB / 297.4 MB, free: 6.34 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001176/0.001176, allocations: 180.8 kB / 366.7 MB, free: 1.629 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.64/1.64, allocations: 205.2 MB / 0.626 GB, free: 7.156 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008843/0.0008845, allocations: 94.02 kB / 0.74 GB, free: 39.52 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.599e-05/2.606e-05, allocations: 8 kB / 0.8598 GB, free: 12.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7003/0.7004, allocations: 116.3 MB / 0.9734 GB, free: 76.36 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2097/0.9101, allocations: 153.2 MB / 1.123 GB, free: 12.95 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000334/0.9105, allocations: 108.5 kB / 1.123 GB, free: 12.85 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.1071/1.018, allocations: 24.87 MB / 1.147 GB, free: 4.023 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.783e-06/1.018, allocations: 0 / 1.147 GB, free: 4.023 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 9.92e-05/1.018, allocations: 16 kB / 1.147 GB, free: 4.008 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.003596/1.021, allocations: 1.346 MB / 1.149 GB, free: 2.609 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.945e-05/1.022, allocations: 12.03 kB / 1.149 GB, free: 2.598 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006003/1.022, allocations: 163.8 kB / 1.149 GB, free: 2.438 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001301/1.023, allocations: 0.6454 MB / 1.15 GB, free: 1.723 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.792e-05/1.023, allocations: 4 kB / 1.15 GB, free: 1.719 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001179/1.024, allocations: 27.98 kB / 1.15 GB, free: 1.691 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004123/1.024, allocations: 419.8 kB / 1.15 GB, free: 1.281 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003724/1.024, allocations: 387.1 kB / 1.15 GB, free: 0.8906 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/1.024, allocations: 0 / 1.15 GB, free: 0.8906 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.562e-05/1.024, allocations: 0 / 1.15 GB, free: 0.8906 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/1.024, allocations: 0 / 1.15 GB, free: 0.8906 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001341/1.026, allocations: 0.9356 MB / 1.151 GB, free: 15.91 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000472/1.026, allocations: 0.5477 MB / 1.152 GB, free: 15.34 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002706/1.027, allocations: 333.7 kB / 1.152 GB, free: 15.01 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001046/1.028, allocations: 1.036 MB / 1.153 GB, free: 13.75 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003761/1.028, allocations: 399.8 kB / 1.153 GB, free: 13.34 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=8): time 2.304e-06/1.028, allocations: 0 / 1.153 GB, free: 13.34 MB / 0.7605 GB Notification: Performance of matching and sorting (n=8): time 0.001115/1.029, allocations: 1.019 MB / 1.154 GB, free: 12.32 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.097e-05/1.029, allocations: 85.14 kB / 1.155 GB, free: 12.21 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002059/1.031, allocations: 1.525 MB / 1.156 GB, free: 10.65 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 9.376e-05/1.031, allocations: 33.7 kB / 1.156 GB, free: 10.61 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004834/1.032, allocations: 478 kB / 1.157 GB, free: 10.14 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 4.695e-05/1.032, allocations: 27.3 kB / 1.157 GB, free: 10.11 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.541e-05/1.032, allocations: 0 / 1.157 GB, free: 10.11 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001947/1.032, allocations: 411 kB / 1.157 GB, free: 9.707 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001519/1.034, allocations: 1.444 MB / 1.158 GB, free: 8.258 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001568/1.035, allocations: 1.589 MB / 1.16 GB, free: 6.656 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00192/1.037, allocations: 1.845 MB / 1.162 GB, free: 4.797 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/1.037, allocations: 0 / 1.162 GB, free: 4.797 MB / 0.7605 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004723/1.042, allocations: 3.964 MB / 1.166 GB, free: 0.7969 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.396e-05/1.042, allocations: 4 kB / 1.166 GB, free: 0.793 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.504e-05/1.042, allocations: 20 kB / 1.166 GB, free: 0.7734 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.277e-05/1.042, allocations: 4 kB / 1.166 GB, free: 0.7695 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007004/1.043, allocations: 149.7 kB / 1.166 GB, free: 0.625 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.152e-05/1.043, allocations: 8.031 kB / 1.166 GB, free: 0.6172 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009477/1.044, allocations: 228.3 kB / 1.166 GB, free: 400 kB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001262/1.044, allocations: 91.98 kB / 1.166 GB, free: 308 kB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition1,$PRE.k,k,$PRE.t1,t1,$PRE.t2,t2,$PRE.gFun1,gFun1,$PRE.gFun2,gFun2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 89 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * 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 0.0001497/1.044, allocations: 120.8 kB / 1.166 GB, free: 180 kB / 0.7605 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009427/1.045, allocations: 1.007 MB / 1.167 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001296/1.045, allocations: 122 kB / 1.167 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001084/1.046, allocations: 1.001 MB / 1.168 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.611e-06/1.046, allocations: 0 / 1.168 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.461e-06/1.046, allocations: 0 / 1.168 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.174e-06/1.046, allocations: 7.984 kB / 1.168 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000984/1.047, allocations: 0.6479 MB / 1.169 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/1.047, allocations: 0 / 1.169 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.7e-05/1.047, allocations: 8 kB / 1.169 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.019e-06/1.047, allocations: 0 / 1.169 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.59e-05/1.047, allocations: 3.984 kB / 1.169 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.511e-06/1.047, allocations: 7.062 kB / 1.169 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.628e-06/1.048, allocations: 0 / 1.169 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009551/1.048, allocations: 1.065 MB / 1.17 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002834/1.049, allocations: 211 kB / 1.17 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001494/1.049, allocations: 4 kB / 1.17 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003902/1.049, allocations: 11.98 kB / 1.17 GB, free: 11.97 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.534e-05/1.049, allocations: 9.969 kB / 1.17 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.713e-05/1.049, allocations: 15.97 kB / 1.17 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.00137/1.051, allocations: 1.003 MB / 1.171 GB, free: 10.92 MB / 0.7761 GB Notification: Performance of sort global known variables: time 2.3e-07/1.051, allocations: 3.938 kB / 1.171 GB, free: 10.91 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.001859/1.053, allocations: 0.5072 MB / 1.172 GB, free: 10.41 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,k,t1,t2,gFun1,gFun2) * Number of discrete states: 2 (k,t2) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.003719/1.056, allocations: 2.138 MB / 1.174 GB, free: 8.227 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.002632/1.059, allocations: 2.482 MB / 1.176 GB, free: 5.734 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/1.059, allocations: 0 / 1.176 GB, free: 5.734 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0002766/1.059, allocations: 331.8 kB / 1.176 GB, free: 5.41 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004619/1.06, allocations: 63.5 kB / 1.177 GB, free: 5.348 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004609/1.064, allocations: 2.533 MB / 1.179 GB, free: 2.762 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008255/1.065, allocations: 1.183 MB / 1.18 GB, free: 1.555 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0004843/1.066, allocations: 134 kB / 1.18 GB, free: 1.422 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005575/1.066, allocations: 471.2 kB / 1.181 GB, free: 0.9648 MB / 0.7761 GB Notification: Performance of SimCode: time 7.22e-07/1.066, allocations: 4 kB / 1.181 GB, free: 0.9609 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05621/1.123, allocations: 22.91 MB / 1.203 GB, free: 10.14 MB / 0.8073 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002374/1.123, allocations: 217.2 kB / 1.203 GB, free: 9.863 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.133/4.256, allocations: 2.578 kB / 1.203 GB, free: 9.863 MB / 0.8073 GB (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_100boreholes_fmu --startTime=0 --stopTime=3.7e+11 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_100boreholes.fmu > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe 2>&1)