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_SmallScaleValidation.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: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.355/1.355, allocations: 252 MB / 267.6 MB, free: 10.93 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.0009882/0.0009881, allocations: 179.2 kB / 327.3 MB, free: 2.223 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.672/1.672, allocations: 205.4 MB / 0.5783 GB, free: 20.28 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.0008096/0.0008097, allocations: 95.81 kB / 0.6829 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003369/0.0003371, allocations: 11.81 kB / 0.797 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2403/0.2407, allocations: 106.3 MB / 0.9009 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.001814/0.2426, allocations: 1.427 MB / 0.9023 GB, free: 62.47 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.004578/0.2472, allocations: 3.923 MB / 0.9061 GB, free: 58.53 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001142/0.2473, allocations: 4 kB / 0.9061 GB, free: 58.53 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001128/0.2484, allocations: 319 kB / 0.9064 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001238/0.2486, allocations: 51.72 kB / 0.9065 GB, free: 58.16 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.002274/0.2509, allocations: 0.7484 MB / 0.9072 GB, free: 57.41 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.000243/0.2511, allocations: 163.4 kB / 0.9073 GB, free: 57.25 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.772e-05/0.2512, allocations: 13.55 kB / 0.9074 GB, free: 57.24 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.917e-05/0.2512, allocations: 55.78 kB / 0.9074 GB, free: 57.18 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002088/0.2515, allocations: 187.6 kB / 0.9076 GB, free: 57 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.95e-05/0.2515, allocations: 12 kB / 0.9076 GB, free: 56.99 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00167/0.2532, allocations: 1.314 MB / 0.9089 GB, free: 55.67 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001497/0.2534, allocations: 267.2 kB / 0.9091 GB, free: 55.41 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001006/0.2535, allocations: 121.2 kB / 0.9092 GB, free: 55.29 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.001117/0.2546, allocations: 1.025 MB / 0.9102 GB, free: 54.26 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.421e-06/0.2546, allocations: 4 kB / 0.9103 GB, free: 54.25 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.853e-06/0.2546, allocations: 0 / 0.9103 GB, free: 54.25 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 9.017e-06/0.2546, allocations: 0 / 0.9103 GB, free: 54.25 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.008595/0.2632, allocations: 1.226 MB / 0.9115 GB, free: 52.98 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.2e-05/0.2633, allocations: 12.03 kB / 0.9115 GB, free: 52.96 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003752/0.2637, allocations: 90.66 kB / 0.9115 GB, free: 52.88 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004596/0.2642, allocations: 404.7 kB / 0.9119 GB, free: 52.43 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.843e-05/0.2642, allocations: 4 kB / 0.9119 GB, free: 52.43 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.09e-05/0.2642, allocations: 4 kB / 0.9119 GB, free: 52.42 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003636/0.2646, allocations: 391.2 kB / 0.9123 GB, free: 52.03 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.2646, allocations: 0 / 0.9123 GB, free: 52.03 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.529e-05/0.2646, allocations: 4 kB / 0.9123 GB, free: 52.02 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.129e-06/0.2647, allocations: 0 / 0.9123 GB, free: 52.02 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003409/0.265, allocations: 431.7 kB / 0.9127 GB, free: 51.6 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000492/0.2655, allocations: 0.6691 MB / 0.9134 GB, free: 50.88 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003905/0.2659, allocations: 0.5594 MB / 0.9139 GB, free: 50.3 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002305/0.2661, allocations: 341.7 kB / 0.9143 GB, free: 49.96 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009005/0.2671, allocations: 1.04 MB / 0.9153 GB, free: 48.7 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003402/0.2674, allocations: 404.9 kB / 0.9157 GB, free: 48.29 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=8): time 2.424e-06/0.2674, allocations: 4 kB / 0.9157 GB, free: 48.29 MB / 0.6042 GB Notification: Performance of matching and sorting (n=8): time 0.001207/0.2686, allocations: 1.293 MB / 0.9169 GB, free: 46.98 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.088e-05/0.2687, allocations: 85.09 kB / 0.917 GB, free: 46.88 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001012/0.2697, allocations: 1.269 MB / 0.9182 GB, free: 45.6 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.627e-05/0.2698, allocations: 29.7 kB / 0.9183 GB, free: 45.57 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001655/0.2699, allocations: 281.4 kB / 0.9185 GB, free: 45.29 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.7e-05/0.27, allocations: 27.91 kB / 0.9186 GB, free: 45.26 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.156e-05/0.27, allocations: 0 / 0.9186 GB, free: 45.26 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001524/0.2702, allocations: 435.8 kB / 0.919 GB, free: 44.82 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009004/0.2711, allocations: 1.354 MB / 0.9203 GB, free: 43.47 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009546/0.272, allocations: 1.493 MB / 0.9218 GB, free: 41.96 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001179/0.2732, allocations: 1.895 MB / 0.9236 GB, free: 40.05 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.2732, allocations: 0 / 0.9236 GB, free: 40.05 MB / 0.6042 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.003312/0.2766, allocations: 3.957 MB / 0.9275 GB, free: 36.06 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.544e-05/0.2766, allocations: 4 kB / 0.9275 GB, free: 36.06 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.196e-05/0.2766, allocations: 7.984 kB / 0.9275 GB, free: 36.05 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.142e-05/0.2767, allocations: 0 / 0.9275 GB, free: 36.05 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001444/0.2768, allocations: 16 kB / 0.9275 GB, free: 36.04 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.2768, allocations: 4.031 kB / 0.9275 GB, free: 36.03 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000513/0.2774, allocations: 228.4 kB / 0.9277 GB, free: 35.8 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.049e-05/0.2774, allocations: 19.98 kB / 0.9277 GB, free: 35.79 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 ($whenCondition1,$PRE.k,k,$PRE.t1,t1,$PRE.t2,t2,$PRE.gFun1,gFun1,$PRE.gFun2,gFun2) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002867/0.2777, allocations: 253.6 kB / 0.928 GB, free: 35.53 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.736e-05/0.2778, allocations: 74.59 kB / 0.9281 GB, free: 35.45 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002798/0.2781, allocations: 83.72 kB / 0.9281 GB, free: 35.36 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.2781, allocations: 0 / 0.9281 GB, free: 35.36 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.738e-06/0.2781, allocations: 8 kB / 0.9281 GB, free: 35.35 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.2781, allocations: 0 / 0.9281 GB, free: 35.35 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003837/0.2785, allocations: 0.5099 MB / 0.9286 GB, free: 34.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.2785, allocations: 0 / 0.9286 GB, free: 34.8 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.513e-05/0.2786, allocations: 11.98 kB / 0.9287 GB, free: 34.79 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.2786, allocations: 0 / 0.9287 GB, free: 34.79 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.513e-05/0.2786, allocations: 11.92 kB / 0.9287 GB, free: 34.77 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.2786, allocations: 0 / 0.9287 GB, free: 34.77 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/0.2786, allocations: 4.031 kB / 0.9287 GB, free: 34.77 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006891/0.2793, allocations: 1.006 MB / 0.9297 GB, free: 33.74 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 8.814e-05/0.2794, allocations: 159.8 kB / 0.9298 GB, free: 33.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.998e-05/0.2795, allocations: 4 kB / 0.9298 GB, free: 33.56 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001429/0.2796, allocations: 7.984 kB / 0.9298 GB, free: 33.55 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.003e-05/0.2797, allocations: 11.92 kB / 0.9298 GB, free: 33.54 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.042e-05/0.2797, allocations: 11.98 kB / 0.9298 GB, free: 33.53 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0006693/0.2804, allocations: 0.7062 MB / 0.9305 GB, free: 32.82 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2804, allocations: 3.938 kB / 0.9305 GB, free: 32.82 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001109/0.2815, allocations: 403.8 kB / 0.9309 GB, free: 32.42 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001079/0.2826, allocations: 482.4 kB / 0.9314 GB, free: 31.95 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001702/0.2843, allocations: 2.488 MB / 0.9338 GB, free: 29.45 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.2844, allocations: 4 kB / 0.9338 GB, free: 29.45 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002437/0.2846, allocations: 343.9 kB / 0.9341 GB, free: 29.11 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003467/0.285, allocations: 58.44 kB / 0.9342 GB, free: 29.05 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001914/0.2869, allocations: 2.028 MB / 0.9362 GB, free: 26.99 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003894/0.2873, allocations: 0.984 MB / 0.9371 GB, free: 25.98 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001049/0.2874, allocations: 31.41 kB / 0.9372 GB, free: 25.95 MB / 0.6042 GB Notification: Performance of SimCode: time 2.3e-07/0.2874, allocations: 0 / 0.9372 GB, free: 25.95 MB / 0.6042 GB Notification: Performance of Templates: time 0.01589/0.3033, allocations: 11.2 MB / 0.9481 GB, free: 14.76 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1)