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_1borehole_5meters.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_1borehole_5meters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002568/0.002572, allocations: 354.5 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.273/1.273, allocations: 165.8 MB / 183.1 MB, free: 5.906 MB / 90.72 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.224/4.224, allocations: 410.7 MB / 0.6001 GB, free: 2.172 MB / 410.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001867/0.001867, allocations: 179.6 kB / 0.6668 GB, free: 14.05 MB / 490.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006121/0.0006124, allocations: 12 kB / 0.7429 GB, free: 0 / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4593/0.46, allocations: 67.44 MB / 0.8088 GB, free: 245.4 MB / 0.5886 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1636/0.6236, allocations: 113.2 MB / 0.9193 GB, free: 144.1 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004058/0.6241, allocations: 123.4 kB / 0.9194 GB, free: 143.9 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.1299/0.754, allocations: 21.84 MB / 0.9407 GB, free: 122.5 MB / 0.5886 GB Notification: Performance of FrontEnd: time 3.286e-06/0.7541, allocations: 4 kB / 0.9407 GB, free: 122.5 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.497e-05/0.7541, allocations: 12 kB / 0.9408 GB, free: 122.5 MB / 0.5886 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.002876/0.757, allocations: 1.161 MB / 0.9419 GB, free: 121.3 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/0.7571, allocations: 8.031 kB / 0.9419 GB, free: 121.3 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000487/0.7576, allocations: 94.73 kB / 0.942 GB, free: 121.2 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006927/0.7583, allocations: 423.6 kB / 0.9424 GB, free: 120.7 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.057e-05/0.7583, allocations: 24 kB / 0.9424 GB, free: 120.7 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001182/0.7585, allocations: 43.94 kB / 0.9425 GB, free: 120.6 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005156/0.759, allocations: 381.9 kB / 0.9428 GB, free: 120.3 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.759, allocations: 0 / 0.9428 GB, free: 120.3 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.908e-05/0.7591, allocations: 4 kB / 0.9428 GB, free: 120.3 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.331e-06/0.7591, allocations: 0 / 0.9428 GB, free: 120.3 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000527/0.7596, allocations: 443.7 kB / 0.9433 GB, free: 119.8 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009685/0.7606, allocations: 0.7378 MB / 0.944 GB, free: 119 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000603/0.7612, allocations: 0.5605 MB / 0.9445 GB, free: 118.5 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00037/0.7616, allocations: 333.7 kB / 0.9448 GB, free: 118.1 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001119/0.7627, allocations: 1.048 MB / 0.9459 GB, free: 116.9 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005023/0.7633, allocations: 411.3 kB / 0.9463 GB, free: 116.4 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=8): time 3.377e-06/0.7633, allocations: 4 kB / 0.9463 GB, free: 116.4 MB / 0.5886 GB Notification: Performance of matching and sorting (n=8): time 0.001654/0.7649, allocations: 1.297 MB / 0.9475 GB, free: 115.1 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.692e-05/0.765, allocations: 77.11 kB / 0.9476 GB, free: 115 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001584/0.7666, allocations: 1.194 MB / 0.9488 GB, free: 113.8 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.0001599/0.7668, allocations: 41.7 kB / 0.9488 GB, free: 113.8 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002264/0.767, allocations: 278.1 kB / 0.9491 GB, free: 113.5 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 4.324e-05/0.7671, allocations: 27.64 kB / 0.9491 GB, free: 113.5 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.51e-05/0.7672, allocations: 15.98 kB / 0.9491 GB, free: 113.5 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001328/0.7673, allocations: 415.2 kB / 0.9495 GB, free: 113.1 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001763/0.7691, allocations: 1.218 MB / 0.9507 GB, free: 111.8 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001862/0.771, allocations: 1.365 MB / 0.952 GB, free: 110.5 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002088/0.7731, allocations: 1.615 MB / 0.9536 GB, free: 108.8 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.7731, allocations: 0 / 0.9536 GB, free: 108.8 MB / 0.5886 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.005289/0.7784, allocations: 3.436 MB / 0.957 GB, free: 105.4 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.521e-05/0.7785, allocations: 11.95 kB / 0.957 GB, free: 105.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.09e-05/0.7785, allocations: 0 / 0.957 GB, free: 105.3 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.894e-05/0.7785, allocations: 4 kB / 0.957 GB, free: 105.3 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001346/0.7799, allocations: 151.8 kB / 0.9571 GB, free: 105.2 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.517e-05/0.7799, allocations: 7.984 kB / 0.9571 GB, free: 105.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009099/0.7808, allocations: 244.3 kB / 0.9574 GB, free: 104.9 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001316/0.781, allocations: 51.98 kB / 0.9574 GB, free: 104.9 MB / 0.5886 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.0004181/0.7814, allocations: 259.3 kB / 0.9577 GB, free: 104.6 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.293e-05/0.7815, allocations: 70.78 kB / 0.9577 GB, free: 104.6 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00121/0.7827, allocations: 0.9436 MB / 0.9586 GB, free: 103.6 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/0.7827, allocations: 4 kB / 0.9586 GB, free: 103.6 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.7827, allocations: 0 / 0.9586 GB, free: 103.6 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.68e-06/0.7828, allocations: 3.984 kB / 0.9587 GB, free: 103.6 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004851/0.7833, allocations: 496.7 kB / 0.9591 GB, free: 103.1 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.7833, allocations: 0 / 0.9591 GB, free: 103.1 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001111/0.7834, allocations: 14.8 kB / 0.9591 GB, free: 103.1 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.981e-06/0.7834, allocations: 0 / 0.9591 GB, free: 103.1 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.742e-05/0.7834, allocations: 4 kB / 0.9591 GB, free: 103.1 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.439e-06/0.7835, allocations: 11.97 kB / 0.9592 GB, free: 103 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.7835, allocations: 0 / 0.9592 GB, free: 103 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001031/0.7845, allocations: 1.001 MB / 0.9601 GB, free: 102 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000104/0.7846, allocations: 151.9 kB / 0.9603 GB, free: 101.9 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.583e-05/0.7847, allocations: 3.984 kB / 0.9603 GB, free: 101.9 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002385/0.785, allocations: 8 kB / 0.9603 GB, free: 101.8 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.42e-05/0.785, allocations: 11.94 kB / 0.9603 GB, free: 101.8 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.405e-05/0.7851, allocations: 11.98 kB / 0.9603 GB, free: 101.8 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0009949/0.7861, allocations: 0.657 MB / 0.961 GB, free: 101.2 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5.41e-07/0.7861, allocations: 0 / 0.961 GB, free: 101.2 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.001775/0.7879, allocations: 495.4 kB / 0.9614 GB, free: 100.7 MB / 0.5886 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.001942/0.7899, allocations: 0.5634 MB / 0.962 GB, free: 100.1 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.002879/0.7928, allocations: 2.363 MB / 0.9643 GB, free: 97.73 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.7928, allocations: 0 / 0.9643 GB, free: 97.73 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0003933/0.7932, allocations: 347.7 kB / 0.9646 GB, free: 97.39 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004016/0.7936, allocations: 32.62 kB / 0.9646 GB, free: 97.36 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002542/0.7962, allocations: 1.828 MB / 0.9664 GB, free: 95.49 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004813/0.7967, allocations: 0.9847 MB / 0.9674 GB, free: 94.48 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0003227/0.797, allocations: 51.59 kB / 0.9674 GB, free: 94.43 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001776/0.7972, allocations: 39.41 kB / 0.9675 GB, free: 94.39 MB / 0.5886 GB Notification: Performance of SimCode: time 9.52e-07/0.7972, allocations: 0 / 0.9675 GB, free: 94.39 MB / 0.5886 GB Notification: Performance of Templates: time 0.02412/0.8213, allocations: 9.465 MB / 0.9767 GB, free: 85.01 MB / 0.5886 GB