Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.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 IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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) Running command: translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.003512/0.003518, allocations: 357.9 kB / 16.58 MB, free: 5.566 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.518/1.518, allocations: 165.8 MB / 183.1 MB, free: 5.461 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.71/3.71, allocations: 410.8 MB / 0.6001 GB, free: 15.16 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001816/0.001816, allocations: 198 kB / 0.6668 GB, free: 6.926 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004581/0.0004583, allocations: 16 kB / 0.7429 GB, free: 8.918 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4026/0.4031, allocations: 67.44 MB / 0.8088 GB, free: 28.78 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1938/0.597, allocations: 117.7 MB / 0.9237 GB, free: 6.926 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004647/0.5975, allocations: 127.9 kB / 0.9238 GB, free: 6.801 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.543/1.14, allocations: 29.72 MB / 0.9529 GB, free: 105.3 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.803e-06/1.141, allocations: 0 / 0.9529 GB, free: 105.3 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.549e-05/1.141, allocations: 16 kB / 0.9529 GB, free: 105.3 MB / 474.7 MB 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.003294/1.144, allocations: 1.211 MB / 0.9541 GB, free: 104 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.278e-05/1.144, allocations: 8.031 kB / 0.9541 GB, free: 104 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005495/1.145, allocations: 102.7 kB / 0.9542 GB, free: 103.9 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009296/1.145, allocations: 464.8 kB / 0.9546 GB, free: 103.4 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.231e-05/1.146, allocations: 27.98 kB / 0.9546 GB, free: 103.4 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001185/1.146, allocations: 39.95 kB / 0.9547 GB, free: 103.4 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004988/1.146, allocations: 383.1 kB / 0.955 GB, free: 103 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/1.146, allocations: 4 kB / 0.955 GB, free: 103 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.747e-05/1.146, allocations: 4 kB / 0.955 GB, free: 103 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/1.146, allocations: 0 / 0.955 GB, free: 103 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005447/1.147, allocations: 435.7 kB / 0.9555 GB, free: 102.5 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001075/1.148, allocations: 0.7588 MB / 0.9562 GB, free: 101.7 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006064/1.149, allocations: 0.5711 MB / 0.9568 GB, free: 101.1 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003652/1.149, allocations: 337.8 kB / 0.9571 GB, free: 100.8 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001173/1.15, allocations: 1.032 MB / 0.9581 GB, free: 99.55 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005693/1.151, allocations: 412.8 kB / 0.9585 GB, free: 99.13 MB / 474.7 MB Notification: Performance of pre-optimization done (n=8): time 3.126e-06/1.151, allocations: 0 / 0.9585 GB, free: 99.13 MB / 474.7 MB Notification: Performance of matching and sorting (n=8): time 0.001662/1.152, allocations: 1.308 MB / 0.9598 GB, free: 97.82 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.286e-05/1.152, allocations: 85.23 kB / 0.9598 GB, free: 97.71 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001864/1.154, allocations: 1.273 MB / 0.9611 GB, free: 96.43 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001457/1.155, allocations: 45.64 kB / 0.9611 GB, free: 96.38 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002813/1.155, allocations: 298 kB / 0.9614 GB, free: 96.08 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.745e-05/1.155, allocations: 15.81 kB / 0.9614 GB, free: 96.07 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.579e-05/1.155, allocations: 16 kB / 0.9614 GB, free: 96.05 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.000147/1.155, allocations: 423.8 kB / 0.9618 GB, free: 95.63 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001787/1.157, allocations: 1.218 MB / 0.963 GB, free: 94.41 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001986/1.159, allocations: 1.365 MB / 0.9644 GB, free: 93.04 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002235/1.161, allocations: 1.607 MB / 0.9659 GB, free: 91.41 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.707e-06/1.161, allocations: 0 / 0.9659 GB, free: 91.41 MB / 474.7 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.005905/1.167, allocations: 3.459 MB / 0.9693 GB, free: 87.92 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.966e-05/1.167, allocations: 11.94 kB / 0.9693 GB, free: 87.91 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.136e-05/1.167, allocations: 8 kB / 0.9693 GB, free: 87.9 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.778e-05/1.167, allocations: 4 kB / 0.9693 GB, free: 87.89 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001404/1.169, allocations: 143.8 kB / 0.9695 GB, free: 87.75 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.403e-05/1.169, allocations: 4 kB / 0.9695 GB, free: 87.75 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001041/1.17, allocations: 236.4 kB / 0.9697 GB, free: 87.52 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001431/1.17, allocations: 63.97 kB / 0.9698 GB, free: 87.45 MB / 474.7 MB 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.0006082/1.171, allocations: 269.5 kB / 0.97 GB, free: 87.18 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.814e-05/1.171, allocations: 70.69 kB / 0.9701 GB, free: 87.11 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001251/1.172, allocations: 0.9563 MB / 0.971 GB, free: 86.14 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.121e-06/1.172, allocations: 4 kB / 0.971 GB, free: 86.14 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/1.172, allocations: 0 / 0.971 GB, free: 86.14 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/1.172, allocations: 0 / 0.971 GB, free: 86.14 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000667/1.173, allocations: 0.5139 MB / 0.9715 GB, free: 85.58 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.576e-06/1.173, allocations: 4 kB / 0.9715 GB, free: 85.57 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001273/1.173, allocations: 7.984 kB / 0.9715 GB, free: 85.57 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.933e-06/1.173, allocations: 0 / 0.9715 GB, free: 85.57 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.987e-05/1.173, allocations: 4 kB / 0.9715 GB, free: 85.56 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.538e-06/1.173, allocations: 3.953 kB / 0.9715 GB, free: 85.56 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.868e-06/1.173, allocations: 0 / 0.9715 GB, free: 85.56 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001087/1.174, allocations: 1.021 MB / 0.9725 GB, free: 84.52 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001631/1.174, allocations: 155.8 kB / 0.9727 GB, free: 84.34 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001073/1.174, allocations: 0 / 0.9727 GB, free: 84.34 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002853/1.175, allocations: 7.984 kB / 0.9727 GB, free: 84.34 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.235e-05/1.175, allocations: 15.94 kB / 0.9727 GB, free: 84.32 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.542e-05/1.175, allocations: 11.98 kB / 0.9727 GB, free: 84.31 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001286/1.176, allocations: 0.7062 MB / 0.9734 GB, free: 83.6 MB / 474.7 MB Notification: Performance of sort global known variables: time 6.31e-07/1.176, allocations: 0 / 0.9734 GB, free: 83.6 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002068/1.178, allocations: 0.4955 MB / 0.9739 GB, free: 83.1 MB / 474.7 MB 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.002896/1.181, allocations: 0.646 MB / 0.9745 GB, free: 82.45 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.00319/1.184, allocations: 2.359 MB / 0.9768 GB, free: 80.08 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.143e-06/1.184, allocations: 4 kB / 0.9768 GB, free: 80.08 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004074/1.185, allocations: 343.9 kB / 0.9772 GB, free: 79.74 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000589/1.185, allocations: 52.7 kB / 0.9772 GB, free: 79.69 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003037/1.189, allocations: 1.971 MB / 0.9791 GB, free: 77.68 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005295/1.189, allocations: 1.005 MB / 0.9801 GB, free: 76.66 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0003948/1.189, allocations: 59.27 kB / 0.9802 GB, free: 76.6 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001874/1.19, allocations: 39.42 kB / 0.9802 GB, free: 76.56 MB / 474.7 MB Notification: Performance of SimCode: time 9.81e-07/1.19, allocations: 0 / 0.9802 GB, free: 76.56 MB / 474.7 MB Notification: Performance of Templates: time 0.03048/1.22, allocations: 11.21 MB / 0.9912 GB, free: 65.41 MB / 474.7 MB