Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes,fileNamePrefix="Buildings_maint_7_0_x_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_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.336/1.336, allocations: 252 MB / 267 MB, free: 10.95 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001017/0.001018, allocations: 177.5 kB / 326.6 MB, free: 2.207 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.589/1.589, allocations: 205.4 MB / 0.5777 GB, free: 20.24 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007697/0.0007698, allocations: 97.86 kB / 0.6823 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003246/0.0003247, allocations: 15.34 kB / 0.7965 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2155/0.2158, allocations: 106.3 MB / 0.9003 GB, free: 63.75 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes): time 0.001288/0.2171, allocations: 1.127 MB / 0.9014 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003667/0.2208, allocations: 2.855 MB / 0.9042 GB, free: 59.74 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.962e-05/0.2209, allocations: 4 kB / 0.9042 GB, free: 59.74 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001185/0.221, allocations: 7.922 kB / 0.9042 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002412/0.2213, allocations: 27.91 kB / 0.9043 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001936/0.2232, allocations: 0.7513 MB / 0.905 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001087/0.2233, allocations: 87.72 kB / 0.9051 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.368e-05/0.2234, allocations: 4 kB / 0.9051 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.522e-05/0.2235, allocations: 43.84 kB / 0.9051 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002399/0.2237, allocations: 239.7 kB / 0.9054 GB, free: 58.58 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.71e-05/0.2237, allocations: 12 kB / 0.9054 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001486/0.2252, allocations: 1.306 MB / 0.9067 GB, free: 57.26 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0004305/0.2257, allocations: 0.7054 MB / 0.9073 GB, free: 56.55 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001048/0.2258, allocations: 180.9 kB / 0.9075 GB, free: 56.37 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0009746/0.2268, allocations: 1.181 MB / 0.9087 GB, free: 55.19 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.2268, allocations: 4 kB / 0.9087 GB, free: 55.18 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.024e-06/0.2268, allocations: 0 / 0.9087 GB, free: 55.18 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 9.077e-06/0.2268, allocations: 0 / 0.9087 GB, free: 55.18 MB / 0.6042 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.008476/0.2353, allocations: 1.605 MB / 0.9102 GB, free: 53.52 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.488e-05/0.2354, allocations: 12.03 kB / 0.9102 GB, free: 53.51 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.66e-05/0.2354, allocations: 30.56 kB / 0.9103 GB, free: 53.47 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003486/0.2358, allocations: 142 kB / 0.9104 GB, free: 53.33 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004155/0.2362, allocations: 0.4894 MB / 0.9109 GB, free: 52.77 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.124e-05/0.2362, allocations: 7.922 kB / 0.9109 GB, free: 52.76 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.666e-05/0.2362, allocations: 8 kB / 0.9109 GB, free: 52.75 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003321/0.2366, allocations: 399.1 kB / 0.9113 GB, free: 52.35 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.2366, allocations: 7.938 kB / 0.9113 GB, free: 52.34 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.245e-05/0.2366, allocations: 0 / 0.9113 GB, free: 52.34 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/0.2366, allocations: 3.984 kB / 0.9113 GB, free: 52.34 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003128/0.237, allocations: 431.8 kB / 0.9117 GB, free: 51.92 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005546/0.2375, allocations: 0.8112 MB / 0.9125 GB, free: 51.04 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003705/0.2379, allocations: 0.5673 MB / 0.9131 GB, free: 50.46 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002248/0.2381, allocations: 333.6 kB / 0.9134 GB, free: 50.12 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008096/0.2389, allocations: 1.036 MB / 0.9144 GB, free: 48.87 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003155/0.2393, allocations: 408.8 kB / 0.9148 GB, free: 48.45 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=8): time 1.403e-06/0.2393, allocations: 4 kB / 0.9148 GB, free: 48.45 MB / 0.6042 GB Notification: Performance of matching and sorting (n=8): time 0.0009992/0.2403, allocations: 1.335 MB / 0.9161 GB, free: 47.1 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.615e-05/0.2403, allocations: 89.08 kB / 0.9162 GB, free: 47 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001343/0.2417, allocations: 1.839 MB / 0.918 GB, free: 45.11 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.624e-05/0.2417, allocations: 29.7 kB / 0.918 GB, free: 45.07 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002388/0.242, allocations: 481.4 kB / 0.9185 GB, free: 44.6 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.844e-05/0.242, allocations: 15.81 kB / 0.9185 GB, free: 44.58 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.304e-05/0.242, allocations: 4 kB / 0.9185 GB, free: 44.58 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001036/0.2422, allocations: 410.9 kB / 0.9189 GB, free: 44.17 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009318/0.2431, allocations: 1.506 MB / 0.9203 GB, free: 42.66 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001016/0.2441, allocations: 1.649 MB / 0.9219 GB, free: 41 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001178/0.2453, allocations: 2.047 MB / 0.9239 GB, free: 38.94 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.2453, allocations: 0 / 0.9239 GB, free: 38.94 MB / 0.6042 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.003468/0.2488, allocations: 4.296 MB / 0.9281 GB, free: 34.61 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.41e-05/0.2488, allocations: 4 kB / 0.9281 GB, free: 34.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.993e-05/0.2489, allocations: 8 kB / 0.9282 GB, free: 34.6 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.832e-05/0.2489, allocations: 0 / 0.9282 GB, free: 34.6 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001337/0.249, allocations: 15.98 kB / 0.9282 GB, free: 34.58 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/0.249, allocations: 4.031 kB / 0.9282 GB, free: 34.58 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005585/0.2496, allocations: 228.3 kB / 0.9284 GB, free: 34.35 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.439e-05/0.2497, allocations: 23.98 kB / 0.9284 GB, free: 34.33 MB / 0.6042 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 13 * Array equations: 2 * 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.0004288/0.2501, allocations: 373.4 kB / 0.9288 GB, free: 33.95 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.338e-05/0.2502, allocations: 122 kB / 0.9289 GB, free: 33.83 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003141/0.2505, allocations: 153.1 kB / 0.929 GB, free: 33.67 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.2505, allocations: 0 / 0.929 GB, free: 33.67 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.2505, allocations: 0 / 0.929 GB, free: 33.67 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.2505, allocations: 0 / 0.929 GB, free: 33.67 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004543/0.251, allocations: 0.6871 MB / 0.9297 GB, free: 32.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.251, allocations: 0 / 0.9297 GB, free: 32.93 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.657e-05/0.2511, allocations: 11.98 kB / 0.9297 GB, free: 32.91 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.2511, allocations: 0 / 0.9297 GB, free: 32.91 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.317e-05/0.2511, allocations: 0 / 0.9297 GB, free: 32.91 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.502e-06/0.2511, allocations: 7.938 kB / 0.9297 GB, free: 32.91 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.2511, allocations: 4.031 kB / 0.9297 GB, free: 32.9 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006879/0.2518, allocations: 1.047 MB / 0.9307 GB, free: 31.83 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000116/0.2519, allocations: 199.1 kB / 0.9309 GB, free: 31.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.148e-05/0.252, allocations: 0 / 0.9309 GB, free: 31.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001899/0.2522, allocations: 11.98 kB / 0.9309 GB, free: 31.6 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.915e-05/0.2523, allocations: 7.938 kB / 0.931 GB, free: 31.59 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.382e-05/0.2523, allocations: 15.97 kB / 0.931 GB, free: 31.58 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0009622/0.2533, allocations: 1.097 MB / 0.932 GB, free: 30.46 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2533, allocations: 0 / 0.932 GB, free: 30.46 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001084/0.2544, allocations: 431.8 kB / 0.9325 GB, free: 30.04 MB / 0.6042 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) * Number of clocked states: 0 () * 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.001949/0.2563, allocations: 1.978 MB / 0.9344 GB, free: 28.02 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001697/0.2581, allocations: 2.65 MB / 0.937 GB, free: 25.37 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.2581, allocations: 0 / 0.937 GB, free: 25.37 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002474/0.2583, allocations: 343.7 kB / 0.9373 GB, free: 25.03 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000357/0.2587, allocations: 47.17 kB / 0.9373 GB, free: 24.98 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05267/0.3114, allocations: 30.56 MB / 0.9672 GB, free: 10.26 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007748/0.3122, allocations: 1.153 MB / 0.9683 GB, free: 9.078 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002425/0.3125, allocations: 28.56 kB / 0.9683 GB, free: 9.051 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004532/0.3129, allocations: 433.7 kB / 0.9688 GB, free: 8.633 MB / 0.6198 GB Notification: Performance of SimCode: time 9.82e-07/0.3129, allocations: 0 / 0.9688 GB, free: 8.633 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08531/0.3982, allocations: 58.72 MB / 1.026 GB, free: 14.07 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002392/0.3985, allocations: 285.4 kB / 1.026 GB, free: 13.71 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.922/3.321, allocations: 4 kB / 1.026 GB, free: 13.71 MB / 0.6823 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_100boreholes_fmu --startTime=0 --stopTime=3.7e+11 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_100boreholes.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe 2>&1)