Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.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.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002165/0.002165, allocations: 186.8 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.7317/0.7317, allocations: 82.93 MB / 99.42 MB, free: 3.246 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.186/2.186, allocations: 205.4 MB / 325.4 MB, free: 3.254 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.001006/0.001006, allocations: 90.91 kB / 393.6 MB, free: 15.01 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004491/0.0004493, allocations: 20 kB / 471.6 MB, free: 66.48 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08904/0.08951, allocations: 67.45 MB / 0.5264 GB, free: 15 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.001723/0.09128, allocations: 1.112 MB / 0.5275 GB, free: 13.88 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.005027/0.09633, allocations: 2.672 MB / 0.5301 GB, free: 11.2 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.087e-05/0.09642, allocations: 0 / 0.5301 GB, free: 11.2 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.927e-05/0.09646, allocations: 3.938 kB / 0.5301 GB, free: 11.19 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 8.272e-05/0.09655, allocations: 23.89 kB / 0.5301 GB, free: 11.17 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004773/0.1013, allocations: 1.32 MB / 0.5314 GB, free: 9.867 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 8.627e-05/0.1014, allocations: 31.89 kB / 0.5315 GB, free: 9.836 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.075e-05/0.1015, allocations: 12.25 kB / 0.5315 GB, free: 9.824 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.047e-05/0.1015, allocations: 11.94 kB / 0.5315 GB, free: 9.812 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.157e-05/0.1016, allocations: 11.94 kB / 0.5315 GB, free: 9.801 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 9.806e-06/0.1016, allocations: 0 / 0.5315 GB, free: 9.801 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002594/0.1042, allocations: 1.209 MB / 0.5327 GB, free: 8.59 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.795e-05/0.1043, allocations: 7.984 kB / 0.5327 GB, free: 8.582 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.62e-05/0.1043, allocations: 37.64 kB / 0.5327 GB, free: 8.539 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001404/0.1057, allocations: 0.7408 MB / 0.5334 GB, free: 7.797 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.858e-06/0.1057, allocations: 0 / 0.5334 GB, free: 7.797 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.937e-06/0.1057, allocations: 0 / 0.5334 GB, free: 7.797 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.123e-06/0.1058, allocations: 0 / 0.5334 GB, free: 7.797 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0006515/0.1064, allocations: 0.5105 MB / 0.5339 GB, free: 7.238 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.1065, allocations: 8.031 kB / 0.5339 GB, free: 7.23 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.55e-05/0.1066, allocations: 87.19 kB / 0.534 GB, free: 7.145 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002036/0.1068, allocations: 250.2 kB / 0.5343 GB, free: 6.859 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.276e-05/0.1069, allocations: 154.6 kB / 0.5344 GB, free: 6.707 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.934e-05/0.107, allocations: 154.5 kB / 0.5346 GB, free: 6.555 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.777e-05/0.107, allocations: 104.9 kB / 0.5347 GB, free: 6.445 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.034e-05/0.1071, allocations: 75.28 kB / 0.5347 GB, free: 6.371 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.272e-05/0.1072, allocations: 150.6 kB / 0.5349 GB, free: 6.223 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.518e-05/0.1073, allocations: 158.6 kB / 0.535 GB, free: 6.066 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.464e-05/0.1074, allocations: 150.6 kB / 0.5352 GB, free: 5.918 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000383/0.1077, allocations: 461.9 kB / 0.5356 GB, free: 5.418 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001066/0.1079, allocations: 177 kB / 0.5358 GB, free: 5.234 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.091e-05/0.1079, allocations: 79.28 kB / 0.5359 GB, free: 5.156 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.266e-05/0.108, allocations: 105.8 kB / 0.536 GB, free: 5.043 MB / 378.7 MB Notification: Performance of pre-optimization done (n=0): time 1.775e-06/0.108, allocations: 0 / 0.536 GB, free: 5.043 MB / 378.7 MB Notification: Performance of matching and sorting (n=0): time 8.94e-05/0.1081, allocations: 33.61 kB / 0.536 GB, free: 5.004 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.704e-05/0.1082, allocations: 126.7 kB / 0.5361 GB, free: 4.867 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000169/0.1084, allocations: 140 kB / 0.5362 GB, free: 4.723 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.282e-05/0.1084, allocations: 33.64 kB / 0.5363 GB, free: 4.684 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.34e-05/0.1085, allocations: 92.08 kB / 0.5364 GB, free: 4.59 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.459e-06/0.1085, allocations: 0 / 0.5364 GB, free: 4.59 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.047e-06/0.1085, allocations: 0 / 0.5364 GB, free: 4.59 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001618/0.1087, allocations: 322.8 kB / 0.5367 GB, free: 4.266 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.68e-05/0.1087, allocations: 8 kB / 0.5367 GB, free: 4.258 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.973e-05/0.1088, allocations: 0 / 0.5367 GB, free: 4.258 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.405e-05/0.1088, allocations: 11.94 kB / 0.5367 GB, free: 4.246 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.238e-06/0.1088, allocations: 0 / 0.5367 GB, free: 4.246 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001543/0.109, allocations: 53.56 kB / 0.5367 GB, free: 4.188 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.109, allocations: 12.06 kB / 0.5368 GB, free: 4.176 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.184e-05/0.109, allocations: 3.984 kB / 0.5368 GB, free: 4.172 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.035e-05/0.1091, allocations: 0 / 0.5368 GB, free: 4.172 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.667e-06/0.1091, allocations: 4 kB / 0.5368 GB, free: 4.168 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.762e-06/0.1091, allocations: 0 / 0.5368 GB, free: 4.168 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.908e-05/0.1091, allocations: 0 / 0.5368 GB, free: 4.168 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.079e-06/0.1091, allocations: 0 / 0.5368 GB, free: 4.168 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * 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.0001325/0.1093, allocations: 189.1 kB / 0.5369 GB, free: 3.973 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.133e-05/0.1094, allocations: 112.8 kB / 0.537 GB, free: 3.855 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.166e-05/0.1095, allocations: 112.8 kB / 0.5372 GB, free: 3.738 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.093e-05/0.1096, allocations: 184.2 kB / 0.5373 GB, free: 3.551 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.849e-05/0.1097, allocations: 176.3 kB / 0.5375 GB, free: 3.371 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.314e-05/0.1098, allocations: 184.2 kB / 0.5377 GB, free: 3.184 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003159/0.1101, allocations: 405.2 kB / 0.5381 GB, free: 2.73 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.957e-05/0.1102, allocations: 117 kB / 0.5382 GB, free: 2.609 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.626e-05/0.1102, allocations: 104.9 kB / 0.5383 GB, free: 2.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.148e-05/0.1103, allocations: 180.3 kB / 0.5384 GB, free: 2.316 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.19e-05/0.1104, allocations: 184.2 kB / 0.5386 GB, free: 2.129 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.137e-05/0.1105, allocations: 180.3 kB / 0.5388 GB, free: 1.945 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.362e-05/0.1106, allocations: 188.3 kB / 0.539 GB, free: 1.754 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001871/0.1108, allocations: 311.9 kB / 0.5393 GB, free: 1.426 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001089/0.111, allocations: 186 kB / 0.5394 GB, free: 1.219 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000107/0.1111, allocations: 184.2 kB / 0.5396 GB, free: 1.031 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001154/0.1112, allocations: 104.9 kB / 0.5397 GB, free: 0.9219 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.366e-05/0.1113, allocations: 188.2 kB / 0.5399 GB, free: 0.7305 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.246e-05/0.1114, allocations: 105 kB / 0.54 GB, free: 0.6211 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.855e-05/0.1115, allocations: 97.77 kB / 0.5401 GB, free: 0.5273 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.5e-07/0.1115, allocations: 3.938 kB / 0.5401 GB, free: 0.5234 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009068/0.1124, allocations: 283.8 kB / 0.5404 GB, free: 252 kB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 Backend phase and start with SimCode phase: time 0.001307/0.1137, allocations: 0.507 MB / 0.5409 GB, free: 15.73 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001069/0.1138, allocations: 41.64 kB / 0.5409 GB, free: 15.68 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.1139, allocations: 4 kB / 0.5409 GB, free: 15.68 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.555e-06/0.1139, allocations: 3.938 kB / 0.5409 GB, free: 15.68 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000449/0.1143, allocations: 0.5263 MB / 0.5414 GB, free: 15.14 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003493/0.1147, allocations: 259.9 kB / 0.5417 GB, free: 14.86 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003566/0.1151, allocations: 0.6887 MB / 0.5423 GB, free: 14.15 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 1.483e-05/0.1151, allocations: 0 / 0.5423 GB, free: 14.15 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.262e-05/0.1151, allocations: 11.44 kB / 0.5424 GB, free: 14.14 MB / 394.7 MB Notification: Performance of SimCode: time 1.325e-06/0.1151, allocations: 0 / 0.5424 GB, free: 14.14 MB / 394.7 MB Notification: Performance of Templates: time 0.01349/0.1286, allocations: 5.719 MB / 0.5479 GB, free: 8.465 MB / 394.7 MB