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.008211/0.008211, allocations: 99.95 kB / 15.73 MB, free: 6.062 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.001377/0.001377, allocations: 189.6 kB / 16.67 MB, free: 5.973 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.581/1.581, allocations: 205.1 MB / 222.6 MB, free: 4.391 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.608/1.608, allocations: 251.7 MB / 0.5094 GB, free: 3.066 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.00148/0.00148, allocations: 75.88 kB / 0.7259 GB, free: 9.008 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2153/0.2168, allocations: 104.7 MB / 0.8281 GB, free: 212 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002336/0.2192, allocations: 1.451 MB / 0.8295 GB, free: 14.75 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.004518/0.2237, allocations: 2.988 MB / 0.8325 GB, free: 11.75 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.3e-05/0.2238, allocations: 4 kB / 0.8325 GB, free: 11.74 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.609e-05/0.2238, allocations: 7.922 kB / 0.8325 GB, free: 11.73 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 6.02e-05/0.2239, allocations: 15.86 kB / 0.8325 GB, free: 11.72 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.003925/0.2278, allocations: 1.644 MB / 0.8341 GB, free: 10.09 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001109/0.228, allocations: 39.73 kB / 0.8341 GB, free: 10.05 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.729e-05/0.228, allocations: 7.906 kB / 0.8341 GB, free: 10.04 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 3.098e-05/0.228, allocations: 11.94 kB / 0.8341 GB, free: 10.03 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 3.341e-05/0.2281, allocations: 27.86 kB / 0.8342 GB, free: 10 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.054e-05/0.2281, allocations: 0 / 0.8342 GB, free: 10 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00224/0.2303, allocations: 1.544 MB / 0.8357 GB, free: 8.457 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.921e-05/0.2304, allocations: 8 kB / 0.8357 GB, free: 8.449 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.848e-05/0.2304, allocations: 23.84 kB / 0.8357 GB, free: 8.426 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001521/0.2319, allocations: 1.122 MB / 0.8368 GB, free: 7.301 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.327e-06/0.232, allocations: 0 / 0.8368 GB, free: 7.301 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.012e-06/0.232, allocations: 0 / 0.8368 GB, free: 7.301 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.96e-06/0.232, allocations: 0 / 0.8368 GB, free: 7.301 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.0005997/0.2326, allocations: 0.5325 MB / 0.8373 GB, free: 6.719 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.2326, allocations: 8.031 kB / 0.8373 GB, free: 6.711 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.454e-05/0.2327, allocations: 84.17 kB / 0.8374 GB, free: 6.629 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001664/0.2329, allocations: 259.5 kB / 0.8377 GB, free: 6.336 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.623e-05/0.2329, allocations: 154.9 kB / 0.8378 GB, free: 6.184 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.774e-05/0.233, allocations: 150.9 kB / 0.8379 GB, free: 6.035 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.79e-05/0.2331, allocations: 113.1 kB / 0.8381 GB, free: 5.918 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.538e-05/0.2331, allocations: 75.28 kB / 0.8381 GB, free: 5.844 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.901e-05/0.2332, allocations: 150.6 kB / 0.8383 GB, free: 5.695 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.252e-05/0.2332, allocations: 150.6 kB / 0.8384 GB, free: 5.547 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.543e-05/0.2333, allocations: 154.6 kB / 0.8386 GB, free: 5.395 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002843/0.2336, allocations: 473.8 kB / 0.839 GB, free: 4.883 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 7.319e-05/0.2337, allocations: 169.1 kB / 0.8392 GB, free: 4.707 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.802e-05/0.2337, allocations: 80.14 kB / 0.8393 GB, free: 4.625 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.775e-05/0.2337, allocations: 79.27 kB / 0.8393 GB, free: 4.547 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.206e-05/0.2338, allocations: 109.8 kB / 0.8394 GB, free: 4.43 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=0): time 1.012e-06/0.2338, allocations: 7.938 kB / 0.8394 GB, free: 4.422 MB / 0.6544 GB Notification: Performance of matching and sorting (n=0): time 7.207e-05/0.2339, allocations: 33.64 kB / 0.8395 GB, free: 4.383 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.119e-05/0.2339, allocations: 126.7 kB / 0.8396 GB, free: 4.246 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001438/0.2341, allocations: 140.4 kB / 0.8397 GB, free: 4.102 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.075e-05/0.2341, allocations: 25.7 kB / 0.8398 GB, free: 4.07 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.691e-05/0.2342, allocations: 88.12 kB / 0.8398 GB, free: 3.98 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.465e-06/0.2342, allocations: 0 / 0.8398 GB, free: 3.98 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.258e-05/0.2342, allocations: 21.72 kB / 0.8399 GB, free: 3.953 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001067/0.2343, allocations: 318.8 kB / 0.8402 GB, free: 3.633 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.371e-05/0.2344, allocations: 7.984 kB / 0.8402 GB, free: 3.625 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.574e-05/0.2344, allocations: 4 kB / 0.8402 GB, free: 3.621 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.562e-05/0.2344, allocations: 12.86 kB / 0.8402 GB, free: 3.605 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.2344, allocations: 64 / 0.8402 GB, free: 3.605 MB / 0.6544 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.00012/0.2345, allocations: 61.53 kB / 0.8402 GB, free: 3.539 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.2346, allocations: 4 kB / 0.8402 GB, free: 3.535 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.04e-05/0.2346, allocations: 11.92 kB / 0.8403 GB, free: 3.523 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.2346, allocations: 0 / 0.8403 GB, free: 3.523 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.42e-07/0.2346, allocations: 4.062 kB / 0.8403 GB, free: 3.52 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.2346, allocations: 4 kB / 0.8403 GB, free: 3.516 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.961e-05/0.2347, allocations: 0 / 0.8403 GB, free: 3.516 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.993e-06/0.2347, allocations: 0 / 0.8403 GB, free: 3.516 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 9.736e-05/0.2348, allocations: 193.1 kB / 0.8405 GB, free: 3.316 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.35e-05/0.2348, allocations: 108.9 kB / 0.8406 GB, free: 3.203 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.742e-05/0.2349, allocations: 116.8 kB / 0.8407 GB, free: 3.074 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.107e-05/0.235, allocations: 180.3 kB / 0.8408 GB, free: 2.891 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.42e-05/0.235, allocations: 180.2 kB / 0.841 GB, free: 2.707 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.366e-05/0.2351, allocations: 184.3 kB / 0.8412 GB, free: 2.52 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002257/0.2353, allocations: 405.2 kB / 0.8416 GB, free: 2.066 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.753e-05/0.2354, allocations: 116.8 kB / 0.8417 GB, free: 1.945 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.219e-05/0.2354, allocations: 105 kB / 0.8418 GB, free: 1.836 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.019e-05/0.2355, allocations: 180.2 kB / 0.842 GB, free: 1.652 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.404e-05/0.2356, allocations: 184.3 kB / 0.8421 GB, free: 1.465 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.407e-05/0.2356, allocations: 180.3 kB / 0.8423 GB, free: 1.281 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.876e-05/0.2357, allocations: 184.2 kB / 0.8425 GB, free: 1.094 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001314/0.2358, allocations: 311.7 kB / 0.8428 GB, free: 0.7656 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 7.511e-05/0.2359, allocations: 186 kB / 0.843 GB, free: 0.5586 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.841e-05/0.236, allocations: 184.2 kB / 0.8431 GB, free: 380 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.309e-05/0.2361, allocations: 101 kB / 0.8432 GB, free: 272 kB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.037e-05/0.2362, allocations: 176.3 kB / 0.8434 GB, free: 88 kB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.52e-05/0.2362, allocations: 112.9 kB / 0.8435 GB, free: 15.97 MB / 0.67 GB Notification: Performance of sorting global known variables: time 6.257e-05/0.2363, allocations: 99.27 kB / 0.8436 GB, free: 15.87 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2363, allocations: 0 / 0.8436 GB, free: 15.87 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0006932/0.237, allocations: 291 kB / 0.8439 GB, free: 15.59 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.001124/0.2381, allocations: 0.5651 MB / 0.8444 GB, free: 15.02 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0001073/0.2382, allocations: 45.69 kB / 0.8445 GB, free: 14.97 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.2382, allocations: 0 / 0.8445 GB, free: 14.97 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 1.954e-06/0.2382, allocations: 352 / 0.8445 GB, free: 14.97 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004006/0.2387, allocations: 471.6 kB / 0.8449 GB, free: 14.5 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003437/0.239, allocations: 236.1 kB / 0.8451 GB, free: 14.25 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002561/0.2393, allocations: 0.6844 MB / 0.8458 GB, free: 13.54 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 1.249e-05/0.2393, allocations: 0 / 0.8458 GB, free: 13.54 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.431e-05/0.2393, allocations: 11.44 kB / 0.8458 GB, free: 13.52 MB / 0.67 GB Notification: Performance of SimCode: time 3.61e-07/0.2393, allocations: 0 / 0.8458 GB, free: 13.52 MB / 0.67 GB Notification: Performance of Templates: time 0.009808/0.2491, allocations: 5.733 MB / 0.8514 GB, free: 7.844 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)