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.628/2.628, allocations: 287.3 MB / 302.3 MB, free: 8.164 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.001633/0.001632, allocations: 170.8 kB / 370.8 MB, free: 10.86 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.123/2.123, allocations: 205.4 MB / 0.6295 GB, free: 10.6 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.001156/0.001156, allocations: 96.23 kB / 0.7428 GB, free: 6.633 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006965/0.0006969, allocations: 12.41 kB / 0.8658 GB, free: 140.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2101/0.2108, allocations: 115.3 MB / 0.9783 GB, free: 28.26 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.00199/0.2129, allocations: 1.385 MB / 0.9797 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.006603/0.2195, allocations: 3.834 MB / 0.9834 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001617/0.2197, allocations: 3.938 kB / 0.9834 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001485/0.2212, allocations: 346.9 kB / 0.9837 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.000151/0.2214, allocations: 51.91 kB / 0.9838 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.003842/0.2253, allocations: 0.7123 MB / 0.9845 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002848/0.2256, allocations: 112.8 kB / 0.9846 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 6.401e-05/0.2257, allocations: 9.562 kB / 0.9846 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.716e-05/0.2258, allocations: 51.78 kB / 0.9847 GB, free: 21.74 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002544/0.226, allocations: 155.7 kB / 0.9848 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 6.182e-05/0.2261, allocations: 12 kB / 0.9848 GB, free: 21.58 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002965/0.2291, allocations: 1.26 MB / 0.986 GB, free: 20.32 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0002474/0.2294, allocations: 251.3 kB / 0.9863 GB, free: 20.07 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001763/0.2296, allocations: 125.1 kB / 0.9864 GB, free: 19.94 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.002185/0.2318, allocations: 1.033 MB / 0.9874 GB, free: 18.91 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.2318, allocations: 0 / 0.9874 GB, free: 18.91 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.515e-06/0.2318, allocations: 0 / 0.9874 GB, free: 18.91 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.066e-05/0.2319, allocations: 0 / 0.9874 GB, free: 18.91 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.01792/0.2498, allocations: 1.23 MB / 0.9886 GB, free: 17.62 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.908e-05/0.2499, allocations: 16 kB / 0.9886 GB, free: 17.61 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.242e-05/0.2499, allocations: 38.56 kB / 0.9887 GB, free: 17.56 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004852/0.2504, allocations: 90.61 kB / 0.9888 GB, free: 17.47 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005743/0.251, allocations: 392.8 kB / 0.9891 GB, free: 17.04 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.566e-05/0.251, allocations: 4 kB / 0.9891 GB, free: 17.04 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.527e-05/0.2511, allocations: 11.98 kB / 0.9891 GB, free: 17.02 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004912/0.2516, allocations: 395.1 kB / 0.9895 GB, free: 16.62 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.2516, allocations: 0 / 0.9895 GB, free: 16.62 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.628e-05/0.2517, allocations: 0 / 0.9895 GB, free: 16.62 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.2517, allocations: 4 kB / 0.9895 GB, free: 16.62 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005119/0.2522, allocations: 427.8 kB / 0.9899 GB, free: 16.2 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007314/0.2529, allocations: 0.6652 MB / 0.9906 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006521/0.2536, allocations: 0.5672 MB / 0.9911 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001214/0.2548, allocations: 1.032 MB / 0.9921 GB, free: 13.65 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000492/0.2554, allocations: 409 kB / 0.9925 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 2.174e-06/0.2554, allocations: 0 / 0.9925 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.001623/0.257, allocations: 1.3 MB / 0.9938 GB, free: 11.92 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.738e-05/0.2571, allocations: 81.11 kB / 0.9939 GB, free: 11.82 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00169/0.2588, allocations: 1.277 MB / 0.9951 GB, free: 10.54 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.119e-05/0.2589, allocations: 25.7 kB / 0.9952 GB, free: 10.5 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002305/0.2592, allocations: 281.4 kB / 0.9954 GB, free: 10.22 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.083e-05/0.2592, allocations: 23.73 kB / 0.9954 GB, free: 10.2 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.788e-05/0.2593, allocations: 4 kB / 0.9954 GB, free: 10.2 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001539/0.2594, allocations: 427.9 kB / 0.9959 GB, free: 9.77 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001568/0.261, allocations: 1.369 MB / 0.9972 GB, free: 8.398 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001778/0.2628, allocations: 1.492 MB / 0.9986 GB, free: 6.898 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001964/0.2648, allocations: 1.895 MB / 1 GB, free: 4.988 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.282e-06/0.2649, allocations: 0 / 1 GB, free: 4.988 MB / 0.6198 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.005149/0.27, allocations: 3.957 MB / 1.004 GB, free: 0.9961 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.55e-05/0.2701, allocations: 4 kB / 1.004 GB, free: 0.9922 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.335e-05/0.2701, allocations: 0 / 1.004 GB, free: 0.9922 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.869e-05/0.2702, allocations: 4 kB / 1.004 GB, free: 0.9883 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000215/0.2704, allocations: 19.92 kB / 1.004 GB, free: 0.9688 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.877e-06/0.2704, allocations: 0 / 1.004 GB, free: 0.9688 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008695/0.2713, allocations: 232.3 kB / 1.005 GB, free: 0.7383 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.812e-05/0.2714, allocations: 27.98 kB / 1.005 GB, free: 0.7109 MB / 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.000436/0.2718, allocations: 249.6 kB / 1.005 GB, free: 468 kB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.418e-05/0.2719, allocations: 70.69 kB / 1.005 GB, free: 396 kB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004386/0.2724, allocations: 83.66 kB / 1.005 GB, free: 300 kB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.2724, allocations: 0 / 1.005 GB, free: 300 kB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.563e-06/0.2724, allocations: 4.031 kB / 1.005 GB, free: 296 kB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.2724, allocations: 0 / 1.005 GB, free: 296 kB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006881/0.2731, allocations: 0.5177 MB / 1.006 GB, free: 15.72 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.2732, allocations: 0 / 1.006 GB, free: 15.72 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001261/0.2733, allocations: 7.984 kB / 1.006 GB, free: 15.71 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.666e-06/0.2733, allocations: 4 kB / 1.006 GB, free: 15.71 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.141e-05/0.2733, allocations: 4 kB / 1.006 GB, free: 15.71 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.2734, allocations: 0 / 1.006 GB, free: 15.71 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.2734, allocations: 4 kB / 1.006 GB, free: 15.7 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001591/0.275, allocations: 1.028 MB / 1.007 GB, free: 14.65 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000232/0.2752, allocations: 159.7 kB / 1.007 GB, free: 14.48 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001101/0.2754, allocations: 4 kB / 1.007 GB, free: 14.47 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002693/0.2756, allocations: 7.984 kB / 1.007 GB, free: 14.46 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.072e-05/0.2757, allocations: 8 kB / 1.007 GB, free: 14.46 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.014e-05/0.2758, allocations: 15.97 kB / 1.007 GB, free: 14.44 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.00144/0.2772, allocations: 0.7062 MB / 1.007 GB, free: 13.73 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.81e-07/0.2772, allocations: 3.938 kB / 1.007 GB, free: 13.73 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001594/0.2788, allocations: 399.9 kB / 1.008 GB, free: 13.34 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.004072/0.2829, allocations: 2.002 MB / 1.01 GB, free: 11.3 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.003995/0.287, allocations: 2.495 MB / 1.012 GB, free: 8.793 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/0.287, allocations: 3.938 kB / 1.012 GB, free: 8.789 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.000562/0.2876, allocations: 335.8 kB / 1.013 GB, free: 8.461 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004574/0.2881, allocations: 49.97 kB / 1.013 GB, free: 8.414 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005669/0.2938, allocations: 2.752 MB / 1.015 GB, free: 5.602 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009016/0.2947, allocations: 1.003 MB / 1.016 GB, free: 4.57 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0003622/0.2951, allocations: 37.42 kB / 1.016 GB, free: 4.535 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005587/0.2957, allocations: 291.3 kB / 1.017 GB, free: 4.25 MB / 0.6355 GB Notification: Performance of SimCode: time 2.014e-06/0.2957, allocations: 3.938 kB / 1.017 GB, free: 4.246 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0595/0.3552, allocations: 17.62 MB / 1.034 GB, free: 2.777 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0006091/0.3559, allocations: 275.7 kB / 1.034 GB, free: 2.418 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.547/3.903, allocations: 3.938 kB / 1.034 GB, free: 2.414 MB / 0.6511 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)