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_1borehole_5meters.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_1borehole_5meters,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters",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.405/1.405, allocations: 252 MB / 267.3 MB, free: 10.82 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.0009906/0.000991, allocations: 168.3 kB / 327 MB, free: 2.102 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.756/1.756, allocations: 205.4 MB / 0.578 GB, free: 20.12 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.0007422/0.000742, allocations: 88.25 kB / 0.6826 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003615/0.0003615, allocations: 11.84 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2292/0.2295, allocations: 106.3 MB / 0.901 GB, free: 63.34 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.001396/0.231, allocations: 1.146 MB / 0.9021 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003942/0.235, allocations: 3.192 MB / 0.9052 GB, free: 58.97 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.469e-05/0.235, allocations: 0 / 0.9052 GB, free: 58.97 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001188/0.2351, allocations: 7.922 kB / 0.9052 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002195/0.2354, allocations: 35.78 kB / 0.9052 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001789/0.2372, allocations: 0.7715 MB / 0.906 GB, free: 58.16 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001081/0.2373, allocations: 103.7 kB / 0.9061 GB, free: 58.05 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.652e-05/0.2374, allocations: 7.984 kB / 0.9061 GB, free: 58.05 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.449e-05/0.2374, allocations: 39.84 kB / 0.9061 GB, free: 58.01 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002038/0.2376, allocations: 153 kB / 0.9063 GB, free: 57.86 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.667e-05/0.2377, allocations: 16 kB / 0.9063 GB, free: 57.84 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001582/0.2393, allocations: 1.396 MB / 0.9077 GB, free: 56.45 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.000168/0.2394, allocations: 267.8 kB / 0.9079 GB, free: 56.18 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001689/0.2396, allocations: 300 kB / 0.9082 GB, free: 55.88 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.001284/0.2409, allocations: 1.469 MB / 0.9096 GB, free: 54.41 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.2409, allocations: 4 kB / 0.9096 GB, free: 54.4 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.414e-06/0.2409, allocations: 0 / 0.9096 GB, free: 54.4 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.362e-06/0.241, allocations: 0 / 0.9096 GB, free: 54.4 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.008771/0.2497, allocations: 1.15 MB / 0.9108 GB, free: 53.2 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.798e-05/0.2498, allocations: 11.97 kB / 0.9108 GB, free: 53.19 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.427e-05/0.2498, allocations: 34.75 kB / 0.9108 GB, free: 53.15 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003215/0.2502, allocations: 95.67 kB / 0.9109 GB, free: 53.05 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003047/0.2505, allocations: 356.9 kB / 0.9112 GB, free: 52.66 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.298e-05/0.2505, allocations: 4.375 kB / 0.9112 GB, free: 52.65 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.335e-05/0.2505, allocations: 8.375 kB / 0.9112 GB, free: 52.64 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003361/0.2509, allocations: 391.2 kB / 0.9116 GB, free: 52.25 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.908e-06/0.2509, allocations: 4 kB / 0.9116 GB, free: 52.25 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.354e-05/0.2509, allocations: 0 / 0.9116 GB, free: 52.25 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.2509, allocations: 0 / 0.9116 GB, free: 52.25 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003142/0.2512, allocations: 443.7 kB / 0.912 GB, free: 51.81 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000452/0.2517, allocations: 0.6325 MB / 0.9127 GB, free: 51.13 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003552/0.2521, allocations: 0.5672 MB / 0.9132 GB, free: 50.54 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002184/0.2523, allocations: 337.7 kB / 0.9135 GB, free: 50.21 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007733/0.2531, allocations: 1.032 MB / 0.9145 GB, free: 48.95 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002921/0.2534, allocations: 412.8 kB / 0.9149 GB, free: 48.53 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=8): time 1.213e-06/0.2534, allocations: 0 / 0.9149 GB, free: 48.53 MB / 0.6042 GB Notification: Performance of matching and sorting (n=8): time 0.0009485/0.2544, allocations: 1.281 MB / 0.9162 GB, free: 47.24 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.498e-05/0.2544, allocations: 93.03 kB / 0.9163 GB, free: 47.13 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007974/0.2552, allocations: 1.202 MB / 0.9175 GB, free: 45.91 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.129e-05/0.2552, allocations: 29.7 kB / 0.9175 GB, free: 45.88 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001229/0.2554, allocations: 257.4 kB / 0.9177 GB, free: 45.62 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.96e-05/0.2554, allocations: 23.73 kB / 0.9177 GB, free: 45.6 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.486e-05/0.2555, allocations: 3.984 kB / 0.9178 GB, free: 45.59 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.679e-05/0.2556, allocations: 419.8 kB / 0.9182 GB, free: 45.18 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008473/0.2564, allocations: 1.357 MB / 0.9195 GB, free: 43.82 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009104/0.2573, allocations: 1.497 MB / 0.9209 GB, free: 42.31 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006986/0.2643, allocations: 3.518 MB / 0.9244 GB, free: 38.7 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.826e-06/0.2644, allocations: 4 kB / 0.9244 GB, free: 38.7 MB / 0.6042 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.003199/0.2676, allocations: 3.969 MB / 0.9283 GB, free: 34.69 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.244e-05/0.2676, allocations: 4 kB / 0.9283 GB, free: 34.69 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.816e-05/0.2676, allocations: 4 kB / 0.9283 GB, free: 34.68 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.568e-05/0.2677, allocations: 0 / 0.9283 GB, free: 34.68 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001358/0.2678, allocations: 19.92 kB / 0.9283 GB, free: 34.66 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-06/0.2678, allocations: 4.062 kB / 0.9283 GB, free: 34.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004618/0.2683, allocations: 236.3 kB / 0.9285 GB, free: 34.43 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.817e-05/0.2684, allocations: 23.98 kB / 0.9285 GB, free: 34.4 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002469/0.2686, allocations: 241.6 kB / 0.9288 GB, free: 34.16 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.375e-05/0.2687, allocations: 66.72 kB / 0.9288 GB, free: 34.09 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002678/0.2689, allocations: 82.77 kB / 0.9289 GB, free: 34 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.269, allocations: 0 / 0.9289 GB, free: 34 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.269, allocations: 4 kB / 0.9289 GB, free: 34 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.269, allocations: 0 / 0.9289 GB, free: 34 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003127/0.2693, allocations: 496.7 kB / 0.9294 GB, free: 33.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.2693, allocations: 7.969 kB / 0.9294 GB, free: 33.46 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.658e-05/0.2694, allocations: 7.984 kB / 0.9294 GB, free: 33.45 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.2694, allocations: 4 kB / 0.9294 GB, free: 33.45 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.216e-05/0.2694, allocations: 0 / 0.9294 GB, free: 33.45 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.2694, allocations: 0 / 0.9294 GB, free: 33.45 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.2694, allocations: 4 kB / 0.9294 GB, free: 33.44 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006431/0.2701, allocations: 1.005 MB / 0.9304 GB, free: 32.41 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.749e-05/0.2701, allocations: 151.8 kB / 0.9305 GB, free: 32.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.694e-05/0.2702, allocations: 4 kB / 0.9305 GB, free: 32.24 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001333/0.2703, allocations: 7.984 kB / 0.9305 GB, free: 32.23 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.51e-05/0.2704, allocations: 4 kB / 0.9306 GB, free: 32.23 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.073e-05/0.2704, allocations: 11.97 kB / 0.9306 GB, free: 32.22 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0005188/0.271, allocations: 0.6726 MB / 0.9312 GB, free: 31.54 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.271, allocations: 0 / 0.9312 GB, free: 31.54 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001007/0.272, allocations: 399.8 kB / 0.9316 GB, free: 31.15 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 (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.001903/0.2739, allocations: 1.923 MB / 0.9335 GB, free: 29.19 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001609/0.2755, allocations: 2.501 MB / 0.9359 GB, free: 26.68 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.2755, allocations: 0 / 0.9359 GB, free: 26.68 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002367/0.2758, allocations: 343.9 kB / 0.9362 GB, free: 26.35 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003426/0.2761, allocations: 32.48 kB / 0.9363 GB, free: 26.32 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01192/0.2881, allocations: 15.07 MB / 0.951 GB, free: 11.07 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003906/0.2885, allocations: 0.964 MB / 0.9519 GB, free: 10.09 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001857/0.2887, allocations: 36.55 kB / 0.952 GB, free: 10.05 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002916/0.289, allocations: 259.3 kB / 0.9522 GB, free: 9.793 MB / 0.6042 GB Notification: Performance of SimCode: time 2.014e-06/0.289, allocations: 0 / 0.9522 GB, free: 9.793 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03385/0.3229, allocations: 18.91 MB / 0.9707 GB, free: 7.09 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002335/0.3231, allocations: 299.6 kB / 0.971 GB, free: 6.715 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.71/3.033, allocations: 0 / 0.971 GB, free: 6.715 MB / 0.6198 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.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_1borehole_5meters_fmu --startTime=0 --stopTime=4.12e+08 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1)