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.InternalResistancesOneUTube.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.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001398/0.001401, allocations: 189 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.6949/0.6949, allocations: 82.92 MB / 99.41 MB, free: 3.262 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.151/2.151, allocations: 205.4 MB / 325.4 MB, free: 3.445 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.001034/0.001033, allocations: 94.72 kB / 393.6 MB, free: 15.21 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004477/0.000448, allocations: 16 kB / 471.6 MB, free: 66.54 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09507/0.09554, allocations: 67.46 MB / 0.5264 GB, free: 15.05 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.003643/0.09923, allocations: 2.393 MB / 0.5287 GB, free: 12.64 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003365/0.1026, allocations: 1.954 MB / 0.5306 GB, free: 10.68 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001832/0.1029, allocations: 7.938 kB / 0.5306 GB, free: 10.67 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001486/0.1044, allocations: 450.4 kB / 0.5311 GB, free: 10.23 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003321/0.1047, allocations: 143.6 kB / 0.5312 GB, free: 10.09 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001315/0.1049, allocations: 43.95 kB / 0.5313 GB, free: 10.05 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005038/0.1054, allocations: 322.3 kB / 0.5316 GB, free: 9.734 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002654/0.1057, allocations: 115 kB / 0.5317 GB, free: 9.617 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000238/0.1059, allocations: 139.4 kB / 0.5318 GB, free: 9.48 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002237/0.1061, allocations: 147.3 kB / 0.5319 GB, free: 9.336 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 5.22e-05/0.1062, allocations: 20 kB / 0.532 GB, free: 9.316 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.618e-05/0.1063, allocations: 16 kB / 0.532 GB, free: 9.301 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001141/0.1064, allocations: 79.67 kB / 0.5321 GB, free: 9.223 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000119/0.1065, allocations: 105.5 kB / 0.5322 GB, free: 9.113 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005147/0.1071, allocations: 442.7 kB / 0.5326 GB, free: 8.68 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.719e-06/0.1071, allocations: 0 / 0.5326 GB, free: 8.68 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.932e-06/0.1071, allocations: 0 / 0.5326 GB, free: 8.68 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.152e-05/0.1071, allocations: 0 / 0.5326 GB, free: 8.68 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001092/0.1082, allocations: 0.6538 MB / 0.5332 GB, free: 7.977 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.1083, allocations: 8.031 kB / 0.5332 GB, free: 7.969 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.344e-05/0.1084, allocations: 47.52 kB / 0.5333 GB, free: 7.922 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005976/0.109, allocations: 357.1 kB / 0.5336 GB, free: 7.531 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.856e-05/0.109, allocations: 24.39 kB / 0.5336 GB, free: 7.508 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.886e-05/0.1091, allocations: 24 kB / 0.5337 GB, free: 7.484 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005396/0.1096, allocations: 195.3 kB / 0.5338 GB, free: 7.289 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.606e-05/0.1097, allocations: 0 / 0.5338 GB, free: 7.289 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.062e-05/0.1097, allocations: 12 kB / 0.5339 GB, free: 7.277 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.46e-06/0.1097, allocations: 4 kB / 0.5339 GB, free: 7.273 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00053/0.1103, allocations: 177.6 kB / 0.534 GB, free: 7.098 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001583/0.1119, allocations: 0.8701 MB / 0.5349 GB, free: 6.16 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004079/0.1123, allocations: 164.1 kB / 0.535 GB, free: 5.992 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.774e-05/0.1123, allocations: 0 / 0.535 GB, free: 5.992 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.816e-05/0.1124, allocations: 38.56 kB / 0.5351 GB, free: 5.945 MB / 378.7 MB Notification: Performance of pre-optimization done (n=18): time 2.199e-06/0.1124, allocations: 0 / 0.5351 GB, free: 5.945 MB / 378.7 MB Notification: Performance of matching and sorting (n=18): time 0.0007918/0.1132, allocations: 267.6 kB / 0.5353 GB, free: 5.68 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.904e-05/0.1133, allocations: 59.36 kB / 0.5354 GB, free: 5.609 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006766/0.114, allocations: 413.7 kB / 0.5358 GB, free: 5.195 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.963e-05/0.114, allocations: 29.7 kB / 0.5358 GB, free: 5.16 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001968/0.1142, allocations: 208.1 kB / 0.536 GB, free: 4.953 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.904e-05/0.1143, allocations: 63.11 kB / 0.5361 GB, free: 4.891 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.174e-05/0.1143, allocations: 11.88 kB / 0.5361 GB, free: 4.879 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001943/0.1145, allocations: 346.8 kB / 0.5364 GB, free: 4.531 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002064/0.1147, allocations: 59.97 kB / 0.5365 GB, free: 4.473 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001918/0.115, allocations: 59.97 kB / 0.5365 GB, free: 4.414 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002169/0.1152, allocations: 73.86 kB / 0.5366 GB, free: 4.344 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.562e-06/0.1152, allocations: 0 / 0.5366 GB, free: 4.344 MB / 378.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005536/0.1158, allocations: 220.7 kB / 0.5368 GB, free: 4.125 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.353e-05/0.1158, allocations: 7.953 kB / 0.5368 GB, free: 4.117 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.1158, allocations: 3.938 kB / 0.5368 GB, free: 4.113 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.1158, allocations: 4 kB / 0.5368 GB, free: 4.109 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003073/0.1162, allocations: 59.91 kB / 0.5369 GB, free: 4.051 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.989e-06/0.1162, allocations: 0 / 0.5369 GB, free: 4.051 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002269/0.1164, allocations: 27.83 kB / 0.5369 GB, free: 4.023 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.935e-05/0.1164, allocations: 8 kB / 0.5369 GB, free: 4.016 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 (20): * Single equations (assignments): 20 * 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.0002311/0.1167, allocations: 157.8 kB / 0.5371 GB, free: 3.852 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.816e-05/0.1168, allocations: 35.62 kB / 0.5371 GB, free: 3.816 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.617e-05/0.1169, allocations: 43.55 kB / 0.5371 GB, free: 3.773 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.124e-06/0.1169, allocations: 0 / 0.5371 GB, free: 3.773 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.22e-06/0.1169, allocations: 4 kB / 0.5371 GB, free: 3.77 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.233e-06/0.1169, allocations: 3.984 kB / 0.5371 GB, free: 3.766 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005956/0.1175, allocations: 377.2 kB / 0.5375 GB, free: 3.348 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.603e-06/0.1176, allocations: 4 kB / 0.5375 GB, free: 3.344 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003334/0.1179, allocations: 55.97 kB / 0.5376 GB, free: 3.289 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.232e-06/0.1179, allocations: 0 / 0.5376 GB, free: 3.289 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.019e-05/0.118, allocations: 4 kB / 0.5376 GB, free: 3.285 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.994e-06/0.118, allocations: 7.953 kB / 0.5376 GB, free: 3.277 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.229e-06/0.118, allocations: 3.984 kB / 0.5376 GB, free: 3.273 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008446/0.1188, allocations: 390.8 kB / 0.5379 GB, free: 2.875 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001417/0.119, allocations: 120.6 kB / 0.5381 GB, free: 2.738 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.47e-05/0.1191, allocations: 4 kB / 0.5381 GB, free: 2.734 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002384/0.1193, allocations: 20 kB / 0.5381 GB, free: 2.715 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.261e-05/0.1194, allocations: 11.98 kB / 0.5381 GB, free: 2.703 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.262e-05/0.1194, allocations: 4 kB / 0.5381 GB, free: 2.699 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004811/0.1199, allocations: 303.1 kB / 0.5384 GB, free: 2.406 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.63e-07/0.1199, allocations: 0 / 0.5384 GB, free: 2.406 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004267/0.1203, allocations: 71.84 kB / 0.5385 GB, free: 2.336 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (intRes1UTub.capFil1.T,intRes1UTub.capFil2.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 (18): * Single equations (assignments): 18 * 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.0001544/0.1205, allocations: 115.2 kB / 0.5386 GB, free: 2.211 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004766/0.121, allocations: 147.9 kB / 0.5387 GB, free: 2.066 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.497e-06/0.121, allocations: 0 / 0.5387 GB, free: 2.066 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000232/0.1213, allocations: 94.31 kB / 0.5388 GB, free: 1.977 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005946/0.1219, allocations: 81.94 kB / 0.5389 GB, free: 1.898 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001685/0.1236, allocations: 0.884 MB / 0.5397 GB, free: 0.9922 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005272/0.1241, allocations: 0.807 MB / 0.5405 GB, free: 164 kB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001839/0.1243, allocations: 38.95 kB / 0.5406 GB, free: 128 kB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.315e-05/0.1244, allocations: 23.44 kB / 0.5406 GB, free: 104 kB / 378.7 MB Notification: Performance of SimCode: time 1.467e-06/0.1244, allocations: 3.938 kB / 0.5406 GB, free: 100 kB / 378.7 MB Notification: Performance of Templates: time 0.01094/0.1354, allocations: 3.566 MB / 0.5441 GB, free: 12.62 MB / 394.7 MB