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/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.756/1.756, allocations: 292.3 MB / 308.1 MB, free: 4.27 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.001946/0.001947, allocations: 194.4 kB / 376.9 MB, free: 1.766 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.631/1.631, allocations: 205 MB / 0.6354 GB, free: 9.746 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009025/0.0009023, allocations: 108.5 kB / 0.748 GB, free: 61.04 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.00114/0.00114, allocations: 55.92 kB / 0.8704 GB, free: 13.02 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2704/0.2715, allocations: 114.5 MB / 0.9823 GB, free: 10.32 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.003001/0.2746, allocations: 1.465 MB / 0.9837 GB, free: 8.832 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.005067/0.2797, allocations: 3.274 MB / 0.9869 GB, free: 5.543 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.134e-05/0.2798, allocations: 7.938 kB / 0.9869 GB, free: 5.535 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0001116/0.2799, allocations: 7.938 kB / 0.9869 GB, free: 5.527 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.000257/0.2802, allocations: 35.83 kB / 0.9869 GB, free: 5.492 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.002344/0.2825, allocations: 0.7608 MB / 0.9877 GB, free: 4.73 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001414/0.2827, allocations: 99.8 kB / 0.9878 GB, free: 4.633 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 4.95e-05/0.2827, allocations: 11.98 kB / 0.9878 GB, free: 4.621 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 7.058e-05/0.2828, allocations: 43.78 kB / 0.9878 GB, free: 4.578 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002485/0.2831, allocations: 153 kB / 0.988 GB, free: 4.426 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 4.116e-05/0.2831, allocations: 12 kB / 0.988 GB, free: 4.414 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002184/0.2853, allocations: 1.392 MB / 0.9893 GB, free: 3.02 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0002134/0.2856, allocations: 271.8 kB / 0.9896 GB, free: 2.754 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0002965/0.2859, allocations: 274.3 kB / 0.9899 GB, free: 2.484 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.002706/0.2886, allocations: 1.465 MB / 0.9913 GB, free: 1.016 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 6.583e-06/0.2886, allocations: 4 kB / 0.9913 GB, free: 1.012 MB / 0.7136 GB Notification: Performance of FrontEnd: time 4.408e-06/0.2886, allocations: 7.922 kB / 0.9913 GB, free: 1.004 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.017e-05/0.2886, allocations: 0 / 0.9913 GB, free: 1.004 MB / 0.7136 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.0107/0.2993, allocations: 1.203 MB / 0.9925 GB, free: 15.75 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.633e-05/0.2994, allocations: 12.03 kB / 0.9925 GB, free: 15.74 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003945/0.2998, allocations: 87.69 kB / 0.9926 GB, free: 15.65 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004637/0.3003, allocations: 364.8 kB / 0.9929 GB, free: 15.25 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.438e-05/0.3003, allocations: 4.375 kB / 0.9929 GB, free: 15.24 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.675e-05/0.3004, allocations: 4.375 kB / 0.9929 GB, free: 15.24 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000449/0.3008, allocations: 399.5 kB / 0.9933 GB, free: 14.84 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.3008, allocations: 0 / 0.9933 GB, free: 14.84 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.429e-05/0.3009, allocations: 8 kB / 0.9933 GB, free: 14.83 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.3009, allocations: 0 / 0.9933 GB, free: 14.83 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000435/0.3013, allocations: 439.7 kB / 0.9937 GB, free: 14.4 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005881/0.3019, allocations: 0.6247 MB / 0.9944 GB, free: 13.72 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005153/0.3024, allocations: 0.571 MB / 0.9949 GB, free: 13.13 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002927/0.3027, allocations: 337.7 kB / 0.9952 GB, free: 12.8 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001003/0.3037, allocations: 1.025 MB / 0.9962 GB, free: 11.55 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003908/0.3042, allocations: 408.8 kB / 0.9966 GB, free: 11.13 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=8): time 1.372e-06/0.3042, allocations: 3.938 kB / 0.9966 GB, free: 11.13 MB / 0.7292 GB Notification: Performance of matching and sorting (n=8): time 0.001216/0.3054, allocations: 1.289 MB / 0.9979 GB, free: 9.832 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.598e-05/0.3055, allocations: 93.17 kB / 0.998 GB, free: 9.723 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00112/0.3066, allocations: 1.202 MB / 0.9992 GB, free: 8.504 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.249e-05/0.3066, allocations: 29.7 kB / 0.9992 GB, free: 8.469 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001776/0.3068, allocations: 257.4 kB / 0.9994 GB, free: 8.211 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.586e-05/0.3069, allocations: 23.7 kB / 0.9994 GB, free: 8.188 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003241/0.3072, allocations: 351.5 kB / 0.9998 GB, free: 7.84 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.784e-05/0.3073, allocations: 310 kB / 1 GB, free: 7.531 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001178/0.3085, allocations: 1.365 MB / 1.001 GB, free: 6.164 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001286/0.3098, allocations: 1.493 MB / 1.003 GB, free: 4.66 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006935/0.3167, allocations: 3.538 MB / 1.006 GB, free: 1.031 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.3167, allocations: 0 / 1.006 GB, free: 1.031 MB / 0.7292 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004709/0.3215, allocations: 3.969 MB / 1.01 GB, free: 13.03 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.427e-05/0.3215, allocations: 4 kB / 1.01 GB, free: 13.02 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.108e-05/0.3215, allocations: 4 kB / 1.01 GB, free: 13.02 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.952e-05/0.3216, allocations: 0 / 1.01 GB, free: 13.02 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001423/0.3217, allocations: 19.92 kB / 1.01 GB, free: 13 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.866e-06/0.3217, allocations: 0 / 1.01 GB, free: 13 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005005/0.3222, allocations: 228.3 kB / 1.01 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.823e-05/0.3223, allocations: 27.98 kB / 1.01 GB, free: 12.75 MB / 0.7448 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.0002861/0.3226, allocations: 241.7 kB / 1.011 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.537e-05/0.3227, allocations: 66.72 kB / 1.011 GB, free: 12.43 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003004/0.323, allocations: 78.83 kB / 1.011 GB, free: 12.35 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.323, allocations: 0 / 1.011 GB, free: 12.35 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.323, allocations: 0 / 1.011 GB, free: 12.35 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.64e-06/0.323, allocations: 4 kB / 1.011 GB, free: 12.34 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004382/0.3235, allocations: 0.489 MB / 1.011 GB, free: 11.81 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.3235, allocations: 0 / 1.011 GB, free: 11.81 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.474e-05/0.3236, allocations: 11.92 kB / 1.011 GB, free: 11.8 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.3236, allocations: 3.938 kB / 1.011 GB, free: 11.79 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.573e-05/0.3236, allocations: 4 kB / 1.011 GB, free: 11.79 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.3236, allocations: 0 / 1.011 GB, free: 11.79 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.3236, allocations: 0 / 1.011 GB, free: 11.79 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001739/0.3254, allocations: 2.249 MB / 1.014 GB, free: 9.477 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001461/0.3255, allocations: 151.8 kB / 1.014 GB, free: 9.309 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.593e-05/0.3256, allocations: 4 kB / 1.014 GB, free: 9.305 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001348/0.3257, allocations: 11.98 kB / 1.014 GB, free: 9.293 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.455e-05/0.3258, allocations: 8 kB / 1.014 GB, free: 9.285 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.559e-05/0.3258, allocations: 15.97 kB / 1.014 GB, free: 9.27 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0007701/0.3266, allocations: 0.6687 MB / 1.014 GB, free: 8.594 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3266, allocations: 3.938 kB / 1.014 GB, free: 8.59 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.001332/0.328, allocations: 403.8 kB / 1.015 GB, free: 8.195 MB / 0.7448 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.001526/0.3295, allocations: 482.8 kB / 1.015 GB, free: 7.711 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.002364/0.3319, allocations: 2.492 MB / 1.018 GB, free: 5.211 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.3319, allocations: 0 / 1.018 GB, free: 5.211 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0003159/0.3322, allocations: 339.8 kB / 1.018 GB, free: 4.879 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003247/0.3325, allocations: 32.62 kB / 1.018 GB, free: 4.848 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002293/0.3348, allocations: 2.041 MB / 1.02 GB, free: 2.762 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005491/0.3354, allocations: 0.9678 MB / 1.021 GB, free: 1.766 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001792/0.3356, allocations: 32.56 kB / 1.021 GB, free: 1.734 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001019/0.3357, allocations: 27.41 kB / 1.021 GB, free: 1.707 MB / 0.7448 GB Notification: Performance of SimCode: time 4.11e-07/0.3357, allocations: 0 / 1.021 GB, free: 1.707 MB / 0.7448 GB Notification: Performance of Templates: time 0.4222/0.7579, allocations: 9.355 MB / 1.03 GB, free: 98.32 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.makefile (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 & ./Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1)