Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001155/0.001154, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001806/0.001806, allocations: 194.5 kB / 16.14 MB, free: 6.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.575/1.575, allocations: 205.1 MB / 222 MB, free: 4.73 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.52/1.52, allocations: 251.6 MB / 0.5088 GB, free: 3.266 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001381/0.001381, allocations: 71.89 kB / 0.6216 GB, free: 1.926 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5721/0.5734, allocations: 104.7 MB / 0.7239 GB, free: 13.14 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.003026/0.5765, allocations: 1.508 MB / 0.7253 GB, free: 11.62 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004611/0.5811, allocations: 3.114 MB / 0.7284 GB, free: 8.488 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.037e-05/0.5812, allocations: 0 / 0.7284 GB, free: 8.488 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.117e-05/0.5813, allocations: 3.938 kB / 0.7284 GB, free: 8.484 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.51e-05/0.5814, allocations: 15.91 kB / 0.7284 GB, free: 8.469 MB / 0.545 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Fluid/Geothermal/Borefields/BaseClasses/Boreholes/BaseClasses/Functions/internalResistancesTwoUTube.mo:2:1-162:32:writable] Warning: Pure function ‘Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.internalResistancesTwoUTube‘ contains a call to impure function ‘Modelica.Utilities.Streams.print‘. Notification: Performance of NFTyping.typeClassSections: time 0.003661/0.5851, allocations: 1.456 MB / 0.7298 GB, free: 7.039 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.063e-05/0.5852, allocations: 35.73 kB / 0.7299 GB, free: 7.004 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.598e-05/0.5852, allocations: 17.95 kB / 0.7299 GB, free: 6.988 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.84e-05/0.5852, allocations: 11.94 kB / 0.7299 GB, free: 6.977 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 3.086e-05/0.5853, allocations: 19.86 kB / 0.7299 GB, free: 6.957 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.638e-06/0.5853, allocations: 0 / 0.7299 GB, free: 6.957 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002116/0.5874, allocations: 1.482 MB / 0.7313 GB, free: 5.473 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.407e-05/0.5874, allocations: 7.984 kB / 0.7314 GB, free: 5.465 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.921e-05/0.5875, allocations: 19.88 kB / 0.7314 GB, free: 5.445 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001396/0.5889, allocations: 1.131 MB / 0.7325 GB, free: 4.312 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.5889, allocations: 4 kB / 0.7325 GB, free: 4.309 MB / 0.545 GB Notification: Performance of FrontEnd: time 9.61e-07/0.5889, allocations: 0 / 0.7325 GB, free: 4.309 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.608e-06/0.5889, allocations: 8 kB / 0.7325 GB, free: 4.301 MB / 0.545 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.0006406/0.5896, allocations: 0.5146 MB / 0.733 GB, free: 3.738 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/0.5896, allocations: 12.03 kB / 0.733 GB, free: 3.727 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.817e-05/0.5897, allocations: 80.12 kB / 0.7331 GB, free: 3.648 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001537/0.5898, allocations: 253.2 kB / 0.7333 GB, free: 3.363 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.232e-05/0.5899, allocations: 150.9 kB / 0.7335 GB, free: 3.215 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.326e-05/0.59, allocations: 158.9 kB / 0.7336 GB, free: 3.059 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.56e-05/0.59, allocations: 113 kB / 0.7337 GB, free: 2.941 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.781e-05/0.5901, allocations: 79.28 kB / 0.7338 GB, free: 2.863 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001043/0.5902, allocations: 150.6 kB / 0.7339 GB, free: 2.715 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.617e-05/0.5903, allocations: 154.5 kB / 0.7341 GB, free: 2.562 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.834e-05/0.5903, allocations: 150.6 kB / 0.7342 GB, free: 2.414 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003052/0.5906, allocations: 465.9 kB / 0.7347 GB, free: 1.91 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 8.944e-05/0.5907, allocations: 173.1 kB / 0.7348 GB, free: 1.73 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.303e-05/0.5908, allocations: 80.14 kB / 0.7349 GB, free: 1.648 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.977e-05/0.5908, allocations: 75.33 kB / 0.735 GB, free: 1.574 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.492e-05/0.5909, allocations: 117.8 kB / 0.7351 GB, free: 1.449 MB / 0.545 GB Notification: Performance of pre-optimization done (n=0): time 1.112e-06/0.5909, allocations: 0 / 0.7351 GB, free: 1.449 MB / 0.545 GB Notification: Performance of matching and sorting (n=0): time 7.876e-05/0.591, allocations: 37.61 kB / 0.7351 GB, free: 1.406 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.747e-05/0.591, allocations: 126.7 kB / 0.7353 GB, free: 1.27 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001419/0.5912, allocations: 132.3 kB / 0.7354 GB, free: 1.133 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.697e-05/0.5912, allocations: 25.7 kB / 0.7354 GB, free: 1.102 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.143e-05/0.5913, allocations: 96.12 kB / 0.7355 GB, free: 1.004 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.495e-06/0.5913, allocations: 4 kB / 0.7355 GB, free: 1 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.232e-05/0.5913, allocations: 13.72 kB / 0.7355 GB, free: 0.9805 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001198/0.5914, allocations: 322.8 kB / 0.7358 GB, free: 0.6562 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.689e-05/0.5915, allocations: 8 kB / 0.7358 GB, free: 0.6484 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.741e-05/0.5915, allocations: 4 kB / 0.7358 GB, free: 0.6445 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.035e-05/0.5915, allocations: 16.8 kB / 0.7359 GB, free: 0.625 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.5915, allocations: 0 / 0.7359 GB, free: 0.625 MB / 0.545 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001316/0.5917, allocations: 57.53 kB / 0.7359 GB, free: 0.5625 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.5917, allocations: 4 kB / 0.7359 GB, free: 0.5586 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.609e-05/0.5917, allocations: 8.062 kB / 0.7359 GB, free: 0.5508 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.5918, allocations: 7.875 kB / 0.7359 GB, free: 0.543 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.322e-06/0.5918, allocations: 0 / 0.7359 GB, free: 0.543 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.5918, allocations: 0 / 0.7359 GB, free: 0.543 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.305e-05/0.5918, allocations: 3.938 kB / 0.7359 GB, free: 0.5391 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.822e-06/0.5918, allocations: 4 kB / 0.7359 GB, free: 0.5352 MB / 0.545 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001049/0.5919, allocations: 181.1 kB / 0.7361 GB, free: 356 kB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.688e-05/0.592, allocations: 112.8 kB / 0.7362 GB, free: 236 kB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.421e-05/0.5921, allocations: 120.8 kB / 0.7363 GB, free: 104 kB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.829e-05/0.5922, allocations: 180.3 kB / 0.7365 GB, free: 15.92 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.392e-05/0.5922, allocations: 176.3 kB / 0.7367 GB, free: 15.74 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.633e-05/0.5923, allocations: 180.2 kB / 0.7368 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002529/0.5926, allocations: 417.2 kB / 0.7372 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.157e-05/0.5926, allocations: 112.9 kB / 0.7373 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.309e-05/0.5927, allocations: 105 kB / 0.7374 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.353e-05/0.5927, allocations: 180.3 kB / 0.7376 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.861e-05/0.5928, allocations: 180.2 kB / 0.7378 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.523e-05/0.5929, allocations: 180.2 kB / 0.738 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.9e-05/0.593, allocations: 180.4 kB / 0.7381 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001558/0.5931, allocations: 319.8 kB / 0.7384 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.278e-05/0.5932, allocations: 193.9 kB / 0.7386 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.833e-05/0.5933, allocations: 184.3 kB / 0.7388 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.941e-05/0.5934, allocations: 104.9 kB / 0.7389 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.226e-05/0.5935, allocations: 180.3 kB / 0.7391 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.183e-05/0.5936, allocations: 101 kB / 0.7392 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.6e-05/0.5936, allocations: 103.2 kB / 0.7393 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.114e-06/0.5936, allocations: 0 / 0.7393 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008543/0.5945, allocations: 287.8 kB / 0.7395 GB, free: 12.61 MB / 0.5606 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00127/0.5958, allocations: 0.5667 MB / 0.7401 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001245/0.5959, allocations: 37.7 kB / 0.7401 GB, free: 12 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.5959, allocations: 0 / 0.7401 GB, free: 12 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 4.288e-06/0.5959, allocations: 4 kB / 0.7401 GB, free: 12 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005335/0.5965, allocations: 0.5313 MB / 0.7407 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000394/0.5969, allocations: 245.7 kB / 0.7409 GB, free: 11.19 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002993/0.5972, allocations: 0.6888 MB / 0.7416 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 1.541e-05/0.5972, allocations: 0 / 0.7416 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.281e-05/0.5972, allocations: 7.438 kB / 0.7416 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of SimCode: time 2.11e-07/0.5972, allocations: 0 / 0.7416 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of Templates: time 0.01023/0.6075, allocations: 5.781 MB / 0.7472 GB, free: 4.734 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1)