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_1borehole_5meters.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_1borehole_5meters,fileNamePrefix="Buildings_maint_7_0_x_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_maint_7_0_x_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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.429/1.429, allocations: 251.5 MB / 266.7 MB, free: 11.04 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.0009522/0.0009523, allocations: 179.2 kB / 325.8 MB, free: 2.703 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.636/1.636, allocations: 205 MB / 0.576 GB, free: 21.02 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.0007939/0.000794, allocations: 89.17 kB / 0.6797 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003268/0.0003268, allocations: 9 kB / 0.7933 GB, free: 136.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2407/0.241, allocations: 105.4 MB / 0.8962 GB, free: 68.07 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.001586/0.2426, allocations: 1.154 MB / 0.8974 GB, free: 66.91 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.004087/0.2467, allocations: 3.268 MB / 0.9006 GB, free: 63.63 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.258e-05/0.2468, allocations: 7.938 kB / 0.9006 GB, free: 63.62 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001208/0.2469, allocations: 7.922 kB / 0.9006 GB, free: 63.61 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.000228/0.2472, allocations: 31.84 kB / 0.9006 GB, free: 63.58 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001689/0.2489, allocations: 0.7617 MB / 0.9013 GB, free: 62.82 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001043/0.249, allocations: 111.7 kB / 0.9014 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.486e-05/0.249, allocations: 4 kB / 0.9015 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.047e-05/0.2491, allocations: 39.84 kB / 0.9015 GB, free: 62.67 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001944/0.2493, allocations: 157 kB / 0.9016 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.564e-05/0.2494, allocations: 12 kB / 0.9017 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00165/0.251, allocations: 1.4 MB / 0.903 GB, free: 61.1 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001791/0.2512, allocations: 259.9 kB / 0.9033 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001944/0.2514, allocations: 278.3 kB / 0.9035 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.001489/0.2529, allocations: 1.469 MB / 0.905 GB, free: 59.1 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.2529, allocations: 0 / 0.905 GB, free: 59.1 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.754e-06/0.2529, allocations: 4 kB / 0.905 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 9.187e-06/0.253, allocations: 0 / 0.905 GB, free: 59.09 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.00788/0.2608, allocations: 1.152 MB / 0.9061 GB, free: 57.89 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.898e-05/0.2609, allocations: 12.03 kB / 0.9061 GB, free: 57.88 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.302e-05/0.2609, allocations: 42.67 kB / 0.9061 GB, free: 57.83 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003253/0.2613, allocations: 83.69 kB / 0.9062 GB, free: 57.75 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003314/0.2616, allocations: 356.9 kB / 0.9066 GB, free: 57.35 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.492e-05/0.2616, allocations: 4.375 kB / 0.9066 GB, free: 57.34 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.701e-05/0.2617, allocations: 8.375 kB / 0.9066 GB, free: 57.34 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003458/0.262, allocations: 399.2 kB / 0.907 GB, free: 56.93 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.2621, allocations: 0 / 0.907 GB, free: 56.93 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.221e-05/0.2621, allocations: 0 / 0.907 GB, free: 56.93 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.2621, allocations: 4 kB / 0.907 GB, free: 56.93 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003133/0.2624, allocations: 431.7 kB / 0.9074 GB, free: 56.51 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003878/0.2628, allocations: 0.6326 MB / 0.908 GB, free: 55.82 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003709/0.2632, allocations: 0.5633 MB / 0.9085 GB, free: 55.24 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002092/0.2634, allocations: 337.7 kB / 0.9089 GB, free: 54.91 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007729/0.2642, allocations: 1.044 MB / 0.9099 GB, free: 53.64 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002776/0.2645, allocations: 404.8 kB / 0.9103 GB, free: 53.23 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=8): time 1.263e-06/0.2645, allocations: 4 kB / 0.9103 GB, free: 53.22 MB / 0.6042 GB Notification: Performance of matching and sorting (n=8): time 0.0009578/0.2654, allocations: 1.293 MB / 0.9115 GB, free: 51.92 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.473e-05/0.2655, allocations: 81.11 kB / 0.9116 GB, free: 51.82 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008034/0.2663, allocations: 1.202 MB / 0.9128 GB, free: 50.61 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.926e-05/0.2663, allocations: 29.7 kB / 0.9128 GB, free: 50.57 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001264/0.2665, allocations: 265.5 kB / 0.9131 GB, free: 50.3 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.077e-05/0.2665, allocations: 19.75 kB / 0.9131 GB, free: 50.29 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001632/0.2667, allocations: 287.6 kB / 0.9134 GB, free: 50 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.179e-05/0.2667, allocations: 314 kB / 0.9137 GB, free: 49.69 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008399/0.2676, allocations: 1.357 MB / 0.915 GB, free: 48.33 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009429/0.2685, allocations: 1.493 MB / 0.9164 GB, free: 46.82 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005899/0.2744, allocations: 3.541 MB / 0.9199 GB, free: 43.19 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.2745, allocations: 4 kB / 0.9199 GB, free: 43.19 MB / 0.6042 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.003129/0.2776, allocations: 3.963 MB / 0.9238 GB, free: 39.19 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.292e-05/0.2776, allocations: 11.94 kB / 0.9238 GB, free: 39.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.599e-05/0.2777, allocations: 320 / 0.9238 GB, free: 39.18 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.2777, allocations: 4.031 kB / 0.9238 GB, free: 39.18 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001322/0.2778, allocations: 15.98 kB / 0.9238 GB, free: 39.16 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.979e-06/0.2778, allocations: 4 kB / 0.9238 GB, free: 39.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003877/0.2782, allocations: 224.4 kB / 0.924 GB, free: 38.93 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.363e-05/0.2783, allocations: 31.97 kB / 0.9241 GB, free: 38.9 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.0002299/0.2785, allocations: 241.6 kB / 0.9243 GB, free: 38.66 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.214e-05/0.2786, allocations: 66.72 kB / 0.9244 GB, free: 38.59 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002692/0.2789, allocations: 78.89 kB / 0.9244 GB, free: 38.5 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.2789, allocations: 0 / 0.9244 GB, free: 38.5 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.755e-06/0.2789, allocations: 4 kB / 0.9244 GB, free: 38.5 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.2789, allocations: 3.938 kB / 0.9244 GB, free: 38.5 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003217/0.2792, allocations: 0.4889 MB / 0.9249 GB, free: 37.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.257e-06/0.2792, allocations: 3.938 kB / 0.9249 GB, free: 37.96 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.058e-05/0.2793, allocations: 4 kB / 0.9249 GB, free: 37.95 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.2793, allocations: 8.031 kB / 0.9249 GB, free: 37.95 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.305e-05/0.2793, allocations: 7.922 kB / 0.9249 GB, free: 37.94 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.2793, allocations: 0 / 0.9249 GB, free: 37.94 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.2793, allocations: 4 kB / 0.9249 GB, free: 37.93 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006415/0.28, allocations: 0.9896 MB / 0.9259 GB, free: 36.92 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 7.072e-05/0.2801, allocations: 167.8 kB / 0.9261 GB, free: 36.74 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.512e-05/0.2801, allocations: 0 / 0.9261 GB, free: 36.74 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001262/0.2803, allocations: 8 kB / 0.9261 GB, free: 36.73 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.692e-05/0.2803, allocations: 11.97 kB / 0.9261 GB, free: 36.72 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.967e-05/0.2804, allocations: 7.984 kB / 0.9261 GB, free: 36.71 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0005217/0.2809, allocations: 0.6726 MB / 0.9267 GB, free: 36.03 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2809, allocations: 0 / 0.9267 GB, free: 36.03 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001009/0.2819, allocations: 391.9 kB / 0.9271 GB, free: 35.65 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.001835/0.2838, allocations: 1.931 MB / 0.929 GB, free: 33.68 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001615/0.2854, allocations: 2.492 MB / 0.9314 GB, free: 31.18 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.2854, allocations: 0 / 0.9314 GB, free: 31.18 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002319/0.2856, allocations: 339.8 kB / 0.9318 GB, free: 30.85 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003115/0.286, allocations: 40.56 kB / 0.9318 GB, free: 30.81 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01103/0.297, allocations: 15.02 MB / 0.9465 GB, free: 15.61 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003211/0.2974, allocations: 0.964 MB / 0.9474 GB, free: 14.62 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001623/0.2975, allocations: 36.56 kB / 0.9475 GB, free: 14.59 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002277/0.2978, allocations: 259.3 kB / 0.9477 GB, free: 14.33 MB / 0.6042 GB Notification: Performance of SimCode: time 9.62e-07/0.2978, allocations: 0 / 0.9477 GB, free: 14.33 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1049/0.4027, allocations: 18.92 MB / 0.9662 GB, free: 11.63 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002461/0.403, allocations: 303.8 kB / 0.9665 GB, free: 11.25 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.763/3.166, allocations: 0 / 0.9665 GB, free: 11.25 MB / 0.6198 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.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_1borehole_5meters_fmu --startTime=0 --stopTime=4.12e+08 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1)