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.InternalResistancesOneUTubeNegative.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.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001396/0.0014, allocations: 186.9 kB / 15.77 MB, free: 6.375 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.6639/0.6639, allocations: 82.94 MB / 99.42 MB, free: 2.238 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 1.984/1.984, allocations: 205.4 MB / 325.4 MB, free: 6.551 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001046/0.001045, allocations: 91.48 kB / 393.6 MB, free: 11.34 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000469/0.0004694, allocations: 12 kB / 471.6 MB, free: 13.28 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3993/0.3998, allocations: 67.43 MB / 0.5264 GB, free: 55.57 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.00146/0.4013, allocations: 1.109 MB / 0.5275 GB, free: 54.75 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00445/0.4058, allocations: 2.645 MB / 0.5301 GB, free: 52.95 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.43e-05/0.4059, allocations: 0 / 0.5301 GB, free: 52.95 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 1.896e-05/0.4059, allocations: 6 kB / 0.5301 GB, free: 52.95 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 6.239e-05/0.406, allocations: 12.8 kB / 0.5301 GB, free: 52.94 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0046/0.4106, allocations: 1.29 MB / 0.5313 GB, free: 52.25 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 8.472e-05/0.4107, allocations: 32 kB / 0.5314 GB, free: 52.23 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.952e-05/0.4107, allocations: 7.125 kB / 0.5314 GB, free: 52.23 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.84e-05/0.4108, allocations: 16.22 kB / 0.5314 GB, free: 52.22 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.064e-05/0.4108, allocations: 12.5 kB / 0.5314 GB, free: 52.21 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.146e-05/0.4108, allocations: 1.312 kB / 0.5314 GB, free: 52.21 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002664/0.4135, allocations: 1.171 MB / 0.5326 GB, free: 51.9 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.387e-05/0.4136, allocations: 3.188 kB / 0.5326 GB, free: 51.9 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.481e-05/0.4136, allocations: 36.42 kB / 0.5326 GB, free: 51.86 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001503/0.4151, allocations: 0.7201 MB / 0.5333 GB, free: 51.71 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.607e-06/0.4151, allocations: 0 / 0.5333 GB, free: 51.71 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.138e-06/0.4152, allocations: 0 / 0.5333 GB, free: 51.71 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.739e-06/0.4152, allocations: 0 / 0.5333 GB, free: 51.71 MB / 410.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.0005287/0.4157, allocations: 0.5114 MB / 0.5338 GB, free: 51.23 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.377e-05/0.4158, allocations: 9.531 kB / 0.5338 GB, free: 51.23 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.17e-05/0.4158, allocations: 82.05 kB / 0.5339 GB, free: 51.15 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.559e-05/0.4159, allocations: 240.1 kB / 0.5341 GB, free: 50.88 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.261e-05/0.416, allocations: 160 kB / 0.5343 GB, free: 50.72 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.767e-05/0.416, allocations: 150.6 kB / 0.5344 GB, free: 50.57 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.408e-05/0.416, allocations: 110.8 kB / 0.5345 GB, free: 50.46 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.528e-05/0.4161, allocations: 75.28 kB / 0.5346 GB, free: 50.39 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.477e-05/0.4161, allocations: 151.2 kB / 0.5347 GB, free: 50.24 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.364e-05/0.4161, allocations: 152 kB / 0.5349 GB, free: 50.09 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.508e-05/0.4162, allocations: 158.6 kB / 0.535 GB, free: 49.93 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002126/0.4164, allocations: 469.5 kB / 0.5355 GB, free: 49.44 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.489e-05/0.4165, allocations: 174.4 kB / 0.5356 GB, free: 49.26 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.779e-05/0.4165, allocations: 80.17 kB / 0.5357 GB, free: 49.18 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.392e-05/0.4165, allocations: 110.8 kB / 0.5358 GB, free: 49.07 MB / 410.7 MB Notification: Performance of pre-optimization done (n=0): time 1.688e-06/0.4165, allocations: 0 / 0.5358 GB, free: 49.07 MB / 410.7 MB Notification: Performance of matching and sorting (n=0): time 7.411e-05/0.4166, allocations: 29.86 kB / 0.5358 GB, free: 49.04 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.776e-05/0.4167, allocations: 131.3 kB / 0.536 GB, free: 48.89 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001156/0.4168, allocations: 132.3 kB / 0.5361 GB, free: 48.79 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.809e-06/0.4168, allocations: 25.7 kB / 0.5361 GB, free: 48.75 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.479e-05/0.4168, allocations: 92.48 kB / 0.5362 GB, free: 48.66 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.554e-06/0.4169, allocations: 4 kB / 0.5362 GB, free: 48.66 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.417e-06/0.4169, allocations: 0 / 0.5362 GB, free: 48.66 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.304e-05/0.4169, allocations: 314.5 kB / 0.5365 GB, free: 48.35 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.235e-05/0.417, allocations: 11.5 kB / 0.5365 GB, free: 48.34 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.121e-05/0.417, allocations: 4.5 kB / 0.5365 GB, free: 48.34 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.113e-05/0.4171, allocations: 3.828 kB / 0.5365 GB, free: 48.34 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.343e-06/0.4171, allocations: 0 / 0.5365 GB, free: 48.34 MB / 410.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001316/0.4172, allocations: 45.69 kB / 0.5366 GB, free: 48.3 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.4173, allocations: 10.3 kB / 0.5366 GB, free: 48.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.853e-05/0.4173, allocations: 6.719 kB / 0.5366 GB, free: 48.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.4173, allocations: 4.562 kB / 0.5366 GB, free: 48.29 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.506e-06/0.4173, allocations: 0 / 0.5366 GB, free: 48.29 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.908e-06/0.4173, allocations: 0.5156 kB / 0.5366 GB, free: 48.29 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.921e-05/0.4174, allocations: 5.188 kB / 0.5366 GB, free: 48.29 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.643e-06/0.4174, allocations: 1.25 kB / 0.5366 GB, free: 48.29 MB / 410.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 6.488e-05/0.4175, allocations: 186.2 kB / 0.5368 GB, free: 48.1 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.281e-05/0.4175, allocations: 108.5 kB / 0.5369 GB, free: 47.99 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.423e-05/0.4176, allocations: 127.4 kB / 0.537 GB, free: 47.87 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.897e-05/0.4176, allocations: 182.1 kB / 0.5372 GB, free: 47.68 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.859e-05/0.4176, allocations: 178.4 kB / 0.5374 GB, free: 47.5 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.808e-05/0.4177, allocations: 176.8 kB / 0.5375 GB, free: 47.32 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001697/0.4179, allocations: 418.2 kB / 0.5379 GB, free: 46.87 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.798e-05/0.4179, allocations: 105.5 kB / 0.538 GB, free: 46.76 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.938e-05/0.4179, allocations: 106.9 kB / 0.5381 GB, free: 46.65 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.776e-05/0.418, allocations: 178.4 kB / 0.5383 GB, free: 46.47 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.955e-05/0.418, allocations: 176.9 kB / 0.5385 GB, free: 46.29 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.91e-05/0.418, allocations: 186.2 kB / 0.5386 GB, free: 46.11 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.02e-05/0.4181, allocations: 186.3 kB / 0.5388 GB, free: 45.92 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.695e-05/0.4182, allocations: 309.9 kB / 0.5391 GB, free: 45.6 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.913e-05/0.4182, allocations: 186.3 kB / 0.5393 GB, free: 45.39 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.338e-05/0.4183, allocations: 186.3 kB / 0.5395 GB, free: 45.21 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.022e-05/0.4184, allocations: 105.7 kB / 0.5396 GB, free: 45.1 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.431e-05/0.4184, allocations: 190.2 kB / 0.5398 GB, free: 44.91 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.847e-05/0.4184, allocations: 102.9 kB / 0.5398 GB, free: 44.8 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.002e-05/0.4185, allocations: 97.77 kB / 0.5399 GB, free: 44.72 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.82e-07/0.4185, allocations: 0 / 0.5399 GB, free: 44.72 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00111/0.4196, allocations: 279.1 kB / 0.5402 GB, free: 44.66 MB / 410.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.001306/0.421, allocations: 0.5137 MB / 0.5407 GB, free: 44.39 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001177/0.4211, allocations: 46.02 kB / 0.5408 GB, free: 44.35 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.172e-06/0.4211, allocations: 0 / 0.5408 GB, free: 44.35 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.56e-06/0.4211, allocations: 0.8438 kB / 0.5408 GB, free: 44.35 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002959/0.4215, allocations: 0.5277 MB / 0.5413 GB, free: 43.82 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002949/0.4218, allocations: 256 kB / 0.5415 GB, free: 43.61 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001219/0.4219, allocations: 0.6888 MB / 0.5422 GB, free: 42.91 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 1.71e-05/0.4219, allocations: 5.062 kB / 0.5422 GB, free: 42.91 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.258e-05/0.4219, allocations: 10.16 kB / 0.5422 GB, free: 42.9 MB / 410.7 MB Notification: Performance of SimCode: time 1.428e-06/0.422, allocations: 4 kB / 0.5422 GB, free: 42.9 MB / 410.7 MB Notification: Performance of Templates: time 0.01293/0.4349, allocations: 5.502 MB / 0.5476 GB, free: 40.9 MB / 410.7 MB