Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.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.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002296/0.002301, allocations: 183.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.7013/0.7013, allocations: 82.92 MB / 99.42 MB, free: 3.281 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.03/2.03, allocations: 205.4 MB / 325.4 MB, free: 3.227 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.001057/0.001057, allocations: 90.66 kB / 393.6 MB, free: 14.98 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004442/0.0004444, allocations: 12 kB / 471.6 MB, free: 66.48 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08632/0.08678, allocations: 67.45 MB / 0.5264 GB, free: 14.99 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.004897/0.09172, allocations: 3.247 MB / 0.5296 GB, free: 11.73 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00403/0.09579, allocations: 2.231 MB / 0.5317 GB, free: 9.488 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003262/0.09615, allocations: 15.94 kB / 0.5318 GB, free: 9.473 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001513/0.09768, allocations: 470.3 kB / 0.5322 GB, free: 9.012 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005661/0.09826, allocations: 251.3 kB / 0.5324 GB, free: 8.766 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002367/0.09851, allocations: 79.92 kB / 0.5325 GB, free: 8.688 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000803/0.09933, allocations: 0.5738 MB / 0.5331 GB, free: 8.117 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004662/0.09982, allocations: 245.5 kB / 0.5333 GB, free: 7.871 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000353/0.1002, allocations: 235.1 kB / 0.5335 GB, free: 7.641 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003774/0.1006, allocations: 266.8 kB / 0.5338 GB, free: 7.379 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 8.011e-05/0.1007, allocations: 32 kB / 0.5338 GB, free: 7.348 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000111/0.1008, allocations: 36 kB / 0.5339 GB, free: 7.312 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001555/0.101, allocations: 123.5 kB / 0.534 GB, free: 7.191 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001711/0.1011, allocations: 157.4 kB / 0.5341 GB, free: 7.031 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009321/0.1021, allocations: 0.7906 MB / 0.5349 GB, free: 6.238 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.7e-06/0.1021, allocations: 0 / 0.5349 GB, free: 6.238 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.023e-06/0.1021, allocations: 0 / 0.5349 GB, free: 6.238 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.024e-05/0.1021, allocations: 0 / 0.5349 GB, free: 6.238 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001516/0.1037, allocations: 0.8488 MB / 0.5357 GB, free: 5.34 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/0.1037, allocations: 16.02 kB / 0.5357 GB, free: 5.324 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001474/0.1039, allocations: 71.16 kB / 0.5358 GB, free: 5.254 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007649/0.1047, allocations: 436.7 kB / 0.5362 GB, free: 4.785 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.676e-05/0.1047, allocations: 37 kB / 0.5363 GB, free: 4.75 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.285e-05/0.1048, allocations: 55.89 kB / 0.5363 GB, free: 4.695 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001041/0.1059, allocations: 426.5 kB / 0.5367 GB, free: 4.27 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.135e-05/0.1059, allocations: 0 / 0.5367 GB, free: 4.27 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.471e-05/0.106, allocations: 20 kB / 0.5367 GB, free: 4.25 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.624e-05/0.106, allocations: 12 kB / 0.5367 GB, free: 4.238 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001003/0.107, allocations: 375.8 kB / 0.5371 GB, free: 3.871 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002804/0.1098, allocations: 1.539 MB / 0.5386 GB, free: 2.262 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007515/0.1106, allocations: 344.1 kB / 0.5389 GB, free: 1.914 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.997e-05/0.1107, allocations: 4 kB / 0.5389 GB, free: 1.91 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.802e-05/0.1107, allocations: 42.55 kB / 0.539 GB, free: 1.859 MB / 378.7 MB Notification: Performance of pre-optimization done (n=42): time 7.003e-06/0.1107, allocations: 112 / 0.539 GB, free: 1.859 MB / 378.7 MB Notification: Performance of matching and sorting (n=42): time 0.001326/0.1121, allocations: 0.5048 MB / 0.5395 GB, free: 1.348 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.886e-05/0.1121, allocations: 63.34 kB / 0.5395 GB, free: 1.273 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000793/0.1129, allocations: 485.9 kB / 0.54 GB, free: 0.793 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.8e-05/0.113, allocations: 29.7 kB / 0.54 GB, free: 0.7578 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002647/0.1133, allocations: 280.3 kB / 0.5403 GB, free: 492 kB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001581/0.1134, allocations: 145.8 kB / 0.5404 GB, free: 344 kB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.514e-05/0.1135, allocations: 12 kB / 0.5404 GB, free: 332 kB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002197/0.1137, allocations: 362.8 kB / 0.5408 GB, free: 15.96 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003646/0.1141, allocations: 124.7 kB / 0.5409 GB, free: 15.84 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003441/0.1144, allocations: 133.2 kB / 0.541 GB, free: 15.71 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003867/0.1148, allocations: 137.9 kB / 0.5412 GB, free: 15.57 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.017e-06/0.1149, allocations: 0 / 0.5412 GB, free: 15.57 MB / 394.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009712/0.1158, allocations: 412.5 kB / 0.5416 GB, free: 15.16 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.928e-05/0.1159, allocations: 4 kB / 0.5416 GB, free: 15.16 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.179e-06/0.1159, allocations: 0 / 0.5416 GB, free: 15.16 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.803e-05/0.1159, allocations: 4 kB / 0.5416 GB, free: 15.16 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006189/0.1166, allocations: 127.9 kB / 0.5417 GB, free: 15.03 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.28e-05/0.1166, allocations: 4 kB / 0.5417 GB, free: 15.03 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003597/0.117, allocations: 55.61 kB / 0.5417 GB, free: 14.97 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.908e-05/0.117, allocations: 8 kB / 0.5418 GB, free: 14.96 MB / 394.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 (46): * Single equations (assignments): 46 * 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 prepare postOptimizeDAE: time 0.0003422/0.1174, allocations: 197.8 kB / 0.5419 GB, free: 14.76 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001131/0.1175, allocations: 55.34 kB / 0.542 GB, free: 14.71 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001325/0.1176, allocations: 57.11 kB / 0.5421 GB, free: 14.65 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.975e-06/0.1176, allocations: 4 kB / 0.5421 GB, free: 14.64 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.068e-06/0.1177, allocations: 0 / 0.5421 GB, free: 14.64 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.269e-06/0.1177, allocations: 3.984 kB / 0.5421 GB, free: 14.64 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009496/0.1186, allocations: 0.5789 MB / 0.5426 GB, free: 14.01 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.596e-06/0.1187, allocations: 0 / 0.5426 GB, free: 14.01 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006631/0.1193, allocations: 131.9 kB / 0.5428 GB, free: 13.88 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.122e-06/0.1194, allocations: 0 / 0.5428 GB, free: 13.88 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.923e-05/0.1194, allocations: 11.98 kB / 0.5428 GB, free: 13.87 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.493e-06/0.1194, allocations: 4 kB / 0.5428 GB, free: 13.86 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.795e-06/0.1194, allocations: 4 kB / 0.5428 GB, free: 13.86 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001429/0.1209, allocations: 0.6749 MB / 0.5434 GB, free: 13.17 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001823/0.1211, allocations: 132.5 kB / 0.5436 GB, free: 13.02 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.352e-05/0.1212, allocations: 8 kB / 0.5436 GB, free: 13.01 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003265/0.1215, allocations: 23.98 kB / 0.5436 GB, free: 12.99 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.6e-05/0.1216, allocations: 23.97 kB / 0.5436 GB, free: 12.96 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.189e-05/0.1216, allocations: 12 kB / 0.5436 GB, free: 12.95 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005789/0.1222, allocations: 347.1 kB / 0.544 GB, free: 12.61 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.72e-07/0.1222, allocations: 0 / 0.544 GB, free: 12.61 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005579/0.1228, allocations: 143.6 kB / 0.5441 GB, free: 12.47 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (intRes2UTub.capFil1.T,intRes2UTub.capFil2.T,intRes2UTub.capFil3.T,intRes2UTub.capFil4.T) * 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 (42): * Single equations (assignments): 42 * 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.0001686/0.123, allocations: 123.1 kB / 0.5442 GB, free: 12.34 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0008221/0.1238, allocations: 335.3 kB / 0.5445 GB, free: 12.02 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.438e-06/0.1238, allocations: 0 / 0.5445 GB, free: 12.02 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004218/0.1243, allocations: 187.8 kB / 0.5447 GB, free: 11.83 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006994/0.125, allocations: 109.8 kB / 0.5448 GB, free: 11.72 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002633/0.1276, allocations: 1.444 MB / 0.5462 GB, free: 10.25 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006448/0.1283, allocations: 0.8824 MB / 0.5471 GB, free: 9.348 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002861/0.1286, allocations: 48.41 kB / 0.5471 GB, free: 9.301 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000128/0.1288, allocations: 39.38 kB / 0.5472 GB, free: 9.262 MB / 394.7 MB Notification: Performance of SimCode: time 1.494e-06/0.1288, allocations: 0 / 0.5472 GB, free: 9.262 MB / 394.7 MB Notification: Performance of Templates: time 0.01511/0.1439, allocations: 5.37 MB / 0.5524 GB, free: 4.016 MB / 394.7 MB