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.352/2.352, allocations: 253.2 MB / 260.6 MB, free: 7.465 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001401/0.001401, allocations: 176.8 kB / 319.9 MB, free: 3.055 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.149/2.149, allocations: 205.5 MB / 0.5708 GB, free: 15.27 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.001123/0.001123, allocations: 94.69 kB / 0.6751 GB, free: 4.605 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.754e-05/2.764e-05, allocations: 15.98 kB / 0.785 GB, free: 102.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2035/0.2036, allocations: 106.3 MB / 0.8887 GB, free: 11.8 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9166/1.12, allocations: 151.1 MB / 1.036 GB, free: 2.324 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004288/1.121, allocations: 104.9 kB / 1.036 GB, free: 2.262 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.1783/1.299, allocations: 29.47 MB / 1.065 GB, free: 9.336 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.335e-06/1.299, allocations: 0 / 1.065 GB, free: 9.336 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.171e-05/1.299, allocations: 15.94 kB / 1.065 GB, free: 9.32 MB / 0.6823 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.00324/1.302, allocations: 1.05 MB / 1.066 GB, free: 8.281 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.17e-05/1.303, allocations: 12.02 kB / 1.066 GB, free: 8.27 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006151/1.303, allocations: 106.6 kB / 1.066 GB, free: 8.164 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001177/1.304, allocations: 472.3 kB / 1.067 GB, free: 7.664 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.928e-05/1.304, allocations: 4 kB / 1.067 GB, free: 7.66 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001196/1.305, allocations: 20 kB / 1.067 GB, free: 7.641 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005592/1.305, allocations: 419.6 kB / 1.067 GB, free: 7.234 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005111/1.306, allocations: 378.6 kB / 1.068 GB, free: 6.859 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/1.306, allocations: 0 / 1.068 GB, free: 6.859 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.127e-05/1.306, allocations: 7.828 kB / 1.068 GB, free: 6.855 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.105e-05/1.306, allocations: 7.984 kB / 1.068 GB, free: 6.848 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001178/1.307, allocations: 0.7174 MB / 1.068 GB, free: 6.211 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007116/1.308, allocations: 0.5549 MB / 1.069 GB, free: 5.645 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004083/1.308, allocations: 329.5 kB / 1.069 GB, free: 5.32 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001448/1.31, allocations: 1.032 MB / 1.07 GB, free: 4.066 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005629/1.31, allocations: 400.3 kB / 1.071 GB, free: 3.668 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=8): time 3.135e-06/1.31, allocations: 0 / 1.071 GB, free: 3.668 MB / 0.6823 GB Notification: Performance of matching and sorting (n=8): time 0.001538/1.312, allocations: 0.9679 MB / 1.071 GB, free: 2.707 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.968e-05/1.312, allocations: 81.09 kB / 1.072 GB, free: 2.609 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001697/1.314, allocations: 1.068 MB / 1.073 GB, free: 1.762 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001334/1.314, allocations: 29.7 kB / 1.073 GB, free: 1.727 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003244/1.314, allocations: 280.6 kB / 1.073 GB, free: 1.523 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 5.03e-05/1.314, allocations: 14.98 kB / 1.073 GB, free: 1.512 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.517e-05/1.314, allocations: 4 kB / 1.073 GB, free: 1.508 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002718/1.314, allocations: 426.4 kB / 1.073 GB, free: 1.129 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001888/1.316, allocations: 1.19 MB / 1.074 GB, free: 364 kB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002238/1.319, allocations: 1.33 MB / 1.076 GB, free: 15.48 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002556/1.321, allocations: 1.588 MB / 1.077 GB, free: 14.3 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.366e-06/1.321, allocations: 0 / 1.077 GB, free: 14.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.006358/1.328, allocations: 3.383 MB / 1.081 GB, free: 11.73 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.162e-05/1.328, allocations: 4 kB / 1.081 GB, free: 11.73 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.409e-05/1.328, allocations: 4 kB / 1.081 GB, free: 11.73 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.842e-05/1.328, allocations: 4 kB / 1.081 GB, free: 11.72 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001455/1.329, allocations: 151.3 kB / 1.081 GB, free: 11.58 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.533e-05/1.329, allocations: 4 kB / 1.081 GB, free: 11.58 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001108/1.331, allocations: 224.4 kB / 1.081 GB, free: 11.36 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001659/1.331, allocations: 55.86 kB / 1.081 GB, free: 11.3 MB / 0.698 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 89 * Array equations: 1 * 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.0001944/1.331, allocations: 120.7 kB / 1.081 GB, free: 11.18 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001073/1.331, allocations: 78.58 kB / 1.081 GB, free: 11.11 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00149/1.333, allocations: 0.9296 MB / 1.082 GB, free: 10.18 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.485e-06/1.333, allocations: 0 / 1.082 GB, free: 10.18 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.887e-06/1.333, allocations: 8.031 kB / 1.082 GB, free: 10.18 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.942e-06/1.333, allocations: 0 / 1.082 GB, free: 10.18 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007771/1.333, allocations: 0.4975 MB / 1.083 GB, free: 9.73 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.538e-06/1.333, allocations: 0 / 1.083 GB, free: 9.73 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001414/1.334, allocations: 4 kB / 1.083 GB, free: 9.727 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.172e-05/1.334, allocations: 4 kB / 1.083 GB, free: 9.723 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.252e-05/1.334, allocations: 3.984 kB / 1.083 GB, free: 9.719 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.095e-06/1.334, allocations: 4.062 kB / 1.083 GB, free: 9.719 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.302e-06/1.334, allocations: 7.938 kB / 1.083 GB, free: 9.711 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001391/1.335, allocations: 1.01 MB / 1.084 GB, free: 8.695 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002414/1.335, allocations: 155.8 kB / 1.084 GB, free: 8.523 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001097/1.335, allocations: 4 kB / 1.084 GB, free: 8.52 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003063/1.336, allocations: 7.984 kB / 1.084 GB, free: 8.512 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.886e-05/1.336, allocations: 4 kB / 1.084 GB, free: 8.508 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.179e-05/1.336, allocations: 19.16 kB / 1.084 GB, free: 8.492 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001168/1.337, allocations: 0.6376 MB / 1.084 GB, free: 7.98 MB / 0.698 GB Notification: Performance of sort global known variables: time 5.01e-07/1.337, allocations: 0 / 1.084 GB, free: 7.98 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002177/1.339, allocations: 488.5 kB / 1.085 GB, free: 7.52 MB / 0.698 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) * 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.002985/1.342, allocations: 0.6621 MB / 1.086 GB, free: 6.867 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003305/1.346, allocations: 2.325 MB / 1.088 GB, free: 5.312 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.101e-06/1.346, allocations: 0 / 1.088 GB, free: 5.312 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004699/1.346, allocations: 330.1 kB / 1.088 GB, free: 4.996 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005093/1.347, allocations: 61.98 kB / 1.088 GB, free: 4.957 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003001/1.35, allocations: 1.473 MB / 1.09 GB, free: 3.484 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008104/1.351, allocations: 1.005 MB / 1.091 GB, free: 2.453 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0004207/1.351, allocations: 59.27 kB / 1.091 GB, free: 2.398 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001946/1.351, allocations: 38.98 kB / 1.091 GB, free: 2.363 MB / 0.698 GB Notification: Performance of SimCode: time 1.082e-06/1.351, allocations: 0 / 1.091 GB, free: 2.363 MB / 0.698 GB Notification: Performance of Templates: time 0.03203/1.383, allocations: 9.963 MB / 1.1 GB, free: 8.48 MB / 0.7136 GB