Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.817/1.817, allocations: 288.4 MB / 303.6 MB, free: 8.129 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001098/0.001099, allocations: 173.7 kB / 372.2 MB, free: 10.11 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.537/1.537, allocations: 205.4 MB / 0.631 GB, free: 9.773 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008193/0.0008194, allocations: 98.28 kB / 0.7444 GB, free: 5.68 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004117/0.0004118, allocations: 17.03 kB / 0.8676 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2056/0.206, allocations: 115.3 MB / 0.9802 GB, free: 27.18 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.001764/0.2078, allocations: 1.424 MB / 0.9816 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.004658/0.2125, allocations: 3.929 MB / 0.9855 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00012/0.2126, allocations: 0 / 0.9855 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001126/0.2138, allocations: 332.6 kB / 0.9858 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001383/0.2139, allocations: 47.8 kB / 0.9858 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.002154/0.2161, allocations: 0.764 MB / 0.9866 GB, free: 20.67 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002446/0.2164, allocations: 163.4 kB / 0.9867 GB, free: 20.51 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.073e-05/0.2164, allocations: 13.55 kB / 0.9867 GB, free: 20.5 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.936e-05/0.2165, allocations: 51.78 kB / 0.9868 GB, free: 20.45 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002063/0.2167, allocations: 191.5 kB / 0.987 GB, free: 20.26 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.49e-05/0.2168, allocations: 16 kB / 0.987 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001889/0.2187, allocations: 1.338 MB / 0.9883 GB, free: 18.91 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001643/0.2188, allocations: 271.2 kB / 0.9885 GB, free: 18.64 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0002247/0.2191, allocations: 307.6 kB / 0.9888 GB, free: 18.33 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.00129/0.2204, allocations: 1.044 MB / 0.9899 GB, free: 17.29 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.2204, allocations: 0 / 0.9899 GB, free: 17.29 MB / 0.6198 GB Notification: Performance of FrontEnd: time 4.158e-06/0.2204, allocations: 4 kB / 0.9899 GB, free: 17.28 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.593e-05/0.2204, allocations: 3.938 kB / 0.9899 GB, free: 17.28 MB / 0.6198 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.009466/0.2299, allocations: 1.214 MB / 0.9911 GB, free: 16.01 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.921e-05/0.23, allocations: 11.97 kB / 0.9911 GB, free: 16 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.917e-05/0.23, allocations: 34.75 kB / 0.9911 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003621/0.2304, allocations: 91.59 kB / 0.9912 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004183/0.2308, allocations: 402 kB / 0.9916 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.02e-05/0.2308, allocations: 4.375 kB / 0.9916 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.9e-05/0.2309, allocations: 12.38 kB / 0.9916 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003394/0.2312, allocations: 391.3 kB / 0.992 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.2312, allocations: 0 / 0.992 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.207e-05/0.2313, allocations: 3.938 kB / 0.992 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/0.2313, allocations: 0 / 0.992 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003269/0.2316, allocations: 439.7 kB / 0.9924 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004735/0.2321, allocations: 0.6613 MB / 0.993 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003556/0.2325, allocations: 0.5633 MB / 0.9936 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002166/0.2327, allocations: 329.7 kB / 0.9939 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007869/0.2335, allocations: 1.044 MB / 0.9949 GB, free: 11.7 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002882/0.2338, allocations: 404.8 kB / 0.9953 GB, free: 11.28 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 1.383e-06/0.2338, allocations: 3.938 kB / 0.9953 GB, free: 11.28 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.0009398/0.2347, allocations: 1.293 MB / 0.9966 GB, free: 9.977 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.638e-05/0.2348, allocations: 85.03 kB / 0.9966 GB, free: 9.875 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008541/0.2357, allocations: 1.269 MB / 0.9979 GB, free: 8.594 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.014e-05/0.2357, allocations: 29.83 kB / 0.9979 GB, free: 8.559 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001347/0.2358, allocations: 293.4 kB / 0.9982 GB, free: 8.266 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.813e-05/0.2359, allocations: 23.66 kB / 0.9982 GB, free: 8.242 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.151e-05/0.2359, allocations: 0 / 0.9982 GB, free: 8.242 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.521e-05/0.236, allocations: 423.8 kB / 0.9986 GB, free: 7.82 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008228/0.2368, allocations: 1.357 MB / 0.9999 GB, free: 6.461 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008999/0.2377, allocations: 1.493 MB / 1.001 GB, free: 4.957 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006841/0.2446, allocations: 3.502 MB / 1.005 GB, free: 1.367 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.99e-06/0.2446, allocations: 0 / 1.005 GB, free: 1.367 MB / 0.6198 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.003754/0.2484, allocations: 3.949 MB / 1.009 GB, free: 13.38 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.214e-05/0.2484, allocations: 8 kB / 1.009 GB, free: 13.38 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.842e-05/0.2485, allocations: 8.016 kB / 1.009 GB, free: 13.37 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.2485, allocations: 0 / 1.009 GB, free: 13.37 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001319/0.2486, allocations: 19.94 kB / 1.009 GB, free: 13.35 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.428e-06/0.2486, allocations: 4 kB / 1.009 GB, free: 13.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004876/0.2491, allocations: 228.3 kB / 1.009 GB, free: 13.12 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.159e-05/0.2492, allocations: 23.98 kB / 1.009 GB, free: 13.09 MB / 0.6355 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.0003348/0.2495, allocations: 245.7 kB / 1.009 GB, free: 12.84 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.624e-05/0.2496, allocations: 78.62 kB / 1.009 GB, free: 12.77 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002793/0.2499, allocations: 83.66 kB / 1.009 GB, free: 12.67 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.2499, allocations: 4 kB / 1.009 GB, free: 12.66 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/0.2499, allocations: 3.938 kB / 1.009 GB, free: 12.66 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.277e-06/0.2499, allocations: 0 / 1.009 GB, free: 12.66 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004403/0.2504, allocations: 0.5177 MB / 1.01 GB, free: 12.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.2504, allocations: 3.938 kB / 1.01 GB, free: 12.09 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.807e-05/0.2504, allocations: 7.984 kB / 1.01 GB, free: 12.09 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.2505, allocations: 4.031 kB / 1.01 GB, free: 12.08 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.318e-05/0.2505, allocations: 4 kB / 1.01 GB, free: 12.08 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.836e-06/0.2505, allocations: 4 kB / 1.01 GB, free: 12.07 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.552e-06/0.2505, allocations: 0 / 1.01 GB, free: 12.07 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009214/0.2514, allocations: 1.006 MB / 1.011 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001275/0.2516, allocations: 175.7 kB / 1.011 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.704e-05/0.2516, allocations: 0 / 1.011 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001481/0.2518, allocations: 7.984 kB / 1.011 GB, free: 10.85 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.978e-05/0.2518, allocations: 4 kB / 1.011 GB, free: 10.84 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.267e-05/0.2519, allocations: 15.97 kB / 1.011 GB, free: 10.83 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0007777/0.2527, allocations: 0.7062 MB / 1.012 GB, free: 10.12 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2527, allocations: 0 / 1.012 GB, free: 10.12 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001066/0.2537, allocations: 399.9 kB / 1.012 GB, free: 9.727 MB / 0.6355 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.002264/0.256, allocations: 1.931 MB / 1.014 GB, free: 7.762 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002183/0.2582, allocations: 2.495 MB / 1.016 GB, free: 5.258 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/0.2582, allocations: 0 / 1.016 GB, free: 5.258 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0003336/0.2586, allocations: 344.2 kB / 1.017 GB, free: 4.922 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004071/0.259, allocations: 52.84 kB / 1.017 GB, free: 4.871 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01049/0.2695, allocations: 9.485 MB / 1.026 GB, free: 11.29 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006029/0.2701, allocations: 0.984 MB / 1.027 GB, free: 10.28 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002135/0.2703, allocations: 49.33 kB / 1.027 GB, free: 10.23 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003619/0.2707, allocations: 283.3 kB / 1.027 GB, free: 9.953 MB / 0.6511 GB Notification: Performance of SimCode: time 1.022e-06/0.2707, allocations: 0 / 1.027 GB, free: 9.953 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4128/0.6835, allocations: 18.8 MB / 1.046 GB, free: 7.383 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002945/0.6838, allocations: 282.1 kB / 1.046 GB, free: 7.027 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.792/3.476, allocations: 0 / 1.046 GB, free: 7.027 MB / 0.6667 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe >> ../files/Buildings_maint.8.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_8_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_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1)