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.001444/0.001447, allocations: 186.5 kB / 15.77 MB, free: 6 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.6745/0.6745, allocations: 82.92 MB / 99.42 MB, free: 3.273 MB / 74.72 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.169/2.169, allocations: 205.4 MB / 325.4 MB, free: 3.297 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001549/0.001549, allocations: 98.78 kB / 393.6 MB, free: 15.06 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004585/0.0004587, allocations: 12 kB / 471.6 MB, free: 66.49 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09016/0.09065, allocations: 67.45 MB / 0.5264 GB, free: 15.01 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.002223/0.09292, allocations: 1.376 MB / 0.5277 GB, free: 13.63 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.007208/0.1002, allocations: 3.837 MB / 0.5315 GB, free: 9.777 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001586/0.1004, allocations: 0 / 0.5315 GB, free: 9.777 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00132/0.1017, allocations: 338.9 kB / 0.5318 GB, free: 9.445 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001481/0.1019, allocations: 55.83 kB / 0.5319 GB, free: 9.391 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002925/0.1048, allocations: 0.7209 MB / 0.5326 GB, free: 8.672 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002549/0.1051, allocations: 99.75 kB / 0.5327 GB, free: 8.574 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.47e-05/0.1052, allocations: 13.55 kB / 0.5327 GB, free: 8.559 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001064/0.1053, allocations: 55.77 kB / 0.5327 GB, free: 8.504 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000268/0.1056, allocations: 159.6 kB / 0.5329 GB, free: 8.348 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 5.27e-05/0.1056, allocations: 12 kB / 0.5329 GB, free: 8.336 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00286/0.1085, allocations: 1.26 MB / 0.5341 GB, free: 7.074 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003041/0.1089, allocations: 251.3 kB / 0.5344 GB, free: 6.828 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000167/0.109, allocations: 129.1 kB / 0.5345 GB, free: 6.695 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002012/0.1111, allocations: 1.029 MB / 0.5355 GB, free: 5.664 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.282e-06/0.1111, allocations: 0 / 0.5355 GB, free: 5.664 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.253e-06/0.1111, allocations: 0 / 0.5355 GB, free: 5.664 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.554e-06/0.1111, allocations: 0 / 0.5355 GB, free: 5.664 MB / 378.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.009612/0.1207, allocations: 1.226 MB / 0.5367 GB, free: 4.387 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.1208, allocations: 8.031 kB / 0.5367 GB, free: 4.379 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000441/0.1213, allocations: 94.66 kB / 0.5368 GB, free: 4.285 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006412/0.1219, allocations: 400.8 kB / 0.5372 GB, free: 3.844 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.808e-05/0.122, allocations: 4 kB / 0.5372 GB, free: 3.84 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.557e-05/0.122, allocations: 15.95 kB / 0.5372 GB, free: 3.824 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005781/0.1226, allocations: 391.1 kB / 0.5376 GB, free: 3.43 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.58e-06/0.1226, allocations: 0 / 0.5376 GB, free: 3.43 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.436e-05/0.1227, allocations: 0 / 0.5376 GB, free: 3.43 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.198e-06/0.1227, allocations: 0 / 0.5376 GB, free: 3.43 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000615/0.1233, allocations: 431.8 kB / 0.538 GB, free: 3.008 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008713/0.1242, allocations: 0.6653 MB / 0.5386 GB, free: 2.293 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007659/0.125, allocations: 0.5594 MB / 0.5392 GB, free: 1.715 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00132/0.1263, allocations: 1.036 MB / 0.5402 GB, free: 468 kB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005896/0.1269, allocations: 408.9 kB / 0.5406 GB, free: 40 kB / 378.7 MB Notification: Performance of pre-optimization done (n=8): time 2.996e-06/0.1269, allocations: 7.875 kB / 0.5406 GB, free: 32 kB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.00192/0.1289, allocations: 1.293 MB / 0.5418 GB, free: 14.73 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.936e-05/0.129, allocations: 85.09 kB / 0.5419 GB, free: 14.63 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002244/0.1312, allocations: 1.277 MB / 0.5432 GB, free: 13.34 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.902e-05/0.1313, allocations: 29.7 kB / 0.5432 GB, free: 13.3 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003412/0.1317, allocations: 281.4 kB / 0.5435 GB, free: 13.02 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.526e-05/0.1318, allocations: 19.8 kB / 0.5435 GB, free: 13 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.229e-05/0.1318, allocations: 4.125 kB / 0.5435 GB, free: 13 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002838/0.1321, allocations: 423.8 kB / 0.5439 GB, free: 12.57 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001881/0.134, allocations: 1.361 MB / 0.5452 GB, free: 11.21 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00202/0.1361, allocations: 1.493 MB / 0.5467 GB, free: 9.707 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00312/0.1392, allocations: 1.895 MB / 0.5485 GB, free: 7.797 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.843e-06/0.1393, allocations: 4 kB / 0.5485 GB, free: 7.793 MB / 394.7 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.006758/0.146, allocations: 3.945 MB / 0.5524 GB, free: 3.812 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.68e-05/0.1461, allocations: 7.953 kB / 0.5524 GB, free: 3.805 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.18e-05/0.1461, allocations: 4 kB / 0.5524 GB, free: 3.801 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.1462, allocations: 0 / 0.5524 GB, free: 3.801 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001683/0.1463, allocations: 15.98 kB / 0.5524 GB, free: 3.785 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.579e-06/0.1464, allocations: 0 / 0.5524 GB, free: 3.785 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000655/0.147, allocations: 240.3 kB / 0.5526 GB, free: 3.547 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-05/0.1471, allocations: 23.98 kB / 0.5527 GB, free: 3.523 MB / 394.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 (16): * Single equations (assignments): 13 * Array equations: 2 * 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.000427/0.1476, allocations: 245.6 kB / 0.5529 GB, free: 3.273 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.364e-05/0.1477, allocations: 70.69 kB / 0.553 GB, free: 3.203 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003767/0.148, allocations: 79.67 kB / 0.553 GB, free: 3.117 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.117e-06/0.1481, allocations: 4 kB / 0.553 GB, free: 3.113 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.174e-06/0.1481, allocations: 4.031 kB / 0.553 GB, free: 3.109 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.676e-06/0.1481, allocations: 3.938 kB / 0.553 GB, free: 3.105 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006852/0.1488, allocations: 0.5177 MB / 0.5536 GB, free: 2.543 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.804e-06/0.1488, allocations: 0 / 0.5536 GB, free: 2.543 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.842e-05/0.1489, allocations: 7.984 kB / 0.5536 GB, free: 2.535 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.22e-06/0.1489, allocations: 0 / 0.5536 GB, free: 2.535 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.026e-05/0.149, allocations: 7.984 kB / 0.5536 GB, free: 2.527 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.181e-06/0.149, allocations: 3.953 kB / 0.5536 GB, free: 2.523 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.018e-06/0.149, allocations: 0 / 0.5536 GB, free: 2.523 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001358/0.1504, allocations: 1.021 MB / 0.5546 GB, free: 1.477 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000179/0.1506, allocations: 159.7 kB / 0.5547 GB, free: 1.301 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.961e-05/0.1507, allocations: 11.95 kB / 0.5547 GB, free: 1.289 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002247/0.1509, allocations: 11.98 kB / 0.5547 GB, free: 1.277 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.302e-05/0.151, allocations: 11.94 kB / 0.5548 GB, free: 1.266 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.881e-05/0.151, allocations: 11.97 kB / 0.5548 GB, free: 1.254 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.00116/0.1522, allocations: 0.7101 MB / 0.5555 GB, free: 0.5391 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.91e-07/0.1522, allocations: 0 / 0.5555 GB, free: 0.5391 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001281/0.1535, allocations: 403.8 kB / 0.5558 GB, free: 148 kB / 394.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.001568/0.1551, allocations: 474.8 kB / 0.5563 GB, free: 15.67 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003475/0.1586, allocations: 2.496 MB / 0.5587 GB, free: 13.16 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.125e-06/0.1586, allocations: 0 / 0.5587 GB, free: 13.16 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004827/0.1591, allocations: 347.7 kB / 0.5591 GB, free: 12.82 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004141/0.1596, allocations: 49.5 kB / 0.5591 GB, free: 12.78 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003251/0.1628, allocations: 1.969 MB / 0.561 GB, free: 10.78 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008479/0.1637, allocations: 1.004 MB / 0.562 GB, free: 9.746 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002856/0.164, allocations: 45.41 kB / 0.5621 GB, free: 9.703 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001409/0.1642, allocations: 23.42 kB / 0.5621 GB, free: 9.68 MB / 410.7 MB Notification: Performance of SimCode: time 2.048e-06/0.1642, allocations: 0 / 0.5621 GB, free: 9.68 MB / 410.7 MB Notification: Performance of Templates: time 0.02577/0.19, allocations: 9.533 MB / 0.5714 GB, free: 200 kB / 410.7 MB