Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,fileNamePrefix="Buildings_9_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_9_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00142/0.00142, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001343/0.001343, allocations: 193.1 kB / 16.13 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.327/1.327, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.313/2.313, allocations: 390.2 MB / 0.6643 GB, free: 0.582 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001309/0.001309, allocations: 67.91 kB / 0.812 GB, free: 14.74 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8606/0.8619, allocations: 140.4 MB / 0.9491 GB, free: 9.105 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.00258/0.8646, allocations: 1.463 MB / 0.9505 GB, free: 7.949 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.004609/0.8692, allocations: 3.229 MB / 0.9537 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.959e-05/0.8693, allocations: 0 / 0.9537 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001218/0.8694, allocations: 9.078 kB / 0.9537 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002136/0.8696, allocations: 30.75 kB / 0.9537 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001987/0.8716, allocations: 0.7602 MB / 0.9545 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001421/0.8718, allocations: 114.4 kB / 0.9546 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.909e-05/0.8718, allocations: 3.406 kB / 0.9546 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.363e-05/0.8719, allocations: 43.27 kB / 0.9546 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00024/0.8721, allocations: 155.7 kB / 0.9548 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.556e-05/0.8722, allocations: 14.25 kB / 0.9548 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001874/0.8741, allocations: 1.394 MB / 0.9561 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002019/0.8743, allocations: 272.8 kB / 0.9564 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002122/0.8745, allocations: 274.1 kB / 0.9567 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001673/0.8762, allocations: 1.472 MB / 0.9581 GB, free: 2.844 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.994e-06/0.8762, allocations: 0 / 0.9581 GB, free: 2.844 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.804e-06/0.8762, allocations: 0 / 0.9581 GB, free: 2.844 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.017e-05/0.8762, allocations: 0 / 0.9581 GB, free: 2.844 MB / 0.7169 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.007882/0.8841, allocations: 1.211 MB / 0.9593 GB, free: 1.883 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.839e-05/0.8842, allocations: 9.062 kB / 0.9593 GB, free: 1.883 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.789e-05/0.8842, allocations: 35.88 kB / 0.9593 GB, free: 1.84 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004132/0.8846, allocations: 85.16 kB / 0.9594 GB, free: 1.781 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004313/0.8851, allocations: 357 kB / 0.9597 GB, free: 1.461 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.186e-05/0.8851, allocations: 11.25 kB / 0.9597 GB, free: 1.453 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.439e-05/0.8851, allocations: 13.73 kB / 0.9598 GB, free: 1.445 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004889/0.8856, allocations: 394.2 kB / 0.9601 GB, free: 1.32 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.8857, allocations: 0 / 0.9601 GB, free: 1.32 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.236e-05/0.8857, allocations: 1.125 kB / 0.9601 GB, free: 1.32 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.254e-06/0.8857, allocations: 1.062 kB / 0.9601 GB, free: 1.32 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005096/0.8862, allocations: 438.1 kB / 0.9606 GB, free: 1.246 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005497/0.8868, allocations: 0.631 MB / 0.9612 GB, free: 0.7539 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006348/0.8874, allocations: 0.566 MB / 0.9617 GB, free: 0.6133 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003952/0.8878, allocations: 345.5 kB / 0.9621 GB, free: 0.5352 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001082/0.8889, allocations: 1.027 MB / 0.9631 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005154/0.8894, allocations: 411.2 kB / 0.9634 GB, free: 15.22 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=8): time 1.443e-06/0.8894, allocations: 0 / 0.9634 GB, free: 15.22 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8): time 0.001607/0.8911, allocations: 1.292 MB / 0.9647 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.672e-05/0.8911, allocations: 80.2 kB / 0.9648 GB, free: 14.83 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001386/0.8925, allocations: 1.205 MB / 0.966 GB, free: 14.13 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.972e-05/0.8926, allocations: 31.83 kB / 0.966 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002018/0.8928, allocations: 256.6 kB / 0.9662 GB, free: 13.87 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.423e-05/0.8928, allocations: 22.92 kB / 0.9663 GB, free: 13.85 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003867/0.8932, allocations: 352.1 kB / 0.9666 GB, free: 13.68 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001997/0.8934, allocations: 315.4 kB / 0.9669 GB, free: 13.37 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001561/0.895, allocations: 1.359 MB / 0.9682 GB, free: 12.8 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00155/0.8966, allocations: 1.493 MB / 0.9697 GB, free: 12.12 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007663/0.9042, allocations: 3.543 MB / 0.9731 GB, free: 8.844 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.9043, allocations: 4 kB / 0.9731 GB, free: 8.84 MB / 0.7325 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004635/0.9089, allocations: 3.961 MB / 0.977 GB, free: 4.844 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.356e-05/0.9089, allocations: 6.031 kB / 0.977 GB, free: 4.84 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.553e-05/0.909, allocations: 3.938 kB / 0.977 GB, free: 4.836 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/0.909, allocations: 4 kB / 0.977 GB, free: 4.832 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001339/0.9091, allocations: 15.98 kB / 0.977 GB, free: 4.816 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/0.9091, allocations: 320 / 0.977 GB, free: 4.816 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006337/0.9098, allocations: 236.3 kB / 0.9773 GB, free: 4.582 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.375e-05/0.9098, allocations: 19.98 kB / 0.9773 GB, free: 4.562 MB / 0.7325 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.0003453/0.9102, allocations: 237.7 kB / 0.9775 GB, free: 4.316 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.418e-05/0.9103, allocations: 74.66 kB / 0.9776 GB, free: 4.242 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002809/0.9106, allocations: 66.91 kB / 0.9776 GB, free: 4.164 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.9106, allocations: 8.031 kB / 0.9777 GB, free: 4.156 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.72e-06/0.9106, allocations: 0 / 0.9777 GB, free: 4.156 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.9106, allocations: 0 / 0.9777 GB, free: 4.156 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005681/0.9112, allocations: 0.4928 MB / 0.9781 GB, free: 3.617 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.9112, allocations: 3.938 kB / 0.9781 GB, free: 3.613 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.917e-05/0.9113, allocations: 11.98 kB / 0.9782 GB, free: 3.602 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.9113, allocations: 0 / 0.9782 GB, free: 3.602 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.651e-05/0.9113, allocations: 4 kB / 0.9782 GB, free: 3.598 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.9113, allocations: 3.984 kB / 0.9782 GB, free: 3.594 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.9113, allocations: 3.984 kB / 0.9782 GB, free: 3.59 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001047/0.9124, allocations: 0.9974 MB / 0.9791 GB, free: 2.57 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002078/0.9126, allocations: 151.8 kB / 0.9793 GB, free: 2.402 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.328e-05/0.9127, allocations: 7.984 kB / 0.9793 GB, free: 2.395 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001344/0.9128, allocations: 8 kB / 0.9793 GB, free: 2.387 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.346e-05/0.9129, allocations: 15.92 kB / 0.9793 GB, free: 2.371 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.31e-05/0.9129, allocations: 11.98 kB / 0.9793 GB, free: 2.359 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0007487/0.9137, allocations: 0.6648 MB / 0.98 GB, free: 1.688 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9137, allocations: 0 / 0.98 GB, free: 1.688 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001464/0.9151, allocations: 395.9 kB / 0.9804 GB, free: 1.301 MB / 0.7325 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.003069/0.9182, allocations: 1.929 MB / 0.9822 GB, free: 15.34 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.002491/0.9207, allocations: 2.496 MB / 0.9847 GB, free: 12.84 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.9207, allocations: 0 / 0.9847 GB, free: 12.84 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0003748/0.9211, allocations: 339.8 kB / 0.985 GB, free: 12.5 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003482/0.9215, allocations: 32.5 kB / 0.985 GB, free: 12.47 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01892/0.9404, allocations: 15.04 MB / 0.9997 GB, free: 13.26 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007351/0.9412, allocations: 0.9643 MB / 1.001 GB, free: 12.27 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0002002/0.9414, allocations: 28.56 kB / 1.001 GB, free: 12.24 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000335/0.9418, allocations: 259.3 kB / 1.001 GB, free: 11.99 MB / 0.7637 GB Notification: Performance of SimCode: time 1.903e-06/0.9418, allocations: 0 / 1.001 GB, free: 11.99 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04254/0.9843, allocations: 19.06 MB / 1.02 GB, free: 9.129 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000336/0.9847, allocations: 296.7 kB / 1.02 GB, free: 8.75 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.4/3.384, allocations: 0 / 1.02 GB, free: 8.75 MB / 0.7794 GB (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters_fmu --startTime=0 --stopTime=4.12e+08 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters.fmu > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1)