Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_latest_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_latest_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.0009439/0.000944, allocations: 94.83 kB / 15.36 MB, free: 0.7344 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.005945/0.005945, allocations: 176 kB / 16.27 MB, free: 6.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.396/1.396, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.579/2.579, allocations: 462.7 MB / 0.7364 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003067/0.0003067, allocations: 11 kB / 0.9029 GB, free: 36.36 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2648/0.2651, allocations: 159.6 MB / 1.059 GB, free: 4.84 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.001439/0.2666, allocations: 1.158 MB / 1.06 GB, free: 3.668 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00628/0.2729, allocations: 4.399 MB / 1.064 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.947e-05/0.2729, allocations: 0 / 1.064 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001054/0.273, allocations: 7.938 kB / 1.064 GB, free: 15.24 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001906/0.2732, allocations: 23.83 kB / 1.064 GB, free: 15.22 MB / 0.8262 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Math/Random.mo:1057:5-1146:31:writable] Warning: Pure function ‘Modelica.Math.Random.Utilities.initializeImpureRandom‘ contains a call to impure function ‘Modelica.Math.Random.Utilities.initializeImpureRandom.setInternalState‘. Notification: Performance of NFTyping.typeClassSections: time 0.003076/0.2763, allocations: 1.186 MB / 1.065 GB, free: 14.04 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001558/0.2765, allocations: 123.7 kB / 1.066 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.784e-05/0.2766, allocations: 8 kB / 1.066 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.224e-05/0.2766, allocations: 43.84 kB / 1.066 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002238/0.2769, allocations: 157 kB / 1.066 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.034e-05/0.2769, allocations: 12 kB / 1.066 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003085/0.28, allocations: 2.192 MB / 1.068 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001964/0.2802, allocations: 263.8 kB / 1.068 GB, free: 11.24 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002414/0.2805, allocations: 315.9 kB / 1.068 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.003072/0.2835, allocations: 2.147 MB / 1.071 GB, free: 8.773 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.005e-06/0.2836, allocations: 0 / 1.071 GB, free: 8.773 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.994e-06/0.2836, allocations: 0 / 1.071 GB, free: 8.773 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.085e-05/0.2836, allocations: 0 / 1.071 GB, free: 8.773 MB / 0.8262 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.01061/0.2942, allocations: 1.253 MB / 1.072 GB, free: 7.469 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/0.2942, allocations: 11.97 kB / 1.072 GB, free: 7.457 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.127e-05/0.2943, allocations: 30.75 kB / 1.072 GB, free: 7.418 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003564/0.2947, allocations: 99.61 kB / 1.072 GB, free: 7.32 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003626/0.295, allocations: 357 kB / 1.072 GB, free: 6.922 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.299e-05/0.2951, allocations: 8.359 kB / 1.072 GB, free: 6.914 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.499e-05/0.2951, allocations: 12.38 kB / 1.072 GB, free: 6.902 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003915/0.2955, allocations: 391.3 kB / 1.073 GB, free: 6.508 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.2955, allocations: 3.984 kB / 1.073 GB, free: 6.504 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.2955, allocations: 3.938 kB / 1.073 GB, free: 6.5 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.2955, allocations: 0 / 1.073 GB, free: 6.5 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003956/0.2959, allocations: 435.7 kB / 1.073 GB, free: 6.074 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005342/0.2965, allocations: 0.6366 MB / 1.074 GB, free: 5.387 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004712/0.297, allocations: 0.5633 MB / 1.074 GB, free: 4.805 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002821/0.2973, allocations: 337.7 kB / 1.075 GB, free: 4.469 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009399/0.2982, allocations: 1.036 MB / 1.076 GB, free: 3.211 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003628/0.2986, allocations: 400.8 kB / 1.076 GB, free: 2.801 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=8): time 1.473e-06/0.2986, allocations: 0 / 1.076 GB, free: 2.801 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8): time 0.001181/0.2998, allocations: 1.293 MB / 1.077 GB, free: 1.5 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.878e-05/0.2998, allocations: 85.11 kB / 1.077 GB, free: 1.398 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001059/0.3009, allocations: 1.214 MB / 1.078 GB, free: 172 kB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.886e-05/0.301, allocations: 29.7 kB / 1.079 GB, free: 136 kB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001816/0.3011, allocations: 265.5 kB / 1.079 GB, free: 15.87 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.268e-05/0.3012, allocations: 23.69 kB / 1.079 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000233/0.3014, allocations: 291.7 kB / 1.079 GB, free: 15.55 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 8.371e-05/0.3015, allocations: 310 kB / 1.079 GB, free: 15.25 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001138/0.3027, allocations: 1.373 MB / 1.081 GB, free: 13.87 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001208/0.3039, allocations: 1.505 MB / 1.082 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006688/0.3106, allocations: 3.557 MB / 1.086 GB, free: 8.707 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.3106, allocations: 0 / 1.086 GB, free: 8.707 MB / 0.8419 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.004026/0.3146, allocations: 4.006 MB / 1.09 GB, free: 4.664 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.3146, allocations: 4 kB / 1.09 GB, free: 4.66 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.635e-05/0.3147, allocations: 4 kB / 1.09 GB, free: 4.656 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.3147, allocations: 4.031 kB / 1.09 GB, free: 4.652 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001163/0.3148, allocations: 19.98 kB / 1.09 GB, free: 4.633 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.678e-06/0.3148, allocations: 7.938 kB / 1.09 GB, free: 4.625 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004537/0.3153, allocations: 232.2 kB / 1.09 GB, free: 4.395 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.516e-05/0.3153, allocations: 27.92 kB / 1.09 GB, free: 4.367 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 13 (cluSiz[1],labels[1],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 (17): * Single equations (assignments): 13 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * 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.000273/0.3156, allocations: 237.7 kB / 1.09 GB, free: 4.125 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.638e-05/0.3157, allocations: 66.72 kB / 1.09 GB, free: 4.059 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002666/0.316, allocations: 83 kB / 1.09 GB, free: 3.969 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.316, allocations: 0 / 1.09 GB, free: 3.969 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.316, allocations: 0 / 1.09 GB, free: 3.969 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.095e-06/0.316, allocations: 0 / 1.09 GB, free: 3.969 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004005/0.3164, allocations: 496.9 kB / 1.091 GB, free: 3.438 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.3164, allocations: 3.938 kB / 1.091 GB, free: 3.434 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.791e-05/0.3165, allocations: 11.98 kB / 1.091 GB, free: 3.422 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/0.3165, allocations: 8.031 kB / 1.091 GB, free: 3.414 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.075e-05/0.3165, allocations: 0 / 1.091 GB, free: 3.414 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.522e-06/0.3165, allocations: 0 / 1.091 GB, free: 3.414 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.3165, allocations: 0 / 1.091 GB, free: 3.414 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008303/0.3174, allocations: 1.002 MB / 1.092 GB, free: 2.391 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 9.908e-05/0.3175, allocations: 163.7 kB / 1.092 GB, free: 2.211 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.53e-05/0.3175, allocations: 11.94 kB / 1.092 GB, free: 2.199 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001371/0.3177, allocations: 11.98 kB / 1.092 GB, free: 2.188 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.196e-05/0.3177, allocations: 4 kB / 1.092 GB, free: 2.184 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.09e-05/0.3177, allocations: 11.97 kB / 1.092 GB, free: 2.172 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0006636/0.3184, allocations: 0.6689 MB / 1.093 GB, free: 1.496 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3184, allocations: 0 / 1.093 GB, free: 1.496 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.00143/0.3199, allocations: 0.5857 MB / 1.093 GB, free: 0.9102 MB / 0.8419 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.003016/0.3229, allocations: 2.136 MB / 1.095 GB, free: 14.76 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.00208/0.325, allocations: 2.548 MB / 1.098 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.325, allocations: 0 / 1.098 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.000299/0.3253, allocations: 343.7 kB / 1.098 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003088/0.3256, allocations: 28.61 kB / 1.098 GB, free: 11.83 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01495/0.3406, allocations: 15.27 MB / 1.113 GB, free: 12.39 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004937/0.3411, allocations: 0.9643 MB / 1.114 GB, free: 11.39 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001577/0.3412, allocations: 28.56 kB / 1.114 GB, free: 11.37 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002805/0.3415, allocations: 271.3 kB / 1.114 GB, free: 11.1 MB / 0.8731 GB Notification: Performance of SimCode: time 4.11e-07/0.3415, allocations: 0 / 1.114 GB, free: 11.1 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03738/0.3789, allocations: 23.06 MB / 1.137 GB, free: 4.273 MB / 0.8887 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002753/0.3792, allocations: 341.1 kB / 1.137 GB, free: 3.895 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.627/3.006, allocations: 2.062 kB / 1.137 GB, free: 3.895 MB / 0.8887 GB (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters_fmu --startTime=0 --stopTime=4.12e+08 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1)