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_SmallScaleValidation.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_SmallScaleValidation,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation",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.429/1.429, allocations: 251.5 MB / 266.7 MB, free: 11.03 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.001265/0.001265, allocations: 170.5 kB / 325.8 MB, free: 2.676 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.713/1.713, allocations: 205 MB / 0.576 GB, free: 20.96 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.0008738/0.0008738, allocations: 78.38 kB / 0.6797 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003232/0.0003233, allocations: 13.03 kB / 0.7933 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2056/0.2059, allocations: 105.4 MB / 0.8962 GB, free: 68.04 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.001998/0.208, allocations: 1.482 MB / 0.8977 GB, free: 66.54 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.005037/0.213, allocations: 4.433 MB / 0.902 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000143/0.2132, allocations: 7.938 kB / 0.902 GB, free: 62.08 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001151/0.2144, allocations: 350.7 kB / 0.9024 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001327/0.2145, allocations: 59.72 kB / 0.9024 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.002287/0.2168, allocations: 0.7623 MB / 0.9032 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002358/0.2171, allocations: 191.4 kB / 0.9033 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.878e-05/0.2171, allocations: 9.562 kB / 0.9034 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.314e-05/0.2172, allocations: 51.78 kB / 0.9034 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001946/0.2174, allocations: 180.8 kB / 0.9036 GB, free: 60.49 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.107e-05/0.2175, allocations: 12 kB / 0.9036 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001804/0.2193, allocations: 1.392 MB / 0.9049 GB, free: 59.08 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.000153/0.2194, allocations: 279.8 kB / 0.9052 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001708/0.2196, allocations: 302.1 kB / 0.9055 GB, free: 58.51 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.001528/0.2211, allocations: 1.539 MB / 0.907 GB, free: 56.96 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.2212, allocations: 0 / 0.907 GB, free: 56.96 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.003e-06/0.2212, allocations: 0 / 0.907 GB, free: 56.96 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.704e-06/0.2212, allocations: 0 / 0.907 GB, free: 56.96 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.008364/0.2296, allocations: 1.222 MB / 0.9082 GB, free: 55.69 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.81e-05/0.2296, allocations: 8.031 kB / 0.9082 GB, free: 55.68 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.504e-05/0.2297, allocations: 34.75 kB / 0.9082 GB, free: 55.64 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000342/0.23, allocations: 99.58 kB / 0.9083 GB, free: 55.54 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000377/0.2304, allocations: 401.9 kB / 0.9087 GB, free: 55.1 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.291e-05/0.2304, allocations: 12.34 kB / 0.9087 GB, free: 55.09 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.482e-05/0.2305, allocations: 8.375 kB / 0.9087 GB, free: 55.08 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003267/0.2308, allocations: 387.3 kB / 0.9091 GB, free: 54.69 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.2308, allocations: 4 kB / 0.9091 GB, free: 54.69 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/0.2308, allocations: 0 / 0.9091 GB, free: 54.69 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.2308, allocations: 3.938 kB / 0.9091 GB, free: 54.68 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003101/0.2312, allocations: 439.7 kB / 0.9095 GB, free: 54.25 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004416/0.2316, allocations: 0.6575 MB / 0.9102 GB, free: 53.55 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003734/0.232, allocations: 0.5555 MB / 0.9107 GB, free: 52.97 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002116/0.2322, allocations: 337.7 kB / 0.911 GB, free: 52.64 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007506/0.233, allocations: 1.044 MB / 0.9121 GB, free: 51.37 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002918/0.2333, allocations: 400.8 kB / 0.9124 GB, free: 50.96 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=8): time 1.603e-06/0.2333, allocations: 0 / 0.9124 GB, free: 50.96 MB / 0.6042 GB Notification: Performance of matching and sorting (n=8): time 0.0009409/0.2342, allocations: 1.304 MB / 0.9137 GB, free: 49.65 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.322e-05/0.2343, allocations: 77.11 kB / 0.9138 GB, free: 49.55 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008859/0.2352, allocations: 1.285 MB / 0.915 GB, free: 48.26 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.025e-05/0.2352, allocations: 33.7 kB / 0.9151 GB, free: 48.22 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001358/0.2354, allocations: 281.4 kB / 0.9153 GB, free: 47.94 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.101e-05/0.2354, allocations: 27.8 kB / 0.9154 GB, free: 47.91 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001595/0.2356, allocations: 287.6 kB / 0.9156 GB, free: 47.62 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.658e-05/0.2356, allocations: 318 kB / 0.9159 GB, free: 47.31 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008517/0.2365, allocations: 1.361 MB / 0.9173 GB, free: 45.95 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008744/0.2374, allocations: 1.493 MB / 0.9187 GB, free: 44.44 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005965/0.2433, allocations: 3.541 MB / 0.9222 GB, free: 40.81 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.2434, allocations: 0 / 0.9222 GB, free: 40.81 MB / 0.6042 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.003109/0.2465, allocations: 3.973 MB / 0.9261 GB, free: 36.8 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.36e-05/0.2465, allocations: 8 kB / 0.9261 GB, free: 36.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.672e-05/0.2466, allocations: 0 / 0.9261 GB, free: 36.79 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.966e-05/0.2466, allocations: 0 / 0.9261 GB, free: 36.79 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001265/0.2467, allocations: 24.02 kB / 0.9261 GB, free: 36.77 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.856e-06/0.2467, allocations: 4 kB / 0.9261 GB, free: 36.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004506/0.2472, allocations: 224.3 kB / 0.9263 GB, free: 36.54 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.658e-05/0.2472, allocations: 23.98 kB / 0.9263 GB, free: 36.52 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 (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.0002646/0.2475, allocations: 249.6 kB / 0.9266 GB, free: 36.27 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.468e-05/0.2476, allocations: 74.62 kB / 0.9267 GB, free: 36.19 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002821/0.2479, allocations: 87.72 kB / 0.9267 GB, free: 36.1 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.2479, allocations: 3.984 kB / 0.9267 GB, free: 36.09 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.2479, allocations: 0 / 0.9267 GB, free: 36.09 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.2479, allocations: 0 / 0.9267 GB, free: 36.09 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003344/0.2482, allocations: 0.5138 MB / 0.9272 GB, free: 35.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.2482, allocations: 3.938 kB / 0.9272 GB, free: 35.53 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.572e-05/0.2483, allocations: 7.938 kB / 0.9273 GB, free: 35.52 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.2483, allocations: 4 kB / 0.9273 GB, free: 35.52 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.273e-05/0.2483, allocations: 3.984 kB / 0.9273 GB, free: 35.52 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.165e-06/0.2484, allocations: 4.031 kB / 0.9273 GB, free: 35.51 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.053e-06/0.2484, allocations: 0 / 0.9273 GB, free: 35.51 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006427/0.249, allocations: 1.006 MB / 0.9282 GB, free: 34.48 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 8.183e-05/0.2491, allocations: 171.7 kB / 0.9284 GB, free: 34.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.957e-05/0.2492, allocations: 4 kB / 0.9284 GB, free: 34.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001393/0.2493, allocations: 11.98 kB / 0.9284 GB, free: 34.28 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.96e-05/0.2494, allocations: 4 kB / 0.9284 GB, free: 34.28 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.194e-05/0.2494, allocations: 15.92 kB / 0.9284 GB, free: 34.26 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0005718/0.25, allocations: 0.7218 MB / 0.9291 GB, free: 33.54 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.6e-07/0.25, allocations: 3.938 kB / 0.9292 GB, free: 33.53 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001009/0.251, allocations: 395.9 kB / 0.9295 GB, free: 33.14 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.00199/0.253, allocations: 1.928 MB / 0.9314 GB, free: 31.18 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001609/0.2546, allocations: 2.493 MB / 0.9338 GB, free: 28.68 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.2546, allocations: 0 / 0.9338 GB, free: 28.68 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002333/0.2549, allocations: 343.8 kB / 0.9342 GB, free: 28.35 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004339/0.2553, allocations: 68.75 kB / 0.9342 GB, free: 28.28 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0117/0.267, allocations: 15.01 MB / 0.9489 GB, free: 13.1 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003652/0.2675, allocations: 0.9879 MB / 0.9499 GB, free: 12.09 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002245/0.2677, allocations: 37.38 kB / 0.9499 GB, free: 12.05 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002462/0.2679, allocations: 287.3 kB / 0.9502 GB, free: 11.77 MB / 0.6042 GB Notification: Performance of SimCode: time 8.22e-07/0.268, allocations: 4 kB / 0.9502 GB, free: 11.77 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.138/0.406, allocations: 19.1 MB / 0.9688 GB, free: 8.898 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000349/0.4064, allocations: 313.3 kB / 0.9691 GB, free: 8.516 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.898/3.304, allocations: 0 / 0.9691 GB, free: 8.516 MB / 0.6198 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.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_SmallScaleValidation_fmu --startTime=0 --stopTime=1.8e+12 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1)