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.InternalResistancesTwoUTubeNegative.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.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001086/0.001086, 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.00123/0.00123, allocations: 192.3 kB / 16.13 MB, free: 6.652 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.601/1.601, allocations: 205.1 MB / 222 MB, free: 4.746 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.591/1.591, allocations: 251.7 MB / 0.5088 GB, free: 3.336 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.001525/0.001525, allocations: 67.89 kB / 0.6216 GB, free: 1.914 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5734/0.5749, allocations: 104.7 MB / 0.7239 GB, free: 13.15 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002903/0.5779, allocations: 1.505 MB / 0.7253 GB, free: 11.63 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004783/0.5827, allocations: 3.114 MB / 0.7284 GB, free: 8.504 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.605e-05/0.5828, allocations: 3.938 kB / 0.7284 GB, free: 8.5 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.992e-05/0.5828, allocations: 3.984 kB / 0.7284 GB, free: 8.496 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.677e-05/0.5829, allocations: 11.86 kB / 0.7284 GB, free: 8.484 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.00373/0.5867, allocations: 1.457 MB / 0.7298 GB, free: 7.051 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.347e-05/0.5867, allocations: 31.75 kB / 0.7298 GB, free: 7.02 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.297e-05/0.5868, allocations: 13.97 kB / 0.7299 GB, free: 7.008 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.656e-05/0.5868, allocations: 15.92 kB / 0.7299 GB, free: 6.992 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 2.658e-05/0.5869, allocations: 15.88 kB / 0.7299 GB, free: 6.977 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.128e-05/0.5869, allocations: 0 / 0.7299 GB, free: 6.977 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0021/0.589, allocations: 1.486 MB / 0.7313 GB, free: 5.488 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.604e-05/0.589, allocations: 4 kB / 0.7313 GB, free: 5.484 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.474e-05/0.589, allocations: 19.88 kB / 0.7314 GB, free: 5.465 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.00144/0.5905, allocations: 1.134 MB / 0.7325 GB, free: 4.328 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.523e-06/0.5905, allocations: 4 kB / 0.7325 GB, free: 4.324 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.112e-06/0.5905, allocations: 4 kB / 0.7325 GB, free: 4.32 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.498e-06/0.5905, allocations: 0 / 0.7325 GB, free: 4.32 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.0005746/0.5911, allocations: 0.5146 MB / 0.733 GB, free: 3.758 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/0.5912, allocations: 8.031 kB / 0.733 GB, free: 3.75 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.509e-05/0.5912, allocations: 84.12 kB / 0.7331 GB, free: 3.668 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001488/0.5914, allocations: 253.5 kB / 0.7333 GB, free: 3.383 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.945e-05/0.5914, allocations: 150.9 kB / 0.7335 GB, free: 3.234 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.087e-05/0.5915, allocations: 154.9 kB / 0.7336 GB, free: 3.082 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.22e-05/0.5916, allocations: 109.1 kB / 0.7337 GB, free: 2.969 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.368e-05/0.5916, allocations: 87.2 kB / 0.7338 GB, free: 2.883 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.927e-05/0.5917, allocations: 154.6 kB / 0.7339 GB, free: 2.73 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.396e-05/0.5917, allocations: 150.6 kB / 0.7341 GB, free: 2.582 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.848e-05/0.5918, allocations: 150.6 kB / 0.7342 GB, free: 2.434 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003284/0.5921, allocations: 469.9 kB / 0.7347 GB, free: 1.926 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 8.196e-05/0.5922, allocations: 169.1 kB / 0.7348 GB, free: 1.75 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.218e-05/0.5923, allocations: 84.08 kB / 0.7349 GB, free: 1.664 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.472e-05/0.5923, allocations: 79.33 kB / 0.735 GB, free: 1.586 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.517e-05/0.5924, allocations: 121.8 kB / 0.7351 GB, free: 1.457 MB / 0.545 GB Notification: Performance of pre-optimization done (n=0): time 7.51e-07/0.5924, allocations: 0 / 0.7351 GB, free: 1.457 MB / 0.545 GB Notification: Performance of matching and sorting (n=0): time 8.483e-05/0.5925, allocations: 37.61 kB / 0.7351 GB, free: 1.414 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.255e-05/0.5925, allocations: 126.7 kB / 0.7353 GB, free: 1.277 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001332/0.5927, allocations: 128 kB / 0.7354 GB, free: 1.145 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.36e-05/0.5927, allocations: 25.7 kB / 0.7354 GB, free: 1.113 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5e-05/0.5927, allocations: 96.12 kB / 0.7355 GB, free: 1.016 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.245e-06/0.5927, allocations: 4 kB / 0.7355 GB, free: 1.012 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.081e-05/0.5928, allocations: 13.72 kB / 0.7355 GB, free: 0.9922 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001107/0.5929, allocations: 318.8 kB / 0.7358 GB, free: 0.6719 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.524e-05/0.5929, allocations: 11.92 kB / 0.7358 GB, free: 0.6602 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.733e-05/0.5929, allocations: 4 kB / 0.7358 GB, free: 0.6562 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.822e-05/0.593, allocations: 16.86 kB / 0.7359 GB, free: 0.6367 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.593, allocations: 0 / 0.7359 GB, free: 0.6367 MB / 0.545 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001186/0.5931, allocations: 53.55 kB / 0.7359 GB, free: 0.5781 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.5931, allocations: 8.062 kB / 0.7359 GB, free: 0.5703 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.088e-05/0.5932, allocations: 11.97 kB / 0.7359 GB, free: 0.5586 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/0.5932, allocations: 0 / 0.7359 GB, free: 0.5586 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.793e-06/0.5932, allocations: 0 / 0.7359 GB, free: 0.5586 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.558e-06/0.5932, allocations: 3.938 kB / 0.7359 GB, free: 0.5547 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.117e-05/0.5932, allocations: 3.938 kB / 0.7359 GB, free: 0.5508 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.736e-06/0.5932, allocations: 4 kB / 0.7359 GB, free: 0.5469 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.0001059/0.5933, allocations: 185.9 kB / 0.7361 GB, free: 364 kB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.389e-05/0.5934, allocations: 112.8 kB / 0.7362 GB, free: 244 kB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.789e-05/0.5935, allocations: 116.8 kB / 0.7363 GB, free: 116 kB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.905e-05/0.5936, allocations: 180.2 kB / 0.7365 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.337e-05/0.5936, allocations: 180.3 kB / 0.7367 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.564e-05/0.5937, allocations: 180.2 kB / 0.7369 GB, free: 15.56 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002291/0.5939, allocations: 413.2 kB / 0.7372 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.767e-05/0.594, allocations: 112.9 kB / 0.7374 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.397e-05/0.594, allocations: 109 kB / 0.7375 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.513e-05/0.5941, allocations: 176.3 kB / 0.7376 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.631e-05/0.5942, allocations: 184.2 kB / 0.7378 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.69e-05/0.5943, allocations: 176.3 kB / 0.738 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.353e-05/0.5943, allocations: 176.5 kB / 0.7381 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000251/0.5946, allocations: 323.7 kB / 0.7384 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001378/0.5947, allocations: 193.9 kB / 0.7386 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.238e-05/0.5948, allocations: 184.2 kB / 0.7388 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001155/0.5949, allocations: 105 kB / 0.7389 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.631e-05/0.595, allocations: 188.1 kB / 0.7391 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.595e-05/0.5951, allocations: 101 kB / 0.7392 GB, free: 13 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.729e-05/0.5951, allocations: 95.27 kB / 0.7393 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5951, allocations: 0 / 0.7393 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008306/0.596, allocations: 287.8 kB / 0.7395 GB, free: 12.62 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.00115/0.5971, allocations: 0.56 MB / 0.7401 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001038/0.5972, allocations: 45.62 kB / 0.7401 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.5972, allocations: 0 / 0.7401 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.553e-06/0.5973, allocations: 0 / 0.7401 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004618/0.5977, allocations: 0.5349 MB / 0.7407 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003392/0.5981, allocations: 245.7 kB / 0.7409 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002837/0.5984, allocations: 0.6848 MB / 0.7416 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 1.375e-05/0.5984, allocations: 4 kB / 0.7416 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.104e-05/0.5984, allocations: 7.438 kB / 0.7416 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of SimCode: time 2.2e-07/0.5984, allocations: 0 / 0.7416 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of Templates: time 0.009028/0.6074, allocations: 5.792 MB / 0.7472 GB, free: 4.742 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1)