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.InternalResistancesOneUTubeNegative.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.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007914/0.007914, allocations: 96.94 kB / 15.73 MB, free: 6.484 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.001608/0.001609, allocations: 191.7 kB / 16.67 MB, free: 6.391 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.576/1.576, allocations: 205.1 MB / 222.5 MB, free: 4.535 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.738/1.738, allocations: 251.7 MB / 0.5094 GB, free: 3.031 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.001467/0.001467, allocations: 63.91 kB / 0.7259 GB, free: 8.992 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2953/0.2968, allocations: 104.7 MB / 0.8281 GB, free: 196 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.003687/0.3005, allocations: 1.439 MB / 0.8295 GB, free: 14.75 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.006252/0.3068, allocations: 2.946 MB / 0.8324 GB, free: 11.78 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.588e-05/0.3069, allocations: 4 kB / 0.8324 GB, free: 11.78 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.839e-05/0.307, allocations: 3.938 kB / 0.8324 GB, free: 11.77 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 9.506e-05/0.3071, allocations: 15.84 kB / 0.8324 GB, free: 11.76 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/internalResistancesOneUTube.mo:2:1-155:32:writable] Warning: Pure function 'Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.internalResistancesOneUTube' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.005685/0.3128, allocations: 1.625 MB / 0.834 GB, free: 10.15 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001382/0.313, allocations: 43.72 kB / 0.834 GB, free: 10.11 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 5.327e-05/0.313, allocations: 4 kB / 0.8341 GB, free: 10.11 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 3.731e-05/0.3131, allocations: 11.94 kB / 0.8341 GB, free: 10.09 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 4.362e-05/0.3131, allocations: 19.92 kB / 0.8341 GB, free: 10.07 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.176e-05/0.3131, allocations: 7.938 kB / 0.8341 GB, free: 10.07 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003326/0.3165, allocations: 1.498 MB / 0.8356 GB, free: 8.566 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.113e-05/0.3165, allocations: 7.938 kB / 0.8356 GB, free: 8.559 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 4.755e-05/0.3166, allocations: 15.88 kB / 0.8356 GB, free: 8.543 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.002524/0.3191, allocations: 1.095 MB / 0.8366 GB, free: 7.445 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.3191, allocations: 0 / 0.8366 GB, free: 7.445 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.013e-06/0.3191, allocations: 0 / 0.8366 GB, free: 7.445 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.414e-06/0.3191, allocations: 0 / 0.8366 GB, free: 7.445 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.001004/0.3201, allocations: 0.5247 MB / 0.8372 GB, free: 6.871 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.251e-05/0.3202, allocations: 12.03 kB / 0.8372 GB, free: 6.859 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.739e-05/0.3203, allocations: 84.16 kB / 0.8373 GB, free: 6.777 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002143/0.3205, allocations: 247.6 kB / 0.8375 GB, free: 6.496 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.554e-05/0.3206, allocations: 154.9 kB / 0.8376 GB, free: 6.344 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.043e-05/0.3207, allocations: 150.9 kB / 0.8378 GB, free: 6.195 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001596/0.3208, allocations: 113 kB / 0.8379 GB, free: 6.078 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.34e-05/0.3209, allocations: 75.28 kB / 0.838 GB, free: 6.004 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000128/0.321, allocations: 154.6 kB / 0.8381 GB, free: 5.852 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.441e-05/0.3211, allocations: 150.6 kB / 0.8382 GB, free: 5.703 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001323/0.3212, allocations: 154.6 kB / 0.8384 GB, free: 5.551 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004504/0.3217, allocations: 461.9 kB / 0.8388 GB, free: 5.051 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00011/0.3218, allocations: 177.1 kB / 0.839 GB, free: 4.867 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.839e-05/0.3219, allocations: 84.14 kB / 0.8391 GB, free: 4.781 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.969e-05/0.3219, allocations: 79.22 kB / 0.8392 GB, free: 4.703 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.721e-05/0.322, allocations: 113.8 kB / 0.8393 GB, free: 4.582 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=0): time 1.443e-06/0.322, allocations: 4 kB / 0.8393 GB, free: 4.578 MB / 0.6544 GB Notification: Performance of matching and sorting (n=0): time 0.0001053/0.3221, allocations: 33.66 kB / 0.8393 GB, free: 4.539 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.685e-05/0.3222, allocations: 130.6 kB / 0.8394 GB, free: 4.398 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001773/0.3224, allocations: 132.3 kB / 0.8396 GB, free: 4.262 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.746e-05/0.3224, allocations: 25.7 kB / 0.8396 GB, free: 4.23 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 6.824e-05/0.3225, allocations: 92.12 kB / 0.8397 GB, free: 4.137 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.144e-06/0.3225, allocations: 0 / 0.8397 GB, free: 4.137 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.788e-05/0.3225, allocations: 21.7 kB / 0.8397 GB, free: 4.109 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001371/0.3227, allocations: 318.8 kB / 0.84 GB, free: 3.789 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.952e-05/0.3227, allocations: 7.938 kB / 0.84 GB, free: 3.781 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.832e-05/0.3227, allocations: 7.984 kB / 0.84 GB, free: 3.773 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.082e-05/0.3228, allocations: 16.84 kB / 0.84 GB, free: 3.754 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.3228, allocations: 0 / 0.84 GB, free: 3.754 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001724/0.323, allocations: 53.53 kB / 0.8401 GB, free: 3.695 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.323, allocations: 4 kB / 0.8401 GB, free: 3.691 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.684e-05/0.3231, allocations: 4 kB / 0.8401 GB, free: 3.688 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.3231, allocations: 0 / 0.8401 GB, free: 3.688 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.313e-06/0.3231, allocations: 4.062 kB / 0.8401 GB, free: 3.684 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-06/0.3231, allocations: 3.984 kB / 0.8401 GB, free: 3.68 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.067e-05/0.3232, allocations: 3.938 kB / 0.8401 GB, free: 3.676 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.877e-06/0.3232, allocations: 0 / 0.8401 GB, free: 3.676 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.000119/0.3233, allocations: 189.1 kB / 0.8403 GB, free: 3.48 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.125e-05/0.3234, allocations: 112.9 kB / 0.8404 GB, free: 3.363 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.82e-05/0.3234, allocations: 108.8 kB / 0.8405 GB, free: 3.242 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.684e-05/0.3235, allocations: 184.2 kB / 0.8407 GB, free: 3.055 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.97e-05/0.3236, allocations: 180.3 kB / 0.8408 GB, free: 2.871 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.686e-05/0.3237, allocations: 184.2 kB / 0.841 GB, free: 2.684 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003239/0.324, allocations: 409.2 kB / 0.8414 GB, free: 2.227 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.023e-05/0.3241, allocations: 108.9 kB / 0.8415 GB, free: 2.113 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.128e-05/0.3242, allocations: 105 kB / 0.8416 GB, free: 2.004 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001048/0.3243, allocations: 180.3 kB / 0.8418 GB, free: 1.82 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001676/0.3245, allocations: 184.2 kB / 0.842 GB, free: 1.633 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.617e-05/0.3246, allocations: 184.3 kB / 0.8421 GB, free: 1.445 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.957e-05/0.3247, allocations: 180.2 kB / 0.8423 GB, free: 1.262 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002023/0.3249, allocations: 319.6 kB / 0.8426 GB, free: 0.9258 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001562/0.325, allocations: 190 kB / 0.8428 GB, free: 0.7148 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001219/0.3252, allocations: 176.3 kB / 0.843 GB, free: 0.5352 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.646e-05/0.3253, allocations: 108.9 kB / 0.8431 GB, free: 432 kB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.353e-05/0.3254, allocations: 180.3 kB / 0.8432 GB, free: 244 kB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.515e-05/0.3254, allocations: 104.9 kB / 0.8433 GB, free: 132 kB / 0.6544 GB Notification: Performance of sorting global known variables: time 9.759e-05/0.3255, allocations: 103.3 kB / 0.8434 GB, free: 28 kB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3255, allocations: 0 / 0.8434 GB, free: 28 kB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001015/0.3265, allocations: 283.2 kB / 0.8437 GB, free: 15.75 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.001608/0.3282, allocations: 0.5451 MB / 0.8442 GB, free: 15.2 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0001182/0.3283, allocations: 41.7 kB / 0.8443 GB, free: 15.15 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.3283, allocations: 0 / 0.8443 GB, free: 15.15 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 2.554e-06/0.3283, allocations: 0 / 0.8443 GB, free: 15.15 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004569/0.3288, allocations: 463.6 kB / 0.8447 GB, free: 14.7 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004326/0.3292, allocations: 240.4 kB / 0.8449 GB, free: 14.43 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000299/0.3295, allocations: 0.6807 MB / 0.8456 GB, free: 13.73 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 1.85e-05/0.3296, allocations: 0 / 0.8456 GB, free: 13.73 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.765e-05/0.3296, allocations: 7.438 kB / 0.8456 GB, free: 13.72 MB / 0.67 GB Notification: Performance of SimCode: time 3.91e-07/0.3296, allocations: 0 / 0.8456 GB, free: 13.72 MB / 0.67 GB Notification: Performance of Templates: time 0.01129/0.3409, allocations: 5.578 MB / 0.8511 GB, free: 8.195 MB / 0.67 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1)