Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,fileNamePrefix="Buildings_8_0_0_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_8_0_0_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.0/package.mo): time 2.611/2.611, allocations: 287.5 MB / 302.4 MB, free: 8.32 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.001337/0.001336, allocations: 186.4 kB / 371 MB, free: 10.89 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.063/2.063, allocations: 205.4 MB / 0.6297 GB, free: 10.66 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.001032/0.001032, allocations: 92.84 kB / 0.743 GB, free: 6.652 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005213/0.0005215, allocations: 16.64 kB / 0.8659 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2118/0.2124, allocations: 115.3 MB / 0.9785 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.002058/0.2145, allocations: 1.412 MB / 0.9799 GB, free: 26.85 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.006919/0.2215, allocations: 3.919 MB / 0.9837 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001564/0.2217, allocations: 0 / 0.9837 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001408/0.2231, allocations: 310.7 kB / 0.984 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001978/0.2233, allocations: 59.73 kB / 0.9841 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.003111/0.2264, allocations: 0.7511 MB / 0.9848 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003142/0.2268, allocations: 160.2 kB / 0.9849 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.75e-05/0.2268, allocations: 13.55 kB / 0.985 GB, free: 21.63 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.293e-05/0.2269, allocations: 55.72 kB / 0.985 GB, free: 21.58 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002955/0.2272, allocations: 183.6 kB / 0.9852 GB, free: 21.4 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 7.421e-05/0.2273, allocations: 23.94 kB / 0.9852 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003113/0.2305, allocations: 1.306 MB / 0.9865 GB, free: 20.07 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0002605/0.2308, allocations: 263.2 kB / 0.9867 GB, free: 19.81 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.000149/0.2309, allocations: 125.1 kB / 0.9869 GB, free: 19.68 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.002178/0.2331, allocations: 1.025 MB / 0.9879 GB, free: 18.65 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.2332, allocations: 4 kB / 0.9879 GB, free: 18.65 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.725e-06/0.2332, allocations: 0 / 0.9879 GB, free: 18.65 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.798e-06/0.2332, allocations: 0 / 0.9879 GB, free: 18.65 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.01713/0.2504, allocations: 1.226 MB / 0.9891 GB, free: 17.37 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.022e-05/0.2504, allocations: 16.02 kB / 0.9891 GB, free: 17.36 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.064e-05/0.2505, allocations: 30.56 kB / 0.9891 GB, free: 17.32 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005193/0.251, allocations: 106.6 kB / 0.9892 GB, free: 17.21 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000589/0.2516, allocations: 392.8 kB / 0.9896 GB, free: 16.78 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.673e-05/0.2516, allocations: 0 / 0.9896 GB, free: 16.78 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.532e-05/0.2517, allocations: 11.98 kB / 0.9896 GB, free: 16.77 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005229/0.2523, allocations: 387.1 kB / 0.99 GB, free: 16.38 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.2523, allocations: 0 / 0.99 GB, free: 16.38 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.707e-05/0.2523, allocations: 4 kB / 0.99 GB, free: 16.37 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.2523, allocations: 4 kB / 0.99 GB, free: 16.37 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000517/0.2529, allocations: 435.7 kB / 0.9904 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007594/0.2536, allocations: 0.6613 MB / 0.991 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006142/0.2543, allocations: 0.5595 MB / 0.9916 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003689/0.2547, allocations: 345.6 kB / 0.9919 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001127/0.2558, allocations: 1.028 MB / 0.9929 GB, free: 13.06 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00052/0.2564, allocations: 408.8 kB / 0.9933 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 3.937e-06/0.2564, allocations: 0 / 0.9933 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.001609/0.258, allocations: 1.296 MB / 0.9946 GB, free: 11.34 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.284e-05/0.2581, allocations: 89.22 kB / 0.9946 GB, free: 11.23 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001589/0.2597, allocations: 1.277 MB / 0.9959 GB, free: 9.941 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.508e-05/0.2598, allocations: 29.7 kB / 0.9959 GB, free: 9.906 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002248/0.2601, allocations: 277.4 kB / 0.9962 GB, free: 9.629 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.131e-05/0.2601, allocations: 19.75 kB / 0.9962 GB, free: 9.609 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.883e-05/0.2602, allocations: 4 kB / 0.9962 GB, free: 9.605 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001681/0.2604, allocations: 431.8 kB / 0.9966 GB, free: 9.176 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001478/0.2618, allocations: 1.361 MB / 0.998 GB, free: 7.812 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001572/0.2634, allocations: 1.493 MB / 0.9994 GB, free: 6.309 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001847/0.2653, allocations: 1.891 MB / 1.001 GB, free: 4.402 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.314e-06/0.2654, allocations: 0 / 1.001 GB, free: 4.402 MB / 0.6198 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.005277/0.2707, allocations: 3.953 MB / 1.005 GB, free: 424 kB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.742e-05/0.2708, allocations: 8.031 kB / 1.005 GB, free: 416 kB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.385e-05/0.2708, allocations: 4.312 kB / 1.005 GB, free: 412 kB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.289e-05/0.2708, allocations: 0 / 1.005 GB, free: 412 kB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002205/0.2711, allocations: 19.92 kB / 1.005 GB, free: 392 kB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.226e-06/0.2711, allocations: 0 / 1.005 GB, free: 392 kB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008723/0.272, allocations: 232.3 kB / 1.005 GB, free: 156 kB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.573e-05/0.2721, allocations: 27.97 kB / 1.005 GB, free: 128 kB / 0.6198 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.0005218/0.2726, allocations: 254.9 kB / 1.006 GB, free: 15.87 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001106/0.2727, allocations: 70.69 kB / 1.006 GB, free: 15.8 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004817/0.2732, allocations: 79.66 kB / 1.006 GB, free: 15.71 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.928e-06/0.2732, allocations: 7.984 kB / 1.006 GB, free: 15.7 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/0.2732, allocations: 4 kB / 1.006 GB, free: 15.7 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.2733, allocations: 0 / 1.006 GB, free: 15.7 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007143/0.274, allocations: 0.5215 MB / 1.006 GB, free: 15.13 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/0.274, allocations: 4 kB / 1.006 GB, free: 15.12 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001372/0.2742, allocations: 8.031 kB / 1.006 GB, free: 15.12 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.106e-06/0.2742, allocations: 0 / 1.006 GB, free: 15.12 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.594e-05/0.2742, allocations: 7.984 kB / 1.006 GB, free: 15.11 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/0.2742, allocations: 0 / 1.006 GB, free: 15.11 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.2742, allocations: 0 / 1.006 GB, free: 15.11 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001477/0.2757, allocations: 1.009 MB / 1.007 GB, free: 14.08 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002227/0.276, allocations: 159.8 kB / 1.007 GB, free: 13.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000111/0.2761, allocations: 7.938 kB / 1.007 GB, free: 13.89 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002828/0.2764, allocations: 4 kB / 1.007 GB, free: 13.89 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.419e-05/0.2765, allocations: 7.984 kB / 1.007 GB, free: 13.88 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.415e-05/0.2765, allocations: 11.98 kB / 1.007 GB, free: 13.87 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001344/0.2779, allocations: 0.7062 MB / 1.008 GB, free: 13.16 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.21e-07/0.2779, allocations: 4 kB / 1.008 GB, free: 13.16 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001562/0.2795, allocations: 399.9 kB / 1.009 GB, free: 12.77 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.003787/0.2833, allocations: 1.924 MB / 1.01 GB, free: 10.81 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.003721/0.2871, allocations: 2.488 MB / 1.013 GB, free: 8.312 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/0.2872, allocations: 0 / 1.013 GB, free: 8.312 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0005308/0.2877, allocations: 343.9 kB / 1.013 GB, free: 7.977 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006044/0.2883, allocations: 68.52 kB / 1.013 GB, free: 7.91 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01699/0.3053, allocations: 9.477 MB / 1.023 GB, free: 14.33 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007863/0.3062, allocations: 0.9879 MB / 1.023 GB, free: 13.31 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0003759/0.3066, allocations: 37.42 kB / 1.024 GB, free: 13.27 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005528/0.3071, allocations: 289.6 kB / 1.024 GB, free: 13 MB / 0.6511 GB Notification: Performance of SimCode: time 1.303e-06/0.3072, allocations: 0 / 1.024 GB, free: 13 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06383/0.371, allocations: 18.79 MB / 1.042 GB, free: 10.37 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000308/0.3714, allocations: 284 kB / 1.042 GB, free: 10.01 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.51/3.882, allocations: 0 / 1.042 GB, free: 10.01 MB / 0.6667 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation_fmu --startTime=0 --stopTime=1.8e+12 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation.fmu > Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1)