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.007541/0.00754, allocations: 102.6 kB / 15.73 MB, free: 5.984 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.001374/0.001375, allocations: 198.6 kB / 16.68 MB, free: 5.91 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.546/1.546, allocations: 205.1 MB / 222.6 MB, free: 4.477 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.551/1.551, allocations: 251.7 MB / 0.5094 GB, free: 3.004 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.001362/0.001362, allocations: 68.47 kB / 0.7259 GB, free: 8.945 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2459/0.2473, allocations: 104.7 MB / 0.8281 GB, free: 128 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.004081/0.2514, allocations: 1.433 MB / 0.8295 GB, free: 14.68 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.00707/0.2585, allocations: 2.988 MB / 0.8324 GB, free: 11.68 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.4e-05/0.2587, allocations: 0 / 0.8324 GB, free: 11.68 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 4.411e-05/0.2588, allocations: 3.938 kB / 0.8324 GB, free: 11.67 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001157/0.2589, allocations: 19.84 kB / 0.8325 GB, free: 11.65 MB / 0.6544 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:2829:3-2870:10:writable] Warning: Pure function 'Modelica.Math.Matrices.inv' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgetrf'. [/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.006367/0.2653, allocations: 1.655 MB / 0.8341 GB, free: 10.02 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001483/0.2655, allocations: 39.73 kB / 0.8341 GB, free: 9.977 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 5.656e-05/0.2656, allocations: 3.906 kB / 0.8341 GB, free: 9.973 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 4.781e-05/0.2656, allocations: 19.92 kB / 0.8341 GB, free: 9.953 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 3.542e-05/0.2656, allocations: 15.88 kB / 0.8342 GB, free: 9.938 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.554e-05/0.2657, allocations: 4 kB / 0.8342 GB, free: 9.934 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003193/0.2689, allocations: 1.544 MB / 0.8357 GB, free: 8.387 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.375e-05/0.2689, allocations: 3.984 kB / 0.8357 GB, free: 8.383 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 4.693e-05/0.269, allocations: 27.8 kB / 0.8357 GB, free: 8.355 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.002493/0.2715, allocations: 1.115 MB / 0.8368 GB, free: 7.238 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.2715, allocations: 0 / 0.8368 GB, free: 7.238 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.654e-06/0.2715, allocations: 0 / 0.8368 GB, free: 7.238 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.142e-06/0.2715, allocations: 0 / 0.8368 GB, free: 7.238 MB / 0.6544 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.0009378/0.2724, allocations: 0.5292 MB / 0.8373 GB, free: 6.664 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.99e-05/0.2725, allocations: 8.031 kB / 0.8373 GB, free: 6.656 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.56e-05/0.2726, allocations: 84.12 kB / 0.8374 GB, free: 6.574 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001863/0.2728, allocations: 247.5 kB / 0.8376 GB, free: 6.293 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.393e-05/0.2729, allocations: 154.9 kB / 0.8378 GB, free: 6.141 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.591e-05/0.2729, allocations: 154.9 kB / 0.8379 GB, free: 5.988 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.388e-05/0.273, allocations: 109.1 kB / 0.838 GB, free: 5.875 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.108e-05/0.2731, allocations: 79.28 kB / 0.8381 GB, free: 5.797 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.374e-05/0.2731, allocations: 154.5 kB / 0.8383 GB, free: 5.645 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-05/0.2732, allocations: 154.6 kB / 0.8384 GB, free: 5.492 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.288e-05/0.2733, allocations: 154.6 kB / 0.8385 GB, free: 5.34 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003965/0.2737, allocations: 465.9 kB / 0.839 GB, free: 4.836 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001103/0.2738, allocations: 169.1 kB / 0.8392 GB, free: 4.66 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.014e-05/0.2739, allocations: 80.14 kB / 0.8392 GB, free: 4.578 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 4.518e-05/0.2739, allocations: 79.28 kB / 0.8393 GB, free: 4.5 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.966e-05/0.274, allocations: 113.8 kB / 0.8394 GB, free: 4.379 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=0): time 1.473e-06/0.274, allocations: 0 / 0.8394 GB, free: 4.379 MB / 0.6544 GB Notification: Performance of matching and sorting (n=0): time 0.0001014/0.2741, allocations: 29.61 kB / 0.8394 GB, free: 4.344 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.609e-05/0.2742, allocations: 134.6 kB / 0.8396 GB, free: 4.199 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001827/0.2744, allocations: 132.6 kB / 0.8397 GB, free: 4.062 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.973e-05/0.2744, allocations: 29.7 kB / 0.8397 GB, free: 4.027 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 6.835e-05/0.2745, allocations: 96.12 kB / 0.8398 GB, free: 3.93 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.155e-06/0.2745, allocations: 0 / 0.8398 GB, free: 3.93 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.466e-05/0.2745, allocations: 17.66 kB / 0.8398 GB, free: 3.906 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001434/0.2747, allocations: 318.8 kB / 0.8401 GB, free: 3.586 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.032e-05/0.2747, allocations: 4 kB / 0.8401 GB, free: 3.582 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.503e-05/0.2748, allocations: 8 kB / 0.8401 GB, free: 3.574 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.517e-05/0.2748, allocations: 16.86 kB / 0.8402 GB, free: 3.555 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.2748, allocations: 0 / 0.8402 GB, free: 3.555 MB / 0.6544 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001549/0.275, allocations: 61.5 kB / 0.8402 GB, free: 3.488 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.275, allocations: 8 kB / 0.8402 GB, free: 3.48 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.572e-05/0.275, allocations: 4 kB / 0.8402 GB, free: 3.477 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/0.2751, allocations: 0 / 0.8402 GB, free: 3.477 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.072e-06/0.2751, allocations: 3.938 kB / 0.8402 GB, free: 3.473 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.381e-06/0.2751, allocations: 0 / 0.8402 GB, free: 3.473 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.675e-05/0.2751, allocations: 0 / 0.8402 GB, free: 3.473 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.903e-06/0.2751, allocations: 0 / 0.8402 GB, free: 3.473 MB / 0.6544 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.0001104/0.2752, allocations: 189.2 kB / 0.8404 GB, free: 3.277 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.749e-05/0.2753, allocations: 120.8 kB / 0.8405 GB, free: 3.152 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.4e-05/0.2754, allocations: 112.8 kB / 0.8406 GB, free: 3.027 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.677e-05/0.2755, allocations: 176.3 kB / 0.8408 GB, free: 2.848 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-05/0.2755, allocations: 180.3 kB / 0.841 GB, free: 2.664 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.422e-05/0.2756, allocations: 180.2 kB / 0.8412 GB, free: 2.48 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002485/0.2759, allocations: 417.2 kB / 0.8416 GB, free: 2.016 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-05/0.2759, allocations: 112.9 kB / 0.8417 GB, free: 1.898 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.392e-05/0.276, allocations: 101 kB / 0.8418 GB, free: 1.793 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.257e-05/0.2761, allocations: 176.3 kB / 0.8419 GB, free: 1.613 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.266e-05/0.2761, allocations: 192.3 kB / 0.8421 GB, free: 1.418 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.102e-05/0.2762, allocations: 180.2 kB / 0.8423 GB, free: 1.234 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.124e-05/0.2763, allocations: 184.2 kB / 0.8425 GB, free: 1.047 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001572/0.2764, allocations: 307.7 kB / 0.8427 GB, free: 0.7227 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 9.411e-05/0.2765, allocations: 193.9 kB / 0.8429 GB, free: 0.5078 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.127e-05/0.2766, allocations: 176.3 kB / 0.8431 GB, free: 336 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.516e-05/0.2767, allocations: 108.9 kB / 0.8432 GB, free: 220 kB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.699e-05/0.2768, allocations: 184.3 kB / 0.8434 GB, free: 28 kB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.918e-05/0.2769, allocations: 104.9 kB / 0.8435 GB, free: 15.92 MB / 0.67 GB Notification: Performance of sorting global known variables: time 6.317e-05/0.277, allocations: 99.25 kB / 0.8436 GB, free: 15.82 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.21e-07/0.277, allocations: 0 / 0.8436 GB, free: 15.82 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0008746/0.2779, allocations: 283.8 kB / 0.8438 GB, free: 15.54 MB / 0.67 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.001524/0.2794, allocations: 0.5681 MB / 0.8444 GB, free: 14.98 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0001138/0.2795, allocations: 37.7 kB / 0.8444 GB, free: 14.93 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.2795, allocations: 0 / 0.8444 GB, free: 14.93 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 3.326e-06/0.2795, allocations: 352 / 0.8444 GB, free: 14.93 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004298/0.28, allocations: 467.7 kB / 0.8449 GB, free: 14.47 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004051/0.2804, allocations: 236.1 kB / 0.8451 GB, free: 14.21 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002907/0.2807, allocations: 0.6883 MB / 0.8458 GB, free: 13.5 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 1.849e-05/0.2807, allocations: 0 / 0.8458 GB, free: 13.5 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.75e-05/0.2807, allocations: 11.42 kB / 0.8458 GB, free: 13.49 MB / 0.67 GB Notification: Performance of SimCode: time 3.41e-07/0.2807, allocations: 4 kB / 0.8458 GB, free: 13.48 MB / 0.67 GB Notification: Performance of Templates: time 0.01169/0.2924, allocations: 5.726 MB / 0.8514 GB, free: 7.809 MB / 0.67 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)