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_100boreholes.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_100boreholes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002521/0.002527, allocations: 358.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.403/1.403, allocations: 165.8 MB / 183.1 MB, free: 5.477 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.748/3.748, allocations: 410.8 MB / 0.6001 GB, free: 15.17 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.001725/0.001724, allocations: 194.1 kB / 0.6668 GB, free: 6.941 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006413/0.0006416, allocations: 15.98 kB / 0.7429 GB, free: 8.93 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.414/0.4147, allocations: 67.43 MB / 0.8088 GB, free: 28.8 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1925/0.6072, allocations: 113.2 MB / 0.9193 GB, free: 11.45 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004468/0.6077, allocations: 123.9 kB / 0.9194 GB, free: 11.33 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6087/1.216, allocations: 25.01 MB / 0.9438 GB, free: 108.7 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.804e-06/1.216, allocations: 0 / 0.9438 GB, free: 108.7 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.781e-05/1.217, allocations: 20.59 kB / 0.9439 GB, free: 108.7 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.004622/1.221, allocations: 1.629 MB / 0.9455 GB, free: 107.5 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.01e-05/1.221, allocations: 10.59 kB / 0.9455 GB, free: 107.5 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006507/1.222, allocations: 150.2 kB / 0.9456 GB, free: 107.4 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001285/1.223, allocations: 0.6538 MB / 0.9463 GB, free: 107.1 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.281e-05/1.223, allocations: 25.42 kB / 0.9463 GB, free: 107.1 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001551/1.223, allocations: 44.91 kB / 0.9463 GB, free: 107 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005014/1.224, allocations: 388.2 kB / 0.9467 GB, free: 107 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/1.224, allocations: 0 / 0.9467 GB, free: 107 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.733e-05/1.224, allocations: 5.125 kB / 0.9467 GB, free: 107 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/1.224, allocations: 0 / 0.9467 GB, free: 107 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005333/1.225, allocations: 435.5 kB / 0.9471 GB, free: 107 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001326/1.226, allocations: 0.9915 MB / 0.9481 GB, free: 106.5 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006045/1.227, allocations: 0.5566 MB / 0.9486 GB, free: 106.4 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003693/1.227, allocations: 333.7 kB / 0.9489 GB, free: 106.4 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00117/1.228, allocations: 1.043 MB / 0.95 GB, free: 105.3 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004853/1.229, allocations: 403.6 kB / 0.9503 GB, free: 105.2 MB / 474.7 MB Notification: Performance of pre-optimization done (n=8): time 2.605e-06/1.229, allocations: 0 / 0.9503 GB, free: 105.2 MB / 474.7 MB Notification: Performance of matching and sorting (n=8): time 0.001845/1.23, allocations: 1.358 MB / 0.9517 GB, free: 104.7 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.015e-05/1.231, allocations: 77.11 kB / 0.9517 GB, free: 104.6 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002697/1.233, allocations: 1.855 MB / 0.9536 GB, free: 102.8 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002033/1.234, allocations: 45.7 kB / 0.9536 GB, free: 102.7 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000489/1.234, allocations: 493.1 kB / 0.9541 GB, free: 102.3 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.006e-05/1.234, allocations: 23.73 kB / 0.9541 GB, free: 102.2 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001083/1.234, allocations: 24.12 kB / 0.9541 GB, free: 102.2 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001269/1.234, allocations: 403 kB / 0.9545 GB, free: 101.8 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002229/1.237, allocations: 1.475 MB / 0.9559 GB, free: 100.3 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002405/1.239, allocations: 1.627 MB / 0.9575 GB, free: 98.71 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00268/1.242, allocations: 1.872 MB / 0.9594 GB, free: 96.82 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.286e-06/1.242, allocations: 0 / 0.9594 GB, free: 96.82 MB / 474.7 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.006742/1.249, allocations: 4.036 MB / 0.9633 GB, free: 92.75 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.551e-05/1.249, allocations: 11.95 kB / 0.9633 GB, free: 92.73 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001119/1.249, allocations: 20 kB / 0.9633 GB, free: 92.71 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.771e-05/1.249, allocations: 4 kB / 0.9633 GB, free: 92.71 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001391/1.25, allocations: 151.6 kB / 0.9635 GB, free: 92.56 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.539e-05/1.25, allocations: 4 kB / 0.9635 GB, free: 92.56 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001459/1.252, allocations: 256.3 kB / 0.9637 GB, free: 92.3 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001806/1.252, allocations: 92.3 kB / 0.9638 GB, free: 92.21 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.000691/1.253, allocations: 381.4 kB / 0.9642 GB, free: 91.83 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000158/1.253, allocations: 122 kB / 0.9643 GB, free: 91.71 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001631/1.254, allocations: 1.012 MB / 0.9653 GB, free: 90.69 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.033e-06/1.254, allocations: 4 kB / 0.9653 GB, free: 90.69 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/1.254, allocations: 0 / 0.9653 GB, free: 90.69 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/1.254, allocations: 3.984 kB / 0.9653 GB, free: 90.68 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000867/1.255, allocations: 0.6794 MB / 0.9659 GB, free: 89.95 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.948e-06/1.255, allocations: 0 / 0.9659 GB, free: 89.95 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001151/1.256, allocations: 4 kB / 0.966 GB, free: 89.95 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.961e-06/1.256, allocations: 4 kB / 0.966 GB, free: 89.94 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.904e-05/1.256, allocations: 3.984 kB / 0.966 GB, free: 89.94 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.528e-06/1.256, allocations: 3.953 kB / 0.966 GB, free: 89.93 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/1.256, allocations: 4 kB / 0.966 GB, free: 89.93 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001131/1.257, allocations: 1.051 MB / 0.967 GB, free: 88.85 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000274/1.257, allocations: 211.1 kB / 0.9672 GB, free: 88.62 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001798/1.257, allocations: 0 / 0.9672 GB, free: 88.62 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006651/1.258, allocations: 11.98 kB / 0.9672 GB, free: 88.61 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.282e-05/1.258, allocations: 11.95 kB / 0.9672 GB, free: 88.6 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.746e-05/1.258, allocations: 15.97 kB / 0.9672 GB, free: 88.59 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001867/1.26, allocations: 1.108 MB / 0.9683 GB, free: 87.45 MB / 474.7 MB Notification: Performance of sort global known variables: time 5.51e-07/1.26, allocations: 0 / 0.9683 GB, free: 87.45 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002077/1.262, allocations: 0.5227 MB / 0.9688 GB, free: 86.93 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.002511/1.265, allocations: 0.563 MB / 0.9694 GB, free: 86.38 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.003103/1.268, allocations: 2.512 MB / 0.9718 GB, free: 83.87 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.169e-06/1.268, allocations: 0 / 0.9718 GB, free: 83.87 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004043/1.268, allocations: 339.8 kB / 0.9722 GB, free: 83.54 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006528/1.269, allocations: 62.53 kB / 0.9722 GB, free: 83.47 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004169/1.273, allocations: 2.725 MB / 0.9749 GB, free: 80.71 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007813/1.274, allocations: 1.183 MB / 0.976 GB, free: 79.5 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0006801/1.275, allocations: 130.3 kB / 0.9762 GB, free: 79.37 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002718/1.275, allocations: 67.38 kB / 0.9762 GB, free: 79.3 MB / 474.7 MB Notification: Performance of SimCode: time 9.61e-07/1.275, allocations: 0 / 0.9762 GB, free: 79.3 MB / 474.7 MB Notification: Performance of Templates: time 0.0335/1.308, allocations: 11.76 MB / 0.9877 GB, free: 67.6 MB / 474.7 MB