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.217/2.217, allocations: 252.6 MB / 265.2 MB, free: 5.672 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.002123/0.002123, allocations: 185.6 kB / 324.5 MB, free: 14.41 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.181/2.181, allocations: 205.4 MB / 0.5754 GB, free: 10.48 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.001077/0.001077, allocations: 90.66 kB / 0.6797 GB, free: 15.72 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.293e-05/3.299e-05, allocations: 4 kB / 0.7912 GB, free: 96.57 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1981/0.1981, allocations: 106.2 MB / 0.8949 GB, free: 6.23 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8714/1.07, allocations: 150.8 MB / 1.042 GB, free: 15.88 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004456/1.07, allocations: 116.3 kB / 1.042 GB, free: 15.81 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.1801/1.25, allocations: 29.68 MB / 1.071 GB, free: 6.141 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.894e-06/1.25, allocations: 0 / 1.071 GB, free: 6.141 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.318e-05/1.25, allocations: 19.94 kB / 1.071 GB, free: 6.121 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.003285/1.254, allocations: 1.05 MB / 1.072 GB, free: 5.078 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.226e-05/1.254, allocations: 8.031 kB / 1.072 GB, free: 5.07 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000605/1.254, allocations: 114.5 kB / 1.072 GB, free: 4.957 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0011/1.255, allocations: 468.5 kB / 1.073 GB, free: 4.461 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.534e-05/1.256, allocations: 21.69 kB / 1.073 GB, free: 4.449 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001258/1.256, allocations: 40.17 kB / 1.073 GB, free: 4.422 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005602/1.256, allocations: 386.7 kB / 1.073 GB, free: 4.039 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.958e-06/1.256, allocations: 0 / 1.073 GB, free: 4.039 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.697e-05/1.256, allocations: 0 / 1.073 GB, free: 4.039 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.446e-06/1.256, allocations: 3.953 kB / 1.073 GB, free: 4.035 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005697/1.257, allocations: 427.6 kB / 1.074 GB, free: 3.621 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001176/1.258, allocations: 0.7706 MB / 1.075 GB, free: 2.945 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000726/1.259, allocations: 0.5502 MB / 1.075 GB, free: 2.383 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004199/1.259, allocations: 337.4 kB / 1.075 GB, free: 2.051 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001403/1.261, allocations: 1.035 MB / 1.076 GB, free: 0.7969 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000549/1.261, allocations: 399.2 kB / 1.077 GB, free: 408 kB / 0.6823 GB Notification: Performance of pre-optimization done (n=8): time 2.866e-06/1.261, allocations: 0 / 1.077 GB, free: 408 kB / 0.6823 GB Notification: Performance of matching and sorting (n=8): time 0.001508/1.263, allocations: 0.9704 MB / 1.078 GB, free: 15.44 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.516e-05/1.263, allocations: 85.06 kB / 1.078 GB, free: 15.34 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001909/1.265, allocations: 1.13 MB / 1.079 GB, free: 14.42 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001416/1.265, allocations: 40.39 kB / 1.079 GB, free: 14.39 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003154/1.265, allocations: 295.2 kB / 1.079 GB, free: 14.16 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.177e-05/1.265, allocations: 22.05 kB / 1.079 GB, free: 14.14 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.31e-05/1.265, allocations: 14.28 kB / 1.079 GB, free: 14.14 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002303/1.266, allocations: 429.4 kB / 1.08 GB, free: 13.76 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001967/1.268, allocations: 1.203 MB / 1.081 GB, free: 12.98 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002171/1.27, allocations: 1.346 MB / 1.082 GB, free: 12.09 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002464/1.272, allocations: 1.596 MB / 1.084 GB, free: 10.89 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.173e-06/1.272, allocations: 0 / 1.084 GB, free: 10.89 MB / 0.698 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.00635/1.279, allocations: 3.428 MB / 1.087 GB, free: 8.297 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.136e-05/1.279, allocations: 8.031 kB / 1.087 GB, free: 8.289 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.091e-05/1.279, allocations: 4 kB / 1.087 GB, free: 8.285 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.916e-05/1.279, allocations: 4 kB / 1.087 GB, free: 8.281 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001513/1.28, allocations: 147.4 kB / 1.087 GB, free: 8.145 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.089e-05/1.281, allocations: 4 kB / 1.087 GB, free: 8.141 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001067/1.282, allocations: 239 kB / 1.087 GB, free: 7.914 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001557/1.282, allocations: 62.78 kB / 1.088 GB, free: 7.859 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.0001854/1.282, allocations: 126.2 kB / 1.088 GB, free: 7.742 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.673e-05/1.282, allocations: 82 kB / 1.088 GB, free: 7.664 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00145/1.284, allocations: 0.937 MB / 1.089 GB, free: 6.738 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.108e-05/1.284, allocations: 7.984 kB / 1.089 GB, free: 6.73 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/1.284, allocations: 0 / 1.089 GB, free: 6.73 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/1.284, allocations: 0 / 1.089 GB, free: 6.73 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007972/1.284, allocations: 0.5162 MB / 1.089 GB, free: 6.258 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/1.284, allocations: 4 kB / 1.089 GB, free: 6.254 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001716/1.285, allocations: 4 kB / 1.089 GB, free: 6.25 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.734e-06/1.285, allocations: 32 / 1.089 GB, free: 6.25 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.256e-05/1.285, allocations: 15.73 kB / 1.089 GB, free: 6.238 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.961e-06/1.285, allocations: 0 / 1.089 GB, free: 6.238 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.113e-06/1.285, allocations: 4.094 kB / 1.089 GB, free: 6.234 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001357/1.286, allocations: 1.015 MB / 1.09 GB, free: 5.211 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002222/1.286, allocations: 155.8 kB / 1.09 GB, free: 5.039 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001103/1.286, allocations: 4 kB / 1.09 GB, free: 5.035 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002983/1.287, allocations: 14.92 kB / 1.09 GB, free: 5.023 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.503e-05/1.287, allocations: 4 kB / 1.09 GB, free: 5.02 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.907e-05/1.287, allocations: 15.97 kB / 1.09 GB, free: 5.004 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.00136/1.288, allocations: 0.6972 MB / 1.091 GB, free: 4.43 MB / 0.698 GB Notification: Performance of sort global known variables: time 6.42e-07/1.288, allocations: 0 / 1.091 GB, free: 4.43 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002163/1.29, allocations: 0.4982 MB / 1.092 GB, free: 3.961 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.002813/1.293, allocations: 0.6474 MB / 1.092 GB, free: 3.316 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003619/1.297, allocations: 2.349 MB / 1.094 GB, free: 1.738 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.532e-06/1.297, allocations: 0 / 1.094 GB, free: 1.738 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004866/1.297, allocations: 338.6 kB / 1.095 GB, free: 1.418 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004963/1.298, allocations: 52.28 kB / 1.095 GB, free: 1.391 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003102/1.301, allocations: 1.475 MB / 1.096 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008281/1.302, allocations: 1.009 MB / 1.097 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0004143/1.302, allocations: 66.94 kB / 1.097 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001939/1.303, allocations: 34.98 kB / 1.097 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of SimCode: time 1.122e-06/1.303, allocations: 0 / 1.097 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of Templates: time 0.03462/1.337, allocations: 11.23 MB / 1.108 GB, free: 3.637 MB / 0.7136 GB