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.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.Functions.Validation.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001464/0.001464, allocations: 182.2 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.7365/0.7365, allocations: 82.93 MB / 99.42 MB, free: 3.23 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.063/2.063, allocations: 205.4 MB / 325.4 MB, free: 3.312 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.001089/0.001089, allocations: 107 kB / 393.6 MB, free: 15.08 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007556/0.000756, allocations: 12 kB / 471.6 MB, free: 66.5 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09394/0.09474, allocations: 67.45 MB / 0.5264 GB, free: 15.01 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.001853/0.09665, allocations: 1.108 MB / 0.5275 GB, free: 13.89 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.005224/0.1019, allocations: 2.641 MB / 0.5301 GB, free: 11.23 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.49e-05/0.102, allocations: 0 / 0.5301 GB, free: 11.23 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.757e-05/0.102, allocations: 0 / 0.5301 GB, free: 11.23 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 7.215e-05/0.1021, allocations: 19.91 kB / 0.5301 GB, free: 11.21 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00504/0.1072, allocations: 1.294 MB / 0.5314 GB, free: 9.941 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 8.672e-05/0.1073, allocations: 27.95 kB / 0.5314 GB, free: 9.914 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.906e-05/0.1074, allocations: 4 kB / 0.5314 GB, free: 9.91 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.413e-05/0.1074, allocations: 15.92 kB / 0.5314 GB, free: 9.895 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.567e-05/0.1075, allocations: 19.92 kB / 0.5314 GB, free: 9.875 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.094e-05/0.1075, allocations: 7.938 kB / 0.5314 GB, free: 9.867 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00329/0.1108, allocations: 1.166 MB / 0.5326 GB, free: 8.699 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.193e-05/0.1109, allocations: 11.94 kB / 0.5326 GB, free: 8.688 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.747e-05/0.1109, allocations: 29.7 kB / 0.5326 GB, free: 8.652 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001817/0.1128, allocations: 0.7177 MB / 0.5333 GB, free: 7.934 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.448e-06/0.1128, allocations: 0 / 0.5333 GB, free: 7.934 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.759e-06/0.1128, allocations: 0 / 0.5333 GB, free: 7.934 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.062e-06/0.1128, allocations: 0 / 0.5333 GB, free: 7.934 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.0007263/0.1136, allocations: 0.5028 MB / 0.5338 GB, free: 7.383 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.958e-05/0.1136, allocations: 8.031 kB / 0.5338 GB, free: 7.375 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.408e-05/0.1137, allocations: 91.19 kB / 0.5339 GB, free: 7.285 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002002/0.1139, allocations: 254.2 kB / 0.5341 GB, free: 6.996 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.492e-05/0.114, allocations: 158.5 kB / 0.5343 GB, free: 6.84 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.865e-05/0.1141, allocations: 150.6 kB / 0.5344 GB, free: 6.691 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.971e-05/0.1142, allocations: 105 kB / 0.5345 GB, free: 6.582 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.176e-05/0.1143, allocations: 75.28 kB / 0.5346 GB, free: 6.508 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.676e-05/0.1143, allocations: 150.6 kB / 0.5347 GB, free: 6.359 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.501e-05/0.1144, allocations: 154.6 kB / 0.5349 GB, free: 6.207 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.61e-05/0.1145, allocations: 150.6 kB / 0.535 GB, free: 6.059 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004057/0.1149, allocations: 469.9 kB / 0.5355 GB, free: 5.551 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001084/0.1151, allocations: 173.1 kB / 0.5357 GB, free: 5.371 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.437e-05/0.1151, allocations: 79.23 kB / 0.5357 GB, free: 5.293 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.462e-05/0.1152, allocations: 105.8 kB / 0.5358 GB, free: 5.18 MB / 378.7 MB Notification: Performance of pre-optimization done (n=0): time 2.559e-06/0.1152, allocations: 0 / 0.5358 GB, free: 5.18 MB / 378.7 MB Notification: Performance of matching and sorting (n=0): time 9.1e-05/0.1153, allocations: 33.64 kB / 0.5359 GB, free: 5.141 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.108e-05/0.1154, allocations: 134.7 kB / 0.536 GB, free: 4.996 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001674/0.1156, allocations: 133.2 kB / 0.5361 GB, free: 4.859 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.178e-05/0.1156, allocations: 29.7 kB / 0.5361 GB, free: 4.824 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.98e-05/0.1157, allocations: 88.14 kB / 0.5362 GB, free: 4.734 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.779e-06/0.1157, allocations: 0 / 0.5362 GB, free: 4.734 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.434e-06/0.1157, allocations: 0 / 0.5362 GB, free: 4.734 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001715/0.1159, allocations: 318.8 kB / 0.5365 GB, free: 4.414 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.837e-05/0.1159, allocations: 4 kB / 0.5365 GB, free: 4.41 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.211e-05/0.116, allocations: 8 kB / 0.5365 GB, free: 4.402 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.625e-05/0.116, allocations: 8 kB / 0.5366 GB, free: 4.395 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.373e-06/0.116, allocations: 0 / 0.5366 GB, free: 4.395 MB / 378.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001564/0.1162, allocations: 45.59 kB / 0.5366 GB, free: 4.344 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.199e-05/0.1162, allocations: 7.953 kB / 0.5366 GB, free: 4.336 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.318e-05/0.1163, allocations: 7.938 kB / 0.5366 GB, free: 4.328 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.1163, allocations: 3.938 kB / 0.5366 GB, free: 4.324 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.695e-06/0.1163, allocations: 0 / 0.5366 GB, free: 4.324 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.169e-06/0.1163, allocations: 0 / 0.5366 GB, free: 4.324 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.371e-05/0.1164, allocations: 7.938 kB / 0.5366 GB, free: 4.316 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.232e-06/0.1164, allocations: 4.062 kB / 0.5366 GB, free: 4.312 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.000139/0.1165, allocations: 185.1 kB / 0.5368 GB, free: 4.121 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.127e-05/0.1166, allocations: 108.9 kB / 0.5369 GB, free: 4.008 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.998e-05/0.1167, allocations: 120.7 kB / 0.537 GB, free: 3.883 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.059e-05/0.1168, allocations: 176.3 kB / 0.5372 GB, free: 3.703 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.866e-05/0.1169, allocations: 184.3 kB / 0.5374 GB, free: 3.516 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.137e-05/0.117, allocations: 180.2 kB / 0.5375 GB, free: 3.332 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003476/0.1174, allocations: 417.2 kB / 0.5379 GB, free: 2.867 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.227e-05/0.1175, allocations: 104.9 kB / 0.538 GB, free: 2.758 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.721e-05/0.1175, allocations: 105 kB / 0.5381 GB, free: 2.648 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.735e-05/0.1176, allocations: 180.3 kB / 0.5383 GB, free: 2.465 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.097e-05/0.1177, allocations: 184.2 kB / 0.5385 GB, free: 2.277 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.399e-05/0.1178, allocations: 180.2 kB / 0.5387 GB, free: 2.094 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-05/0.118, allocations: 188.2 kB / 0.5388 GB, free: 1.902 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000217/0.1182, allocations: 299.8 kB / 0.5391 GB, free: 1.586 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001198/0.1183, allocations: 189.9 kB / 0.5393 GB, free: 1.375 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001092/0.1184, allocations: 184.2 kB / 0.5395 GB, free: 1.188 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001196/0.1186, allocations: 104.9 kB / 0.5396 GB, free: 1.078 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001002/0.1187, allocations: 180.5 kB / 0.5397 GB, free: 0.8945 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.665e-05/0.1188, allocations: 105 kB / 0.5398 GB, free: 0.7852 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001036/0.1189, allocations: 99.27 kB / 0.5399 GB, free: 0.6875 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.344e-06/0.1189, allocations: 0 / 0.5399 GB, free: 0.6875 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009515/0.1198, allocations: 287.7 kB / 0.5402 GB, free: 416 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.001434/0.1213, allocations: 0.5134 MB / 0.5407 GB, free: 15.88 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001276/0.1215, allocations: 37.64 kB / 0.5408 GB, free: 15.84 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/0.1215, allocations: 0 / 0.5408 GB, free: 15.84 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.545e-06/0.1215, allocations: 0 / 0.5408 GB, free: 15.84 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004947/0.122, allocations: 0.5225 MB / 0.5413 GB, free: 15.32 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000387/0.1224, allocations: 259.7 kB / 0.5415 GB, free: 15.04 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003724/0.1228, allocations: 0.6926 MB / 0.5422 GB, free: 14.32 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 2.205e-05/0.1228, allocations: 3.984 kB / 0.5422 GB, free: 14.31 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.539e-05/0.1229, allocations: 11.38 kB / 0.5422 GB, free: 14.3 MB / 394.7 MB Notification: Performance of SimCode: time 1.613e-06/0.1229, allocations: 0 / 0.5422 GB, free: 14.3 MB / 394.7 MB Notification: Performance of Templates: time 0.01358/0.1365, allocations: 5.515 MB / 0.5476 GB, free: 8.832 MB / 394.7 MB