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.35/1.35, allocations: 252 MB / 267 MB, free: 10.98 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.001057/0.001057, allocations: 178.3 kB / 326.6 MB, free: 2.215 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.689/1.689, allocations: 205.4 MB / 0.5776 GB, free: 20.25 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.0007921/0.0007922, allocations: 95.97 kB / 0.6823 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003398/0.0003399, allocations: 12.53 kB / 0.7965 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2333/0.2337, 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_1borehole_5meters): time 0.001485/0.2352, allocations: 1.127 MB / 0.9014 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003771/0.239, allocations: 2.863 MB / 0.9042 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.229e-05/0.2391, allocations: 0 / 0.9042 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001268/0.2392, allocations: 11.92 kB / 0.9042 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002634/0.2395, allocations: 27.91 kB / 0.9043 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.002437/0.242, allocations: 0.7514 MB / 0.905 GB, free: 58.94 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001346/0.2421, allocations: 91.72 kB / 0.9051 GB, free: 58.85 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.554e-05/0.2422, allocations: 4 kB / 0.9051 GB, free: 58.85 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.841e-05/0.2422, allocations: 39.84 kB / 0.9051 GB, free: 58.81 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002016/0.2424, allocations: 167.7 kB / 0.9053 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.844e-05/0.2425, allocations: 12 kB / 0.9053 GB, free: 58.63 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001723/0.2442, allocations: 1.306 MB / 0.9066 GB, free: 57.32 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001364/0.2444, allocations: 259.3 kB / 0.9068 GB, free: 57.07 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 7.822e-05/0.2445, allocations: 109.2 kB / 0.9069 GB, free: 56.96 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000986/0.2455, allocations: 0.9785 MB / 0.9079 GB, free: 55.98 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.2455, allocations: 0 / 0.9079 GB, free: 55.98 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.013e-06/0.2455, allocations: 0 / 0.9079 GB, free: 55.98 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.122e-05/0.2455, allocations: 0 / 0.9079 GB, free: 55.98 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.008296/0.2538, allocations: 1.16 MB / 0.909 GB, free: 54.77 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.835e-05/0.2539, allocations: 8.031 kB / 0.909 GB, free: 54.76 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.331e-05/0.2539, allocations: 34.56 kB / 0.9091 GB, free: 54.71 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003446/0.2543, allocations: 94.69 kB / 0.9092 GB, free: 54.62 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003302/0.2546, allocations: 351.7 kB / 0.9095 GB, free: 54.23 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.129e-05/0.2546, allocations: 11.92 kB / 0.9095 GB, free: 54.21 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.821e-05/0.2547, allocations: 4 kB / 0.9095 GB, free: 54.21 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003554/0.255, allocations: 391.2 kB / 0.9099 GB, free: 53.82 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.834e-06/0.255, allocations: 0 / 0.9099 GB, free: 53.82 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.211e-05/0.2551, allocations: 0 / 0.9099 GB, free: 53.82 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.2551, allocations: 7.984 kB / 0.9099 GB, free: 53.81 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003277/0.2554, allocations: 439.7 kB / 0.9103 GB, free: 53.38 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004494/0.2559, allocations: 0.6402 MB / 0.9109 GB, free: 52.69 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003688/0.2562, allocations: 0.5633 MB / 0.9115 GB, free: 52.11 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002271/0.2565, allocations: 337.7 kB / 0.9118 GB, free: 51.77 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008474/0.2573, allocations: 1.032 MB / 0.9128 GB, free: 50.52 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003034/0.2577, allocations: 412.9 kB / 0.9132 GB, free: 50.09 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=8): time 1.513e-06/0.2577, allocations: 0 / 0.9132 GB, free: 50.09 MB / 0.6042 GB Notification: Performance of matching and sorting (n=8): time 0.001/0.2587, allocations: 1.285 MB / 0.9145 GB, free: 48.8 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.428e-05/0.2587, allocations: 85.23 kB / 0.9145 GB, free: 48.7 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009051/0.2596, allocations: 1.191 MB / 0.9157 GB, free: 47.49 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.327e-05/0.2597, allocations: 29.7 kB / 0.9157 GB, free: 47.46 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001193/0.2598, allocations: 253.4 kB / 0.916 GB, free: 47.2 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.378e-05/0.2598, allocations: 27.64 kB / 0.916 GB, free: 47.18 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.395e-05/0.2599, allocations: 8 kB / 0.916 GB, free: 47.17 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001089/0.26, allocations: 415.8 kB / 0.9164 GB, free: 46.75 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008343/0.2608, allocations: 1.369 MB / 0.9177 GB, free: 45.38 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008967/0.2617, allocations: 1.489 MB / 0.9192 GB, free: 43.88 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001116/0.2628, allocations: 1.895 MB / 0.921 GB, free: 41.97 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.2629, allocations: 0 / 0.921 GB, free: 41.97 MB / 0.6042 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.003078/0.2659, allocations: 3.942 MB / 0.9249 GB, free: 38 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.294e-05/0.266, allocations: 10.5 kB / 0.9249 GB, free: 37.99 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.175e-05/0.266, allocations: 0 / 0.9249 GB, free: 37.99 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.911e-05/0.2661, allocations: 4 kB / 0.9249 GB, free: 37.98 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001282/0.2662, allocations: 15.98 kB / 0.9249 GB, free: 37.97 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.2662, allocations: 0 / 0.9249 GB, free: 37.97 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004139/0.2666, allocations: 240.2 kB / 0.9252 GB, free: 37.73 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.426e-05/0.2667, allocations: 19.98 kB / 0.9252 GB, free: 37.71 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.0002421/0.2669, allocations: 253.5 kB / 0.9254 GB, free: 37.45 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.823e-05/0.267, allocations: 62.78 kB / 0.9255 GB, free: 37.39 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002533/0.2672, allocations: 74.89 kB / 0.9255 GB, free: 37.3 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.2673, allocations: 0 / 0.9255 GB, free: 37.3 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/0.2673, allocations: 4 kB / 0.9255 GB, free: 37.3 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.2673, allocations: 0 / 0.9255 GB, free: 37.3 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003343/0.2676, allocations: 496.7 kB / 0.926 GB, free: 36.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.2676, allocations: 4 kB / 0.926 GB, free: 36.77 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.567e-05/0.2677, allocations: 12.02 kB / 0.926 GB, free: 36.75 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.2677, allocations: 0 / 0.926 GB, free: 36.75 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.308e-05/0.2677, allocations: 4 kB / 0.926 GB, free: 36.75 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.2677, allocations: 320 / 0.926 GB, free: 36.75 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.2677, allocations: 0 / 0.926 GB, free: 36.75 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006433/0.2684, allocations: 1.013 MB / 0.927 GB, free: 35.71 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 7.269e-05/0.2685, allocations: 151.9 kB / 0.9272 GB, free: 35.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.606e-05/0.2685, allocations: 3.938 kB / 0.9272 GB, free: 35.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001331/0.2687, allocations: 7.984 kB / 0.9272 GB, free: 35.54 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.421e-05/0.2687, allocations: 4 kB / 0.9272 GB, free: 35.53 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.062e-05/0.2688, allocations: 15.97 kB / 0.9272 GB, free: 35.52 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0005669/0.2693, allocations: 0.657 MB / 0.9278 GB, free: 34.85 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2693, allocations: 4 kB / 0.9279 GB, free: 34.85 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001045/0.2704, allocations: 395.8 kB / 0.9282 GB, free: 34.46 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.001818/0.2722, allocations: 1.915 MB / 0.9301 GB, free: 32.52 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001567/0.2738, allocations: 2.498 MB / 0.9325 GB, free: 30.01 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.2738, allocations: 0 / 0.9325 GB, free: 30.01 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002604/0.2741, allocations: 343.8 kB / 0.9329 GB, free: 29.68 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002788/0.2744, allocations: 32.48 kB / 0.9329 GB, free: 29.64 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007607/0.282, allocations: 9.576 MB / 0.9422 GB, free: 19.96 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003232/0.2824, allocations: 0.964 MB / 0.9432 GB, free: 18.98 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001726/0.2825, allocations: 32.55 kB / 0.9432 GB, free: 18.94 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002426/0.2828, allocations: 263.3 kB / 0.9435 GB, free: 18.68 MB / 0.6042 GB Notification: Performance of SimCode: time 1.202e-06/0.2828, allocations: 4 kB / 0.9435 GB, free: 18.68 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02906/0.3119, allocations: 18.61 MB / 0.9617 GB, free: 288 kB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001883/0.3121, allocations: 287.8 kB / 0.9619 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.733/3.045, allocations: 3.938 kB / 0.9619 GB, free: 15.92 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)