Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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_master_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.045/5.045, allocations: 0.5623 GB / 0.5775 GB, free: 3.402 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002563/0.002562, allocations: 364.4 kB / 0.6446 GB, free: 185.7 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.396/4.396, allocations: 410.7 MB / 1.113 GB, free: 6.043 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001876/0.001876, allocations: 183.8 kB / 1.226 GB, free: 6.199 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005157/0.0005159, allocations: 15.98 kB / 1.349 GB, free: 8.289 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8302/0.8308, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2205/1.051, allocations: 157.2 MB / 1.615 GB, free: 127 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004147/1.052, allocations: 123.8 kB / 1.615 GB, free: 126.9 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.1667/1.219, allocations: 29.73 MB / 1.644 GB, free: 97.5 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.285e-06/1.219, allocations: 0 / 1.644 GB, free: 97.5 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.163e-05/1.219, allocations: 16 kB / 1.644 GB, free: 97.48 MB / 0.8542 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.003171/1.222, allocations: 1.203 MB / 1.645 GB, free: 96.23 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/1.222, allocations: 11.62 kB / 1.645 GB, free: 96.22 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005369/1.222, allocations: 114.6 kB / 1.645 GB, free: 96.11 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008536/1.223, allocations: 472.6 kB / 1.646 GB, free: 95.59 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.128e-05/1.223, allocations: 24 kB / 1.646 GB, free: 95.57 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000115/1.224, allocations: 39.98 kB / 1.646 GB, free: 95.53 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004921/1.224, allocations: 383.2 kB / 1.646 GB, free: 95.14 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/1.224, allocations: 4 kB / 1.646 GB, free: 95.14 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.713e-05/1.224, allocations: 0 / 1.646 GB, free: 95.14 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/1.224, allocations: 4 kB / 1.646 GB, free: 95.14 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005357/1.225, allocations: 443.6 kB / 1.647 GB, free: 94.7 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009884/1.226, allocations: 0.7666 MB / 1.647 GB, free: 93.89 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005969/1.226, allocations: 0.5672 MB / 1.648 GB, free: 93.3 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003689/1.227, allocations: 333.7 kB / 1.648 GB, free: 92.97 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001097/1.228, allocations: 1.032 MB / 1.649 GB, free: 91.71 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004906/1.228, allocations: 404.9 kB / 1.65 GB, free: 91.3 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=8): time 2.736e-06/1.228, allocations: 0 / 1.65 GB, free: 91.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=8): time 0.001673/1.23, allocations: 1.304 MB / 1.651 GB, free: 89.99 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.23e-05/1.23, allocations: 85.14 kB / 1.651 GB, free: 89.89 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001707/1.232, allocations: 1.273 MB / 1.652 GB, free: 88.6 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0001373/1.232, allocations: 49.67 kB / 1.652 GB, free: 88.55 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002627/1.232, allocations: 298 kB / 1.653 GB, free: 88.25 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.562e-05/1.232, allocations: 19.75 kB / 1.653 GB, free: 88.23 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.671e-05/1.232, allocations: 16 kB / 1.653 GB, free: 88.21 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001473/1.233, allocations: 423.8 kB / 1.653 GB, free: 87.79 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001832/1.234, allocations: 1.218 MB / 1.654 GB, free: 86.57 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001962/1.236, allocations: 1.361 MB / 1.656 GB, free: 85.2 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002252/1.239, allocations: 1.607 MB / 1.657 GB, free: 83.58 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.448e-06/1.239, allocations: 0 / 1.657 GB, free: 83.58 MB / 0.8542 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.00572/1.244, allocations: 3.459 MB / 1.661 GB, free: 80.09 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.147e-05/1.245, allocations: 8 kB / 1.661 GB, free: 80.08 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.016e-05/1.245, allocations: 3.984 kB / 1.661 GB, free: 80.08 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.854e-05/1.245, allocations: 4 kB / 1.661 GB, free: 80.07 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001409/1.246, allocations: 139.8 kB / 1.661 GB, free: 79.94 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.552e-05/1.246, allocations: 4 kB / 1.661 GB, free: 79.93 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001002/1.247, allocations: 240.3 kB / 1.661 GB, free: 79.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001419/1.247, allocations: 63.94 kB / 1.661 GB, free: 79.63 MB / 0.8542 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 (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.0005067/1.248, allocations: 269.6 kB / 1.661 GB, free: 79.36 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.219e-05/1.248, allocations: 70.69 kB / 1.661 GB, free: 79.29 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001292/1.249, allocations: 0.9445 MB / 1.662 GB, free: 78.33 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.171e-06/1.249, allocations: 3.938 kB / 1.662 GB, free: 78.32 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.952e-06/1.249, allocations: 0 / 1.662 GB, free: 78.32 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.461e-06/1.249, allocations: 0 / 1.662 GB, free: 78.32 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006167/1.25, allocations: 0.5293 MB / 1.663 GB, free: 77.75 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/1.25, allocations: 0 / 1.663 GB, free: 77.75 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001273/1.25, allocations: 7.984 kB / 1.663 GB, free: 77.74 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.935e-06/1.25, allocations: 4 kB / 1.663 GB, free: 77.74 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.932e-05/1.25, allocations: 0 / 1.663 GB, free: 77.74 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/1.25, allocations: 3.938 kB / 1.663 GB, free: 77.73 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/1.25, allocations: 4 kB / 1.663 GB, free: 77.73 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001101/1.251, allocations: 1.01 MB / 1.664 GB, free: 76.7 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001614/1.251, allocations: 155.8 kB / 1.664 GB, free: 76.53 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000108/1.251, allocations: 0 / 1.664 GB, free: 76.53 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002687/1.252, allocations: 7.984 kB / 1.664 GB, free: 76.52 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.337e-05/1.252, allocations: 4 kB / 1.664 GB, free: 76.52 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.284e-05/1.252, allocations: 19.97 kB / 1.664 GB, free: 76.5 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001186/1.253, allocations: 0.7062 MB / 1.665 GB, free: 75.79 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.333e-06/1.253, allocations: 0 / 1.665 GB, free: 75.79 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.001915/1.255, allocations: 0.5071 MB / 1.665 GB, free: 75.28 MB / 0.8542 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.002522/1.258, allocations: 0.6447 MB / 1.666 GB, free: 74.63 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.00309/1.261, allocations: 2.36 MB / 1.668 GB, free: 72.27 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 5.992e-06/1.261, allocations: 0 / 1.668 GB, free: 72.27 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0004187/1.261, allocations: 344.3 kB / 1.668 GB, free: 71.93 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000576/1.262, allocations: 52.61 kB / 1.668 GB, free: 71.88 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003022/1.265, allocations: 1.989 MB / 1.67 GB, free: 69.85 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005252/1.265, allocations: 1.005 MB / 1.671 GB, free: 68.82 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0003904/1.266, allocations: 64.91 kB / 1.671 GB, free: 68.77 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001941/1.266, allocations: 39.42 kB / 1.671 GB, free: 68.73 MB / 0.8542 GB Notification: Performance of SimCode: time 1.293e-06/1.266, allocations: 0 / 1.671 GB, free: 68.73 MB / 0.8542 GB Notification: Performance of Templates: time 0.02943/1.295, allocations: 11.2 MB / 1.682 GB, free: 57.6 MB / 0.8542 GB