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_1borehole_5meters.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,fileNamePrefix="Buildings_8_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_8_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00078/0.0007796, allocations: 90.52 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005216/0.005216, allocations: 171.1 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.48/1.48, allocations: 205.4 MB / 222.4 MB, free: 5.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.813/1.813, allocations: 292.7 MB / 0.5502 GB, free: 14.46 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0007324/0.0007327, allocations: 17.78 kB / 0.6745 GB, free: 25.72 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.224/0.2248, allocations: 116.3 MB / 0.788 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.001883/0.2267, allocations: 1.146 MB / 0.7892 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.005366/0.2321, allocations: 3.194 MB / 0.7923 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.435e-05/0.2322, allocations: 0 / 0.7923 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001165/0.2323, allocations: 7.922 kB / 0.7923 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002449/0.2326, allocations: 27.91 kB / 0.7923 GB, free: 7.031 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002467/0.2351, allocations: 0.7676 MB / 0.7931 GB, free: 6.262 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001774/0.2353, allocations: 115.6 kB / 0.7932 GB, free: 6.148 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.618e-05/0.2353, allocations: 4.281 kB / 0.7932 GB, free: 6.145 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.428e-05/0.2354, allocations: 35.84 kB / 0.7932 GB, free: 6.109 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002688/0.2357, allocations: 153 kB / 0.7934 GB, free: 5.961 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.532e-05/0.2357, allocations: 16 kB / 0.7934 GB, free: 5.945 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002477/0.2382, allocations: 1.404 MB / 0.7947 GB, free: 4.539 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002359/0.2385, allocations: 259.9 kB / 0.795 GB, free: 4.281 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002441/0.2387, allocations: 300 kB / 0.7953 GB, free: 3.98 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002073/0.2408, allocations: 1.476 MB / 0.7967 GB, free: 2.5 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.2408, allocations: 0 / 0.7967 GB, free: 2.5 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.563e-06/0.2408, allocations: 4 kB / 0.7967 GB, free: 2.496 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.793e-06/0.2409, allocations: 0 / 0.7967 GB, free: 2.496 MB / 0.6075 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.01041/0.2513, allocations: 1.164 MB / 0.7979 GB, free: 1.281 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.183e-05/0.2513, allocations: 11.97 kB / 0.7979 GB, free: 1.27 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.947e-05/0.2514, allocations: 34.73 kB / 0.7979 GB, free: 1.227 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003623/0.2518, allocations: 83.78 kB / 0.798 GB, free: 1.145 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004114/0.2522, allocations: 368.8 kB / 0.7983 GB, free: 0.7344 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.091e-05/0.2522, allocations: 384 / 0.7983 GB, free: 0.7344 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.59e-05/0.2523, allocations: 8.375 kB / 0.7983 GB, free: 0.7266 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004693/0.2527, allocations: 391.3 kB / 0.7987 GB, free: 340 kB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.2528, allocations: 4 kB / 0.7987 GB, free: 336 kB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.389e-05/0.2528, allocations: 0 / 0.7987 GB, free: 336 kB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.027e-05/0.2528, allocations: 0 / 0.7987 GB, free: 336 kB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004679/0.2533, allocations: 443.7 kB / 0.7991 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007533/0.254, allocations: 0.6248 MB / 0.7997 GB, free: 15.22 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006167/0.2547, allocations: 0.5672 MB / 0.8003 GB, free: 14.63 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003126/0.255, allocations: 337.7 kB / 0.8006 GB, free: 14.3 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001103/0.2561, allocations: 1.04 MB / 0.8016 GB, free: 13.04 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004231/0.2565, allocations: 408.8 kB / 0.802 GB, free: 12.62 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=8): time 3.126e-06/0.2565, allocations: 0 / 0.802 GB, free: 12.62 MB / 0.6231 GB Notification: Performance of matching and sorting (n=8): time 0.001422/0.258, allocations: 1.285 MB / 0.8033 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.213e-05/0.258, allocations: 85.05 kB / 0.8034 GB, free: 11.22 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001391/0.2594, allocations: 1.206 MB / 0.8045 GB, free: 10 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.816e-05/0.2595, allocations: 29.69 kB / 0.8046 GB, free: 9.965 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002567/0.2598, allocations: 265.3 kB / 0.8048 GB, free: 9.699 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 4.997e-05/0.2598, allocations: 15.81 kB / 0.8048 GB, free: 9.684 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003071/0.2601, allocations: 287.6 kB / 0.8051 GB, free: 9.398 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0002266/0.2604, allocations: 318 kB / 0.8054 GB, free: 9.082 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00163/0.262, allocations: 1.354 MB / 0.8067 GB, free: 7.727 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00157/0.2636, allocations: 1.501 MB / 0.8082 GB, free: 6.215 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0076/0.2712, allocations: 3.538 MB / 0.8117 GB, free: 2.586 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.702e-06/0.2712, allocations: 3.938 kB / 0.8117 GB, free: 2.582 MB / 0.6231 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004327/0.2756, allocations: 3.968 MB / 0.8155 GB, free: 14.58 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.392e-05/0.2756, allocations: 8 kB / 0.8155 GB, free: 14.57 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.894e-05/0.2756, allocations: 0 / 0.8155 GB, free: 14.57 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.219e-05/0.2757, allocations: 4 kB / 0.8155 GB, free: 14.57 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001433/0.2758, allocations: 23.92 kB / 0.8156 GB, free: 14.54 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.007e-06/0.2758, allocations: 0 / 0.8156 GB, free: 14.54 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006034/0.2765, allocations: 228.3 kB / 0.8158 GB, free: 14.32 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.155e-05/0.2765, allocations: 27.98 kB / 0.8158 GB, free: 14.29 MB / 0.6387 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 (gFun2,$PRE.gFun2,gFun1,$PRE.gFun1,t2,$PRE.t2,t1,$PRE.t1,k,$PRE.k,$whenCondition1) * 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.0003039/0.2768, allocations: 238.5 kB / 0.816 GB, free: 14.05 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.86e-05/0.2769, allocations: 70.72 kB / 0.8161 GB, free: 13.98 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002805/0.2772, allocations: 74.83 kB / 0.8162 GB, free: 13.89 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.202e-06/0.2772, allocations: 4 kB / 0.8162 GB, free: 13.89 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.2772, allocations: 3.938 kB / 0.8162 GB, free: 13.89 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.808e-06/0.2772, allocations: 0 / 0.8162 GB, free: 13.89 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000463/0.2777, allocations: 496.7 kB / 0.8167 GB, free: 13.36 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/0.2777, allocations: 3.969 kB / 0.8167 GB, free: 13.36 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.015e-05/0.2778, allocations: 12 kB / 0.8167 GB, free: 13.34 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.2778, allocations: 0 / 0.8167 GB, free: 13.34 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.456e-05/0.2778, allocations: 3.984 kB / 0.8167 GB, free: 13.34 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.714e-06/0.2778, allocations: 4 kB / 0.8167 GB, free: 13.34 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.2778, allocations: 0 / 0.8167 GB, free: 13.34 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009654/0.2788, allocations: 1.002 MB / 0.8177 GB, free: 12.31 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001153/0.2789, allocations: 163.8 kB / 0.8178 GB, free: 12.13 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.595e-05/0.279, allocations: 0 / 0.8178 GB, free: 12.13 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001333/0.2791, allocations: 8 kB / 0.8178 GB, free: 12.12 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.947e-05/0.2792, allocations: 7.984 kB / 0.8178 GB, free: 12.12 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.368e-05/0.2792, allocations: 11.98 kB / 0.8178 GB, free: 12.11 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0007925/0.28, allocations: 0.6687 MB / 0.8185 GB, free: 11.43 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.5e-07/0.28, allocations: 4 kB / 0.8185 GB, free: 11.43 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001127/0.2812, allocations: 391.9 kB / 0.8189 GB, free: 11.04 MB / 0.6387 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.002754/0.2839, allocations: 1.927 MB / 0.8208 GB, free: 9.078 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002593/0.2865, allocations: 2.492 MB / 0.8232 GB, free: 6.578 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.2865, allocations: 0 / 0.8232 GB, free: 6.578 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0003285/0.2869, allocations: 343.9 kB / 0.8235 GB, free: 6.242 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003718/0.2873, allocations: 36.44 kB / 0.8236 GB, free: 6.207 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01633/0.3036, allocations: 15.03 MB / 0.8382 GB, free: 7 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006321/0.3043, allocations: 0.964 MB / 0.8392 GB, free: 6.008 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001804/0.3045, allocations: 32.56 kB / 0.8392 GB, free: 5.977 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000294/0.3048, allocations: 263.3 kB / 0.8395 GB, free: 5.719 MB / 0.6544 GB Notification: Performance of SimCode: time 1.403e-06/0.3048, allocations: 0 / 0.8395 GB, free: 5.719 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03988/0.3446, allocations: 18.9 MB / 0.8579 GB, free: 3.043 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002764/0.345, allocations: 298 kB / 0.8582 GB, free: 2.66 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.45/2.795, allocations: 0 / 0.8582 GB, free: 2.66 MB / 0.67 GB (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters_fmu --startTime=0 --stopTime=4.12e+08 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters.fmu > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1)