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.403/1.403, allocations: 251.9 MB / 266.9 MB, free: 11 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.001133/0.001133, allocations: 179 kB / 326.5 MB, free: 2.234 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.952/1.952, allocations: 205.4 MB / 0.5775 GB, free: 20.3 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.0009249/0.0009249, allocations: 98.28 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000326/0.0003261, allocations: 9.5 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2209/0.2213, allocations: 106.3 MB / 0.9002 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.001214/0.2225, allocations: 1.111 MB / 0.9013 GB, free: 62.68 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003143/0.2257, allocations: 2.825 MB / 0.904 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.317e-05/0.2257, allocations: 0 / 0.904 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 8.014e-05/0.2258, allocations: 11.94 kB / 0.9041 GB, free: 59.83 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001229/0.2259, allocations: 23.89 kB / 0.9041 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001649/0.2276, allocations: 0.7186 MB / 0.9048 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.326e-05/0.2277, allocations: 51.88 kB / 0.9048 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 3.906e-05/0.2277, allocations: 11.97 kB / 0.9048 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.477e-05/0.2278, allocations: 31.92 kB / 0.9049 GB, free: 58.99 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001557/0.2279, allocations: 147.7 kB / 0.905 GB, free: 58.85 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.956e-05/0.228, allocations: 12 kB / 0.905 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001298/0.2293, allocations: 1.26 MB / 0.9062 GB, free: 57.57 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001116/0.2294, allocations: 239.3 kB / 0.9065 GB, free: 57.34 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 6.14e-05/0.2295, allocations: 117.2 kB / 0.9066 GB, free: 57.22 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0008595/0.2303, allocations: 0.9746 MB / 0.9075 GB, free: 56.24 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.354e-06/0.2303, allocations: 0 / 0.9075 GB, free: 56.24 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.573e-06/0.2303, allocations: 0 / 0.9075 GB, free: 56.24 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.971e-06/0.2304, allocations: 0 / 0.9075 GB, free: 56.24 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.009457/0.2398, allocations: 1.164 MB / 0.9087 GB, free: 55.03 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/0.2399, allocations: 16.03 kB / 0.9087 GB, free: 55.01 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.224e-05/0.2399, allocations: 30.56 kB / 0.9087 GB, free: 54.97 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003014/0.2402, allocations: 86.7 kB / 0.9088 GB, free: 54.89 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003119/0.2405, allocations: 351.7 kB / 0.9091 GB, free: 54.49 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.225e-05/0.2406, allocations: 7.984 kB / 0.9091 GB, free: 54.48 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.822e-05/0.2406, allocations: 8 kB / 0.9092 GB, free: 54.48 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003465/0.241, allocations: 395.1 kB / 0.9095 GB, free: 54.08 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.773e-06/0.241, allocations: 0 / 0.9095 GB, free: 54.08 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.22e-05/0.241, allocations: 0 / 0.9095 GB, free: 54.08 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.294e-06/0.241, allocations: 0 / 0.9095 GB, free: 54.08 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003211/0.2413, allocations: 435.7 kB / 0.9099 GB, free: 53.65 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004056/0.2417, allocations: 0.6441 MB / 0.9106 GB, free: 52.96 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003698/0.2421, allocations: 0.5594 MB / 0.9111 GB, free: 52.38 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007686/0.2429, allocations: 1.036 MB / 0.9121 GB, free: 51.12 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003073/0.2432, allocations: 412.8 kB / 0.9125 GB, free: 50.7 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=8): time 1.513e-06/0.2432, allocations: 3.938 kB / 0.9125 GB, free: 50.7 MB / 0.6042 GB Notification: Performance of matching and sorting (n=8): time 0.0009935/0.2442, allocations: 1.285 MB / 0.9138 GB, free: 49.4 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.651e-05/0.2443, allocations: 89.03 kB / 0.9139 GB, free: 49.3 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008795/0.2452, allocations: 1.187 MB / 0.915 GB, free: 48.09 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.544e-05/0.2452, allocations: 29.7 kB / 0.9151 GB, free: 48.06 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.00013/0.2453, allocations: 261.4 kB / 0.9153 GB, free: 47.8 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.94e-05/0.2454, allocations: 19.66 kB / 0.9153 GB, free: 47.78 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.265e-05/0.2454, allocations: 8 kB / 0.9153 GB, free: 47.77 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.000101/0.2455, allocations: 415.8 kB / 0.9157 GB, free: 47.36 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008555/0.2464, allocations: 1.369 MB / 0.9171 GB, free: 45.98 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009297/0.2473, allocations: 1.486 MB / 0.9185 GB, free: 44.49 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001344/0.2487, allocations: 1.895 MB / 0.9204 GB, free: 42.58 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.2487, allocations: 0 / 0.9204 GB, free: 42.58 MB / 0.6042 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.003504/0.2522, allocations: 3.945 MB / 0.9242 GB, free: 38.6 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.147e-05/0.2522, allocations: 4 kB / 0.9242 GB, free: 38.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.77e-05/0.2523, allocations: 320 / 0.9242 GB, free: 38.59 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.989e-05/0.2523, allocations: 4 kB / 0.9242 GB, free: 38.59 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001269/0.2524, allocations: 15.98 kB / 0.9242 GB, free: 38.57 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.2524, allocations: 0 / 0.9242 GB, free: 38.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000435/0.2529, allocations: 240.2 kB / 0.9245 GB, free: 38.34 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.425e-05/0.253, allocations: 23.97 kB / 0.9245 GB, free: 38.31 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.0002328/0.2532, allocations: 251.5 kB / 0.9247 GB, free: 38.06 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.134e-05/0.2532, allocations: 62.78 kB / 0.9248 GB, free: 38 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002517/0.2535, allocations: 78.88 kB / 0.9249 GB, free: 37.91 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.2535, allocations: 3.938 kB / 0.9249 GB, free: 37.9 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.2535, allocations: 0 / 0.9249 GB, free: 37.9 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.2535, allocations: 0 / 0.9249 GB, free: 37.9 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003372/0.2539, allocations: 0.489 MB / 0.9254 GB, free: 37.37 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.2539, allocations: 8.031 kB / 0.9254 GB, free: 37.36 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.297e-05/0.254, allocations: 7.938 kB / 0.9254 GB, free: 37.35 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.287e-06/0.254, allocations: 0 / 0.9254 GB, free: 37.35 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.424e-05/0.254, allocations: 7.984 kB / 0.9254 GB, free: 37.34 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.254, allocations: 0 / 0.9254 GB, free: 37.34 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.254, allocations: 0 / 0.9254 GB, free: 37.34 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006783/0.2547, allocations: 1.012 MB / 0.9264 GB, free: 36.3 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 7.587e-05/0.2548, allocations: 151.9 kB / 0.9265 GB, free: 36.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.912e-05/0.2548, allocations: 0 / 0.9265 GB, free: 36.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001293/0.255, allocations: 4 kB / 0.9265 GB, free: 36.13 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.02e-05/0.255, allocations: 7.984 kB / 0.9265 GB, free: 36.12 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.201e-05/0.2551, allocations: 19.92 kB / 0.9265 GB, free: 36.11 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.000523/0.2556, allocations: 0.6609 MB / 0.9272 GB, free: 35.44 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2556, allocations: 3.938 kB / 0.9272 GB, free: 35.43 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0009923/0.2566, allocations: 395.8 kB / 0.9276 GB, free: 35.05 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.001942/0.2586, allocations: 1.997 MB / 0.9295 GB, free: 33.02 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001625/0.2602, allocations: 2.497 MB / 0.932 GB, free: 30.51 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.2602, allocations: 0 / 0.932 GB, free: 30.51 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002414/0.2605, allocations: 343.7 kB / 0.9323 GB, free: 30.18 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002038/0.2607, allocations: 32.5 kB / 0.9323 GB, free: 30.14 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002365/0.2631, allocations: 2.58 MB / 0.9348 GB, free: 27.5 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003333/0.2634, allocations: 0.9835 MB / 0.9358 GB, free: 26.49 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001632/0.2636, allocations: 32.56 kB / 0.9358 GB, free: 26.46 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002541/0.2638, allocations: 267.3 kB / 0.9361 GB, free: 26.2 MB / 0.6042 GB Notification: Performance of SimCode: time 7.11e-07/0.2638, allocations: 0 / 0.9361 GB, free: 26.2 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02966/0.2935, allocations: 16.45 MB / 0.9521 GB, free: 9.953 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001882/0.2938, allocations: 275.1 kB / 0.9524 GB, free: 9.602 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.67/2.964, allocations: 2.406 kB / 0.9524 GB, free: 9.602 MB / 0.6042 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)