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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.007824/0.007824, allocations: 104.7 kB / 15.74 MB, free: 6.484 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.001772/0.001772, allocations: 193.5 kB / 16.67 MB, free: 6.375 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.457/1.457, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.428/2.428, allocations: 390.2 MB / 0.6648 GB, free: 204 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 67.7 kB / 0.9505 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3107/0.312, allocations: 140.4 MB / 1.088 GB, free: 1.965 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.002774/0.3148, allocations: 1.413 MB / 1.089 GB, free: 0.543 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.005183/0.32, allocations: 3.037 MB / 1.092 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.178e-05/0.3201, allocations: 0 / 1.092 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001198/0.3203, allocations: 11.88 kB / 1.092 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002512/0.3205, allocations: 35.83 kB / 1.092 GB, free: 13.44 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002991/0.3235, allocations: 0.991 MB / 1.093 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001496/0.3237, allocations: 83.73 kB / 1.093 GB, free: 12.37 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.876e-05/0.3237, allocations: 4 kB / 1.093 GB, free: 12.37 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.824e-05/0.3238, allocations: 47.84 kB / 1.093 GB, free: 12.32 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002549/0.3241, allocations: 139.6 kB / 1.093 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.976e-05/0.3241, allocations: 12 kB / 1.093 GB, free: 12.17 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002362/0.3265, allocations: 1.385 MB / 1.095 GB, free: 10.79 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002231/0.3268, allocations: 267.8 kB / 1.095 GB, free: 10.52 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002724/0.327, allocations: 274.3 kB / 1.095 GB, free: 10.25 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002266/0.3293, allocations: 1.47 MB / 1.096 GB, free: 8.781 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.3293, allocations: 4 kB / 1.096 GB, free: 8.777 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.504e-06/0.3293, allocations: 0 / 1.096 GB, free: 8.777 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 2.194e-05/0.3294, allocations: 4 kB / 1.096 GB, free: 8.773 MB / 0.8575 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.007836/0.3372, allocations: 1.214 MB / 1.098 GB, free: 7.508 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/0.3373, allocations: 12.03 kB / 1.098 GB, free: 7.496 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.141e-05/0.3373, allocations: 34.73 kB / 1.098 GB, free: 7.453 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003443/0.3377, allocations: 83.69 kB / 1.098 GB, free: 7.371 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003866/0.3381, allocations: 360.9 kB / 1.098 GB, free: 6.969 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.345e-05/0.3381, allocations: 8.375 kB / 1.098 GB, free: 6.961 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.769e-05/0.3381, allocations: 4.375 kB / 1.098 GB, free: 6.957 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004494/0.3386, allocations: 395.3 kB / 1.099 GB, free: 6.559 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.265e-06/0.3386, allocations: 0 / 1.099 GB, free: 6.559 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.422e-05/0.3386, allocations: 0 / 1.099 GB, free: 6.559 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.3386, allocations: 7.938 kB / 1.099 GB, free: 6.551 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004304/0.3391, allocations: 431.8 kB / 1.099 GB, free: 6.129 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007744/0.3398, allocations: 0.6326 MB / 1.1 GB, free: 5.445 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000518/0.3404, allocations: 0.5594 MB / 1.1 GB, free: 4.867 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003133/0.3407, allocations: 337.7 kB / 1.1 GB, free: 4.531 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001064/0.3418, allocations: 1.028 MB / 1.101 GB, free: 3.281 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004012/0.3422, allocations: 404.8 kB / 1.102 GB, free: 2.867 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=8): time 1.333e-06/0.3422, allocations: 7.938 kB / 1.102 GB, free: 2.859 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.001276/0.3435, allocations: 1.285 MB / 1.103 GB, free: 1.566 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.968e-05/0.3436, allocations: 89.03 kB / 1.103 GB, free: 1.461 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001192/0.3448, allocations: 1.206 MB / 1.104 GB, free: 244 kB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.455e-05/0.3448, allocations: 25.7 kB / 1.104 GB, free: 212 kB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001856/0.345, allocations: 265.5 kB / 1.105 GB, free: 15.94 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 5.088e-05/0.3451, allocations: 19.75 kB / 1.105 GB, free: 15.92 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000311/0.3454, allocations: 347.5 kB / 1.105 GB, free: 15.58 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001223/0.3455, allocations: 318 kB / 1.105 GB, free: 15.26 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001186/0.3467, allocations: 1.354 MB / 1.107 GB, free: 13.91 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001375/0.3481, allocations: 1.497 MB / 1.108 GB, free: 12.4 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007259/0.3554, allocations: 3.538 MB / 1.112 GB, free: 8.77 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.999e-06/0.3554, allocations: 0 / 1.112 GB, free: 8.77 MB / 0.8731 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.00479/0.3602, allocations: 3.965 MB / 1.115 GB, free: 4.77 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.169e-05/0.3603, allocations: 4 kB / 1.115 GB, free: 4.766 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.715e-05/0.3603, allocations: 4.031 kB / 1.115 GB, free: 4.762 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.554e-05/0.3603, allocations: 11.98 kB / 1.115 GB, free: 4.75 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000134/0.3605, allocations: 15.94 kB / 1.115 GB, free: 4.734 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/0.3605, allocations: 0 / 1.115 GB, free: 4.734 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004784/0.361, allocations: 232.2 kB / 1.116 GB, free: 4.504 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001566/0.3612, allocations: 28.3 kB / 1.116 GB, free: 4.477 MB / 0.8731 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.0003363/0.3615, allocations: 237.7 kB / 1.116 GB, free: 4.234 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.317e-05/0.3616, allocations: 70.72 kB / 1.116 GB, free: 4.164 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002874/0.3619, allocations: 78.83 kB / 1.116 GB, free: 4.07 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.3619, allocations: 4 kB / 1.116 GB, free: 4.066 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.3619, allocations: 0 / 1.116 GB, free: 4.066 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.362, allocations: 0 / 1.116 GB, free: 4.066 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004577/0.3624, allocations: 0.4889 MB / 1.117 GB, free: 3.531 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.3624, allocations: 3.938 kB / 1.117 GB, free: 3.527 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.17e-05/0.3625, allocations: 8 kB / 1.117 GB, free: 3.52 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.43e-06/0.3625, allocations: 8.016 kB / 1.117 GB, free: 3.512 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.664e-05/0.3625, allocations: 3.984 kB / 1.117 GB, free: 3.508 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.417e-06/0.3625, allocations: 4 kB / 1.117 GB, free: 3.504 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.3626, allocations: 0 / 1.117 GB, free: 3.504 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009215/0.3635, allocations: 0.9974 MB / 1.118 GB, free: 2.484 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001206/0.3636, allocations: 163.8 kB / 1.118 GB, free: 2.305 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.978e-05/0.3637, allocations: 4 kB / 1.118 GB, free: 2.301 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001344/0.3638, allocations: 4 kB / 1.118 GB, free: 2.297 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.599e-05/0.3639, allocations: 7.984 kB / 1.118 GB, free: 2.289 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.027e-05/0.3639, allocations: 11.98 kB / 1.118 GB, free: 2.277 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0007265/0.3646, allocations: 0.6687 MB / 1.118 GB, free: 1.602 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.81e-07/0.3646, allocations: 0 / 1.118 GB, free: 1.602 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001155/0.3658, allocations: 395.8 kB / 1.119 GB, free: 1.215 MB / 0.8731 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.003006/0.3688, allocations: 1.92 MB / 1.121 GB, free: 15.26 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.002438/0.3713, allocations: 2.499 MB / 1.123 GB, free: 12.75 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.3713, allocations: 0 / 1.123 GB, free: 12.75 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0003389/0.3716, allocations: 339.9 kB / 1.123 GB, free: 12.42 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003456/0.372, allocations: 36.48 kB / 1.123 GB, free: 12.38 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01644/0.3885, allocations: 15.02 MB / 1.138 GB, free: 13.19 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006364/0.3891, allocations: 0.964 MB / 1.139 GB, free: 12.2 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0001424/0.3893, allocations: 36.55 kB / 1.139 GB, free: 12.16 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003227/0.3896, allocations: 259.3 kB / 1.139 GB, free: 11.91 MB / 0.9044 GB Notification: Performance of SimCode: time 2.625e-06/0.3897, allocations: 0 / 1.139 GB, free: 11.91 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05313/0.4428, allocations: 19.62 MB / 1.158 GB, free: 8.504 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.747/10.19, allocations: 12.16 kB / 1.158 GB, free: 8.496 MB / 0.92 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)