Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.265/2.265, allocations: 251.1 MB / 266.1 MB, free: 11.62 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001505/0.001505, allocations: 183.5 kB / 325.6 MB, free: 2.84 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.537/2.537, allocations: 205.4 MB / 0.5766 GB, free: 20.82 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001168/0.001168, allocations: 100.8 kB / 0.6811 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004638/0.0004639, allocations: 17.05 kB / 0.7952 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2062/0.2067, allocations: 106.3 MB / 0.8989 GB, free: 65.45 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.002076/0.2088, allocations: 1.388 MB / 0.9003 GB, free: 64.05 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.006465/0.2153, allocations: 3.838 MB / 0.904 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001762/0.2155, allocations: 3.938 kB / 0.904 GB, free: 60.19 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001437/0.217, allocations: 334.9 kB / 0.9044 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001491/0.2172, allocations: 51.91 kB / 0.9044 GB, free: 59.81 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.002857/0.22, allocations: 0.7199 MB / 0.9051 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002298/0.2203, allocations: 99.8 kB / 0.9052 GB, free: 58.99 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 6.258e-05/0.2203, allocations: 17.81 kB / 0.9052 GB, free: 58.97 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 8.695e-05/0.2204, allocations: 51.78 kB / 0.9053 GB, free: 58.92 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002421/0.2207, allocations: 159.6 kB / 0.9054 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 5.956e-05/0.2208, allocations: 12 kB / 0.9054 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002611/0.2234, allocations: 1.26 MB / 0.9067 GB, free: 57.49 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0002677/0.2237, allocations: 255.2 kB / 0.9069 GB, free: 57.24 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001376/0.2239, allocations: 125.2 kB / 0.907 GB, free: 57.11 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.001986/0.2258, allocations: 1.033 MB / 0.908 GB, free: 56.08 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.2259, allocations: 0 / 0.908 GB, free: 56.08 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.625e-06/0.2259, allocations: 0 / 0.908 GB, free: 56.08 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.135e-06/0.2259, allocations: 4 kB / 0.908 GB, free: 56.07 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.01732/0.2432, allocations: 1.218 MB / 0.9092 GB, free: 54.8 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.612e-05/0.2433, allocations: 8.031 kB / 0.9092 GB, free: 54.8 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005295/0.2439, allocations: 98.59 kB / 0.9093 GB, free: 54.7 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006113/0.2445, allocations: 392.8 kB / 0.9097 GB, free: 54.27 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.359e-05/0.2445, allocations: 4 kB / 0.9097 GB, free: 54.26 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.127e-05/0.2446, allocations: 15.94 kB / 0.9097 GB, free: 54.25 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005128/0.2451, allocations: 391.1 kB / 0.9101 GB, free: 53.85 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.2451, allocations: 0 / 0.9101 GB, free: 53.85 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.735e-05/0.2452, allocations: 0 / 0.9101 GB, free: 53.85 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.2452, allocations: 0 / 0.9101 GB, free: 53.85 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005163/0.2457, allocations: 435.7 kB / 0.9105 GB, free: 53.43 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007519/0.2465, allocations: 0.6613 MB / 0.9112 GB, free: 52.71 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007125/0.2472, allocations: 0.5594 MB / 0.9117 GB, free: 52.14 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001268/0.2485, allocations: 1.044 MB / 0.9127 GB, free: 50.87 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004958/0.249, allocations: 401 kB / 0.9131 GB, free: 50.46 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=8): time 2.875e-06/0.249, allocations: 0 / 0.9131 GB, free: 50.46 MB / 0.6042 GB Notification: Performance of matching and sorting (n=8): time 0.001589/0.2506, allocations: 1.296 MB / 0.9144 GB, free: 49.16 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.442e-05/0.2507, allocations: 85.09 kB / 0.9145 GB, free: 49.05 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001624/0.2524, allocations: 1.273 MB / 0.9157 GB, free: 47.77 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.789e-05/0.2525, allocations: 29.7 kB / 0.9157 GB, free: 47.73 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002196/0.2527, allocations: 289.3 kB / 0.916 GB, free: 47.45 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.507e-05/0.2528, allocations: 19.75 kB / 0.916 GB, free: 47.43 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.784e-05/0.2528, allocations: 8.125 kB / 0.916 GB, free: 47.42 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.000148/0.253, allocations: 427.8 kB / 0.9164 GB, free: 46.99 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0015/0.2545, allocations: 1.357 MB / 0.9178 GB, free: 45.63 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001623/0.2561, allocations: 1.5 MB / 0.9192 GB, free: 44.12 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001897/0.2581, allocations: 1.891 MB / 0.9211 GB, free: 42.22 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.327e-06/0.2581, allocations: 8 kB / 0.9211 GB, free: 42.21 MB / 0.6042 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.005128/0.2633, allocations: 3.949 MB / 0.9249 GB, free: 38.23 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.66e-05/0.2633, allocations: 4 kB / 0.9249 GB, free: 38.22 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.405e-05/0.2634, allocations: 4.312 kB / 0.9249 GB, free: 38.22 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.065e-05/0.2634, allocations: 0 / 0.9249 GB, free: 38.22 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002328/0.2637, allocations: 19.92 kB / 0.925 GB, free: 38.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.247e-06/0.2637, allocations: 0 / 0.925 GB, free: 38.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008586/0.2645, allocations: 232.4 kB / 0.9252 GB, free: 37.97 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.593e-05/0.2646, allocations: 27.97 kB / 0.9252 GB, free: 37.94 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.0004216/0.2651, allocations: 245.6 kB / 0.9254 GB, free: 37.69 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.616e-05/0.2652, allocations: 70.69 kB / 0.9255 GB, free: 37.62 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004389/0.2656, allocations: 91.44 kB / 0.9256 GB, free: 37.52 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.2656, allocations: 8.031 kB / 0.9256 GB, free: 37.51 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.2657, allocations: 0 / 0.9256 GB, free: 37.51 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.2657, allocations: 0 / 0.9256 GB, free: 37.51 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005178/0.2662, allocations: 0.5138 MB / 0.9261 GB, free: 36.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.2662, allocations: 4 kB / 0.9261 GB, free: 36.95 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001177/0.2663, allocations: 7.984 kB / 0.9261 GB, free: 36.94 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.582e-06/0.2664, allocations: 0 / 0.9261 GB, free: 36.94 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.783e-05/0.2664, allocations: 8 kB / 0.9261 GB, free: 36.93 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.2664, allocations: 0 / 0.9261 GB, free: 36.93 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.2664, allocations: 0 / 0.9261 GB, free: 36.93 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00108/0.2675, allocations: 1.024 MB / 0.9271 GB, free: 35.88 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001641/0.2677, allocations: 155.8 kB / 0.9273 GB, free: 35.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001117/0.2678, allocations: 11.98 kB / 0.9273 GB, free: 35.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002648/0.2681, allocations: 4 kB / 0.9273 GB, free: 35.7 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.194e-05/0.2682, allocations: 11.98 kB / 0.9273 GB, free: 35.68 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.307e-05/0.2682, allocations: 7.984 kB / 0.9273 GB, free: 35.68 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.001091/0.2693, allocations: 0.7101 MB / 0.928 GB, free: 34.96 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.81e-07/0.2694, allocations: 0 / 0.928 GB, free: 34.96 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001391/0.2708, allocations: 407.8 kB / 0.9284 GB, free: 34.56 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.001802/0.2726, allocations: 481.8 kB / 0.9289 GB, free: 34.09 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002833/0.2754, allocations: 2.495 MB / 0.9313 GB, free: 31.58 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 5.5e-06/0.2755, allocations: 0 / 0.9313 GB, free: 31.58 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000431/0.276, allocations: 343.8 kB / 0.9316 GB, free: 31.25 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004508/0.2764, allocations: 52.73 kB / 0.9317 GB, free: 31.2 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00294/0.2794, allocations: 1.966 MB / 0.9336 GB, free: 29.2 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005597/0.28, allocations: 1.011 MB / 0.9346 GB, free: 28.16 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0003436/0.2803, allocations: 41.42 kB / 0.9346 GB, free: 28.12 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001666/0.2805, allocations: 23.42 kB / 0.9346 GB, free: 28.1 MB / 0.6042 GB Notification: Performance of SimCode: time 9.02e-07/0.2805, allocations: 0 / 0.9346 GB, free: 28.1 MB / 0.6042 GB Notification: Performance of Templates: time 0.02471/0.3053, allocations: 9.534 MB / 0.9439 GB, free: 18.61 MB / 0.6042 GB