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.01047/0.01047, allocations: 100.6 kB / 15.73 MB, free: 6.039 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.001937/0.001938, allocations: 188.9 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.545/1.545, allocations: 205.1 MB / 222.5 MB, free: 4.359 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.612/1.612, allocations: 251.7 MB / 0.5094 GB, free: 3.094 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.001403/0.001403, allocations: 67.91 kB / 0.7259 GB, free: 9.004 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2278/0.2292, 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.InternalResistancesTwoUTubeNegative): time 0.00228/0.2315, allocations: 1.437 MB / 0.8295 GB, free: 14.75 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.004187/0.2357, allocations: 2.992 MB / 0.8324 GB, free: 11.73 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.586e-05/0.2358, allocations: 0 / 0.8324 GB, free: 11.73 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.196e-05/0.2359, allocations: 3.938 kB / 0.8325 GB, free: 11.73 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 7.693e-05/0.236, allocations: 15.84 kB / 0.8325 GB, free: 11.71 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.004159/0.2401, allocations: 1.643 MB / 0.8341 GB, free: 10.09 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001151/0.2403, allocations: 43.73 kB / 0.8341 GB, free: 10.05 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 5.968e-05/0.2403, allocations: 11.89 kB / 0.8341 GB, free: 10.04 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 3.125e-05/0.2404, allocations: 11.94 kB / 0.8341 GB, free: 10.02 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 3.391e-05/0.2404, allocations: 19.88 kB / 0.8342 GB, free: 10 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.21e-05/0.2404, allocations: 0 / 0.8342 GB, free: 10 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002287/0.2427, allocations: 1.548 MB / 0.8357 GB, free: 8.453 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.454e-05/0.2427, allocations: 4 kB / 0.8357 GB, free: 8.449 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.843e-05/0.2428, allocations: 19.88 kB / 0.8357 GB, free: 8.43 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001502/0.2443, allocations: 1.127 MB / 0.8368 GB, free: 7.301 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.2443, allocations: 0 / 0.8368 GB, free: 7.301 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.585e-06/0.2443, allocations: 0 / 0.8368 GB, free: 7.301 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.048e-05/0.2443, 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.000809/0.2451, allocations: 0.5146 MB / 0.8373 GB, free: 6.738 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 6.112e-05/0.2452, allocations: 12.03 kB / 0.8373 GB, free: 6.727 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.229e-05/0.2453, allocations: 88.06 kB / 0.8374 GB, free: 6.641 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002235/0.2455, allocations: 251.5 kB / 0.8376 GB, free: 6.355 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.428e-05/0.2456, allocations: 154.9 kB / 0.8378 GB, free: 6.203 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.788e-05/0.2457, allocations: 154.9 kB / 0.8379 GB, free: 6.051 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001036/0.2458, allocations: 113 kB / 0.838 GB, free: 5.934 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.116e-05/0.2459, allocations: 75.28 kB / 0.8381 GB, free: 5.859 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.039e-05/0.2459, allocations: 150.6 kB / 0.8382 GB, free: 5.711 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.515e-05/0.246, allocations: 154.6 kB / 0.8384 GB, free: 5.559 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.697e-05/0.2461, allocations: 150.6 kB / 0.8385 GB, free: 5.41 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003962/0.2465, allocations: 461.9 kB / 0.839 GB, free: 4.91 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001231/0.2467, allocations: 181.1 kB / 0.8391 GB, free: 4.723 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.667e-05/0.2467, allocations: 84.14 kB / 0.8392 GB, free: 4.637 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 4.184e-05/0.2468, allocations: 75.28 kB / 0.8393 GB, free: 4.562 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.974e-05/0.2468, allocations: 109.8 kB / 0.8394 GB, free: 4.445 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.2468, allocations: 0 / 0.8394 GB, free: 4.445 MB / 0.6544 GB Notification: Performance of matching and sorting (n=0): time 0.0001008/0.2469, allocations: 33.61 kB / 0.8394 GB, free: 4.406 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.193e-05/0.247, allocations: 134.6 kB / 0.8396 GB, free: 4.262 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001864/0.2472, allocations: 132.6 kB / 0.8397 GB, free: 4.125 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.64e-05/0.2472, allocations: 29.7 kB / 0.8397 GB, free: 4.09 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 7.48e-05/0.2473, allocations: 92.14 kB / 0.8398 GB, free: 3.996 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.006e-06/0.2473, allocations: 0 / 0.8398 GB, free: 3.996 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.742e-05/0.2474, allocations: 17.7 kB / 0.8398 GB, free: 3.973 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001476/0.2475, allocations: 318.8 kB / 0.8401 GB, free: 3.652 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.457e-05/0.2476, allocations: 4 kB / 0.8401 GB, free: 3.648 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.899e-05/0.2476, allocations: 4 kB / 0.8401 GB, free: 3.645 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.772e-05/0.2477, allocations: 20.91 kB / 0.8402 GB, free: 3.621 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.2477, allocations: 4.031 kB / 0.8402 GB, free: 3.617 MB / 0.6544 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001718/0.2478, allocations: 53.55 kB / 0.8402 GB, free: 3.559 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.22e-05/0.2479, allocations: 4 kB / 0.8402 GB, free: 3.555 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.673e-05/0.2479, allocations: 7.938 kB / 0.8402 GB, free: 3.547 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.975e-05/0.2479, allocations: 3.938 kB / 0.8402 GB, free: 3.543 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.122e-06/0.2479, allocations: 0 / 0.8402 GB, free: 3.543 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.248, allocations: 0 / 0.8402 GB, free: 3.543 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.444e-05/0.248, allocations: 0 / 0.8402 GB, free: 3.543 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.235e-06/0.248, allocations: 4 kB / 0.8402 GB, free: 3.539 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.000139/0.2481, allocations: 193.1 kB / 0.8404 GB, free: 3.34 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.139e-05/0.2482, allocations: 112.8 kB / 0.8405 GB, free: 3.223 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.461e-05/0.2483, allocations: 108.8 kB / 0.8406 GB, free: 3.102 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.492e-05/0.2484, allocations: 180.3 kB / 0.8408 GB, free: 2.918 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.142e-05/0.2485, allocations: 184.2 kB / 0.841 GB, free: 2.73 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.687e-05/0.2486, allocations: 180.2 kB / 0.8411 GB, free: 2.547 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002638/0.2489, allocations: 417.2 kB / 0.8415 GB, free: 2.082 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.622e-05/0.2489, allocations: 112.8 kB / 0.8417 GB, free: 1.965 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.542e-05/0.249, allocations: 101 kB / 0.8417 GB, free: 1.859 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.285e-05/0.2491, allocations: 188.2 kB / 0.8419 GB, free: 1.668 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000105/0.2492, allocations: 184.2 kB / 0.8421 GB, free: 1.48 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.112e-05/0.2493, allocations: 180.3 kB / 0.8423 GB, free: 1.297 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.957e-05/0.2494, allocations: 180.2 kB / 0.8424 GB, free: 1.113 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002131/0.2496, allocations: 311.7 kB / 0.8427 GB, free: 0.7852 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001129/0.2497, allocations: 189.9 kB / 0.8429 GB, free: 0.5742 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.49e-05/0.2498, allocations: 180.3 kB / 0.8431 GB, free: 400 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001106/0.2499, allocations: 108.9 kB / 0.8432 GB, free: 284 kB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001156/0.25, allocations: 184.2 kB / 0.8434 GB, free: 92 kB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.496e-05/0.2501, allocations: 101 kB / 0.8435 GB, free: 15.98 MB / 0.67 GB Notification: Performance of sorting global known variables: time 8.986e-05/0.2502, allocations: 103.3 kB / 0.8436 GB, free: 15.88 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2502, allocations: 3.938 kB / 0.8436 GB, free: 15.88 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0009807/0.2512, allocations: 283.8 kB / 0.8438 GB, free: 15.6 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.001299/0.2525, allocations: 0.5565 MB / 0.8444 GB, free: 15.05 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0001163/0.2526, allocations: 37.7 kB / 0.8444 GB, free: 15.01 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.2526, allocations: 0 / 0.8444 GB, free: 15.01 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 2.244e-06/0.2527, allocations: 4.406 kB / 0.8444 GB, free: 15 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004643/0.2531, allocations: 471.6 kB / 0.8449 GB, free: 14.54 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003606/0.2535, allocations: 232.1 kB / 0.8451 GB, free: 14.29 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000308/0.2538, allocations: 0.6922 MB / 0.8458 GB, free: 13.57 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 1.391e-05/0.2538, allocations: 0 / 0.8458 GB, free: 13.57 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.356e-05/0.2539, allocations: 11.44 kB / 0.8458 GB, free: 13.55 MB / 0.67 GB Notification: Performance of SimCode: time 2.11e-07/0.2539, allocations: 0 / 0.8458 GB, free: 13.55 MB / 0.67 GB Notification: Performance of Templates: time 0.009676/0.2635, allocations: 5.745 MB / 0.8514 GB, free: 7.863 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)