Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.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 Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.573/4.573, allocations: 0.5623 GB / 0.5769 GB, free: 3.34 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002388/0.002388, allocations: 352.5 kB / 0.644 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.843/3.843, allocations: 410.7 MB / 1.112 GB, free: 5.914 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00179/0.001789, allocations: 176.4 kB / 1.225 GB, free: 6.109 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005141/0.0005143, allocations: 12 kB / 1.348 GB, free: 8.188 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5752/0.5758, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.001264/0.5771, allocations: 1.135 MB / 1.462 GB, free: 283.2 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.003719/0.5808, allocations: 2.684 MB / 1.465 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.818e-05/0.5809, allocations: 0.75 kB / 1.465 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 1.467e-05/0.5809, allocations: 3.938 kB / 1.465 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 5.894e-05/0.581, allocations: 12.5 kB / 1.465 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.003321/0.5843, allocations: 1.299 MB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 4.748e-05/0.5844, allocations: 35.75 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 3.736e-05/0.5844, allocations: 5.656 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 2.304e-05/0.5845, allocations: 19.92 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 2.557e-05/0.5845, allocations: 15.92 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 9.293e-06/0.5845, allocations: 0 / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001782/0.5863, allocations: 1.218 MB / 1.467 GB, free: 277.9 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.092e-05/0.5863, allocations: 8.516 kB / 1.467 GB, free: 277.9 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.003e-05/0.5864, allocations: 37.64 kB / 1.467 GB, free: 277.9 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0009059/0.5873, allocations: 0.6928 MB / 1.468 GB, free: 277.2 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.824e-06/0.5873, allocations: 1.25 kB / 1.468 GB, free: 277.2 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.756e-06/0.5873, allocations: 0 / 1.468 GB, free: 277.2 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.027e-05/0.5873, allocations: 0 / 1.468 GB, free: 277.2 MB / 0.8542 GB 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.0004454/0.5878, allocations: 0.519 MB / 1.468 GB, free: 276.6 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.382e-05/0.5878, allocations: 9.031 kB / 1.468 GB, free: 276.6 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.307e-05/0.5879, allocations: 95.08 kB / 1.468 GB, free: 276.5 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.982e-05/0.588, allocations: 245.6 kB / 1.469 GB, free: 276.2 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.797e-05/0.588, allocations: 150.6 kB / 1.469 GB, free: 276.1 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.105e-05/0.5881, allocations: 152.4 kB / 1.469 GB, free: 275.9 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.907e-05/0.5881, allocations: 108.9 kB / 1.469 GB, free: 275.8 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.585e-05/0.5881, allocations: 76.97 kB / 1.469 GB, free: 275.8 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.401e-05/0.5882, allocations: 150.6 kB / 1.469 GB, free: 275.6 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.308e-05/0.5882, allocations: 150.6 kB / 1.469 GB, free: 275.5 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.543e-05/0.5882, allocations: 159.3 kB / 1.47 GB, free: 275.3 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002038/0.5884, allocations: 464 kB / 1.47 GB, free: 274.8 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 4.611e-05/0.5885, allocations: 179.1 kB / 1.47 GB, free: 274.6 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.664e-05/0.5885, allocations: 80.14 kB / 1.47 GB, free: 274.5 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.648e-05/0.5886, allocations: 75.28 kB / 1.47 GB, free: 274.5 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.453e-05/0.5886, allocations: 107.1 kB / 1.47 GB, free: 274.3 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=0): time 1.875e-06/0.5886, allocations: 3.938 kB / 1.47 GB, free: 274.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=0): time 7.189e-05/0.5887, allocations: 39.02 kB / 1.47 GB, free: 274.3 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.029e-05/0.5887, allocations: 126.7 kB / 1.471 GB, free: 274.2 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001059/0.5888, allocations: 136.2 kB / 1.471 GB, free: 274 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 8.045e-06/0.5889, allocations: 25.7 kB / 1.471 GB, free: 274 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 3.579e-05/0.5889, allocations: 100 kB / 1.471 GB, free: 273.9 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.559e-06/0.5889, allocations: 0 / 1.471 GB, free: 273.9 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.157e-06/0.5889, allocations: 0 / 1.471 GB, free: 273.9 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 4.845e-05/0.589, allocations: 318.8 kB / 1.471 GB, free: 273.6 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.57e-05/0.589, allocations: 4.594 kB / 1.471 GB, free: 273.6 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.902e-05/0.5891, allocations: 4 kB / 1.471 GB, free: 273.6 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.951e-05/0.5891, allocations: 7.625 kB / 1.471 GB, free: 273.6 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.07e-06/0.5891, allocations: 0 / 1.471 GB, free: 273.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001268/0.5892, allocations: 45.69 kB / 1.471 GB, free: 273.5 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.5893, allocations: 9.062 kB / 1.471 GB, free: 273.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.641e-05/0.5893, allocations: 0 / 1.471 GB, free: 273.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.085e-05/0.5893, allocations: 0 / 1.471 GB, free: 273.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.636e-06/0.5893, allocations: 0.9688 kB / 1.471 GB, free: 273.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.996e-06/0.5893, allocations: 4 kB / 1.471 GB, free: 273.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.767e-05/0.5894, allocations: 4.906 kB / 1.471 GB, free: 273.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.425e-06/0.5894, allocations: 0 / 1.471 GB, free: 273.5 MB / 0.8542 GB 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.431e-05/0.5895, allocations: 198 kB / 1.471 GB, free: 273.3 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.104e-05/0.5895, allocations: 105.8 kB / 1.471 GB, free: 273.2 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.809e-05/0.5896, allocations: 110.4 kB / 1.472 GB, free: 273.1 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.773e-05/0.5896, allocations: 180.2 kB / 1.472 GB, free: 272.9 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.784e-05/0.5896, allocations: 180.2 kB / 1.472 GB, free: 272.7 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.773e-05/0.5897, allocations: 181.2 kB / 1.472 GB, free: 272.5 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001565/0.5898, allocations: 419 kB / 1.473 GB, free: 272.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.622e-05/0.5899, allocations: 104.9 kB / 1.473 GB, free: 271.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.866e-05/0.5899, allocations: 108.9 kB / 1.473 GB, free: 271.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-05/0.5899, allocations: 181.1 kB / 1.473 GB, free: 271.6 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.969e-05/0.59, allocations: 185.8 kB / 1.473 GB, free: 271.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.801e-05/0.59, allocations: 180.3 kB / 1.473 GB, free: 271.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.62e-05/0.59, allocations: 180.9 kB / 1.473 GB, free: 271.1 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.232e-05/0.5901, allocations: 316.4 kB / 1.474 GB, free: 270.8 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.991e-05/0.5902, allocations: 189.9 kB / 1.474 GB, free: 270.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.014e-05/0.5902, allocations: 184.2 kB / 1.474 GB, free: 270.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.556e-05/0.5903, allocations: 105 kB / 1.474 GB, free: 270.3 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.267e-05/0.5904, allocations: 184.2 kB / 1.474 GB, free: 270.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.663e-05/0.5904, allocations: 101.5 kB / 1.474 GB, free: 270 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.623e-05/0.5904, allocations: 99.83 kB / 1.475 GB, free: 269.9 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6.95e-07/0.5905, allocations: 0.5625 kB / 1.475 GB, free: 269.9 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000703/0.5912, allocations: 275.8 kB / 1.475 GB, free: 269.6 MB / 0.8542 GB 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.001022/0.5922, allocations: 0.5124 MB / 1.475 GB, free: 269.1 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 8.368e-05/0.5923, allocations: 49.58 kB / 1.475 GB, free: 269 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.096e-06/0.5923, allocations: 0.5312 kB / 1.475 GB, free: 269 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 3.696e-06/0.5923, allocations: 5.422 kB / 1.475 GB, free: 269 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000373/0.5927, allocations: 0.5277 MB / 1.476 GB, free: 268.5 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002374/0.593, allocations: 258.4 kB / 1.476 GB, free: 268.2 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001225/0.5931, allocations: 0.6853 MB / 1.477 GB, free: 267.5 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 1.353e-05/0.5931, allocations: 1.016 kB / 1.477 GB, free: 267.5 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.429e-06/0.5931, allocations: 12.12 kB / 1.477 GB, free: 267.5 MB / 0.8542 GB Notification: Performance of SimCode: time 1.424e-06/0.5932, allocations: 0 / 1.477 GB, free: 267.5 MB / 0.8542 GB Notification: Performance of Templates: time 0.01052/0.6037, allocations: 5.514 MB / 1.482 GB, free: 262.3 MB / 0.8542 GB