Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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_8_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_8_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.001084/0.001084, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001217/0.001217, allocations: 189.8 kB / 16.25 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.508/1.508, allocations: 205.1 MB / 222.1 MB, free: 4.684 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.694/1.694, allocations: 292.3 MB / 0.5486 GB, free: 13.59 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001546/0.001546, allocations: 68.2 kB / 0.6711 GB, free: 26.22 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2324/0.2339, allocations: 114.5 MB / 0.783 GB, free: 13.75 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.003059/0.237, allocations: 1.477 MB / 0.7845 GB, free: 12.26 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004442/0.2415, allocations: 3.072 MB / 0.7875 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.408e-05/0.2416, allocations: 7.938 kB / 0.7875 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001108/0.2417, allocations: 7.922 kB / 0.7875 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002179/0.242, allocations: 23.91 kB / 0.7875 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002232/0.2442, allocations: 0.8934 MB / 0.7884 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001028/0.2443, allocations: 79.69 kB / 0.7884 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.119e-05/0.2444, allocations: 4 kB / 0.7884 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.475e-05/0.2444, allocations: 43.89 kB / 0.7885 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002295/0.2447, allocations: 156.9 kB / 0.7886 GB, free: 7.965 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.219e-05/0.2447, allocations: 12 kB / 0.7886 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001672/0.2464, allocations: 1.412 MB / 0.79 GB, free: 6.539 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001799/0.2466, allocations: 267.8 kB / 0.7903 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001941/0.2468, allocations: 274.3 kB / 0.7905 GB, free: 6.004 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001434/0.2482, allocations: 1.492 MB / 0.792 GB, free: 4.508 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.806e-06/0.2482, allocations: 0 / 0.792 GB, free: 4.508 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.082e-06/0.2482, allocations: 0 / 0.792 GB, free: 4.508 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.492e-06/0.2483, allocations: 0 / 0.792 GB, free: 4.508 MB / 0.6075 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.008869/0.2571, allocations: 1.214 MB / 0.7932 GB, free: 3.242 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.126e-05/0.2572, allocations: 12.03 kB / 0.7932 GB, free: 3.23 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.258e-05/0.2572, allocations: 34.75 kB / 0.7932 GB, free: 3.188 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003683/0.2576, allocations: 83.69 kB / 0.7933 GB, free: 3.105 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003713/0.258, allocations: 364.9 kB / 0.7937 GB, free: 2.699 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.315e-05/0.258, allocations: 384 / 0.7937 GB, free: 2.699 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.08e-05/0.2581, allocations: 4.375 kB / 0.7937 GB, free: 2.695 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004255/0.2585, allocations: 395.3 kB / 0.794 GB, free: 2.297 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.2585, allocations: 0 / 0.794 GB, free: 2.297 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.639e-05/0.2585, allocations: 8 kB / 0.794 GB, free: 2.289 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.2585, allocations: 0 / 0.794 GB, free: 2.289 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004057/0.259, allocations: 439.7 kB / 0.7945 GB, free: 1.859 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005291/0.2595, allocations: 0.6364 MB / 0.7951 GB, free: 1.172 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004889/0.26, allocations: 0.5594 MB / 0.7956 GB, free: 0.5938 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002882/0.2603, allocations: 341.6 kB / 0.796 GB, free: 260 kB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001088/0.2614, allocations: 1.028 MB / 0.797 GB, free: 15 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003955/0.2618, allocations: 404.8 kB / 0.7974 GB, free: 14.59 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=8): time 1.392e-06/0.2618, allocations: 0 / 0.7974 GB, free: 14.59 MB / 0.6231 GB Notification: Performance of matching and sorting (n=8): time 0.001217/0.263, allocations: 1.297 MB / 0.7986 GB, free: 13.29 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.741e-05/0.2631, allocations: 77.11 kB / 0.7987 GB, free: 13.19 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00103/0.2641, allocations: 1.206 MB / 0.7999 GB, free: 11.97 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.706e-05/0.2642, allocations: 29.7 kB / 0.7999 GB, free: 11.93 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001736/0.2643, allocations: 257.4 kB / 0.8001 GB, free: 11.68 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 3.662e-05/0.2644, allocations: 27.64 kB / 0.8002 GB, free: 11.65 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002929/0.2647, allocations: 347.5 kB / 0.8005 GB, free: 11.3 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 9.919e-05/0.2648, allocations: 318.1 kB / 0.8008 GB, free: 10.99 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001119/0.2659, allocations: 1.361 MB / 0.8021 GB, free: 9.625 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001181/0.2671, allocations: 1.497 MB / 0.8036 GB, free: 8.117 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006868/0.274, allocations: 3.538 MB / 0.8071 GB, free: 4.488 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/0.274, allocations: 0 / 0.8071 GB, free: 4.488 MB / 0.6231 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004009/0.278, allocations: 3.969 MB / 0.8109 GB, free: 496 kB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.413e-05/0.2781, allocations: 6.656 kB / 0.8109 GB, free: 492 kB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.473e-05/0.2781, allocations: 0 / 0.8109 GB, free: 492 kB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.019e-05/0.2781, allocations: 4 kB / 0.8109 GB, free: 488 kB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00014/0.2783, allocations: 15.98 kB / 0.811 GB, free: 472 kB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.226e-06/0.2783, allocations: 4.031 kB / 0.811 GB, free: 468 kB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004338/0.2787, allocations: 228.3 kB / 0.8112 GB, free: 236 kB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.92e-05/0.2788, allocations: 23.98 kB / 0.8112 GB, free: 212 kB / 0.6231 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.0002865/0.2791, allocations: 241.6 kB / 0.8114 GB, free: 15.96 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.169e-05/0.2791, allocations: 74.72 kB / 0.8115 GB, free: 15.88 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002676/0.2794, allocations: 78.78 kB / 0.8116 GB, free: 15.8 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.2794, allocations: 4 kB / 0.8116 GB, free: 15.8 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.2794, allocations: 0 / 0.8116 GB, free: 15.8 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.2794, allocations: 0 / 0.8116 GB, free: 15.8 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004018/0.2799, allocations: 492.8 kB / 0.812 GB, free: 15.27 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.2799, allocations: 7.875 kB / 0.8121 GB, free: 15.26 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.131e-05/0.2799, allocations: 11.98 kB / 0.8121 GB, free: 15.25 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.28, allocations: 0 / 0.8121 GB, free: 15.25 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.6e-05/0.28, allocations: 8 kB / 0.8121 GB, free: 15.24 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.28, allocations: 0 / 0.8121 GB, free: 15.24 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.28, allocations: 0 / 0.8121 GB, free: 15.24 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008339/0.2808, allocations: 1.001 MB / 0.8131 GB, free: 14.22 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001019/0.2809, allocations: 151.8 kB / 0.8132 GB, free: 14.05 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.89e-05/0.281, allocations: 0 / 0.8132 GB, free: 14.05 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001364/0.2812, allocations: 11.98 kB / 0.8132 GB, free: 14.04 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.742e-05/0.2812, allocations: 11.94 kB / 0.8132 GB, free: 14.03 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.669e-05/0.2812, allocations: 15.97 kB / 0.8132 GB, free: 14.01 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0006351/0.2819, allocations: 0.6648 MB / 0.8139 GB, free: 13.34 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2819, allocations: 0 / 0.8139 GB, free: 13.34 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.000972/0.2829, allocations: 395.8 kB / 0.8143 GB, free: 12.95 MB / 0.6387 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.00221/0.2851, allocations: 1.92 MB / 0.8161 GB, free: 11 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002099/0.2872, allocations: 2.499 MB / 0.8186 GB, free: 8.488 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/0.2872, allocations: 3.938 kB / 0.8186 GB, free: 8.484 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0003031/0.2875, allocations: 331.8 kB / 0.8189 GB, free: 8.16 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002971/0.2878, allocations: 36.48 kB / 0.8189 GB, free: 8.125 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01415/0.302, allocations: 15.04 MB / 0.8336 GB, free: 8.91 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004946/0.3025, allocations: 0.9601 MB / 0.8346 GB, free: 7.922 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001847/0.3027, allocations: 40.67 kB / 0.8346 GB, free: 7.883 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002945/0.303, allocations: 259.3 kB / 0.8348 GB, free: 7.629 MB / 0.6544 GB Notification: Performance of SimCode: time 7.92e-07/0.303, allocations: 0 / 0.8348 GB, free: 7.629 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03453/0.3376, allocations: 19.34 MB / 0.8537 GB, free: 4.512 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002156/0.3378, allocations: 292 kB / 0.854 GB, free: 4.133 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.474/2.811, allocations: 0 / 0.854 GB, free: 4.133 MB / 0.67 GB (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters_fmu --startTime=0 --stopTime=4.12e+08 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters.fmu > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1)