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.MultipoleThermalResistances_TwoUTube.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.MultipoleThermalResistances_TwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006516/0.006516, allocations: 102.7 kB / 15.73 MB, free: 6.035 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.001246/0.001246, allocations: 195.6 kB / 16.67 MB, free: 5.953 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.635/1.635, allocations: 205.1 MB / 222.6 MB, free: 4.273 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.506/1.506, allocations: 251.7 MB / 0.5094 GB, free: 3.109 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.001425/0.001426, allocations: 73.92 kB / 0.7259 GB, free: 8.996 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2383/0.2398, allocations: 104.7 MB / 0.8281 GB, free: 188 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube): time 0.002484/0.2423, allocations: 1.366 MB / 0.8295 GB, free: 14.81 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002773/0.2451, allocations: 1.841 MB / 0.8313 GB, free: 12.95 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.036e-05/0.2451, allocations: 0 / 0.8313 GB, free: 12.95 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 9.475e-05/0.2452, allocations: 15.92 kB / 0.8313 GB, free: 12.94 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001543/0.2454, allocations: 27.83 kB / 0.8313 GB, free: 12.91 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'. Notification: Performance of NFTyping.typeClassSections: time 0.002456/0.2479, allocations: 1.141 MB / 0.8324 GB, free: 11.78 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001011/0.248, allocations: 47.78 kB / 0.8325 GB, free: 11.73 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.594e-05/0.2481, allocations: 11.94 kB / 0.8325 GB, free: 11.72 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 7.971e-05/0.2481, allocations: 27.91 kB / 0.8325 GB, free: 11.69 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 7.051e-05/0.2482, allocations: 31.84 kB / 0.8325 GB, free: 11.66 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.274e-05/0.2482, allocations: 4 kB / 0.8325 GB, free: 11.66 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00106/0.2493, allocations: 0.8891 MB / 0.8334 GB, free: 10.77 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 8.074e-05/0.2494, allocations: 67.75 kB / 0.8335 GB, free: 10.7 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 6.288e-05/0.2495, allocations: 63.44 kB / 0.8335 GB, free: 10.64 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0009271/0.2504, allocations: 0.8768 MB / 0.8344 GB, free: 9.758 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.2504, allocations: 0 / 0.8344 GB, free: 9.758 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.243e-06/0.2504, allocations: 0 / 0.8344 GB, free: 9.758 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.59e-06/0.2504, allocations: 0 / 0.8344 GB, free: 9.758 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0006327/0.2511, allocations: 0.58 MB / 0.8349 GB, free: 9.129 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.2511, allocations: 16.03 kB / 0.835 GB, free: 9.113 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.951e-05/0.2512, allocations: 24.56 kB / 0.835 GB, free: 9.09 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001996/0.2514, allocations: 222.8 kB / 0.8352 GB, free: 8.832 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.527e-06/0.2514, allocations: 384 / 0.8352 GB, free: 8.832 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.085e-06/0.2514, allocations: 384 / 0.8352 GB, free: 8.832 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001465/0.2516, allocations: 113.8 kB / 0.8353 GB, free: 8.715 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.164e-06/0.2516, allocations: 0 / 0.8353 GB, free: 8.715 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.035e-06/0.2516, allocations: 0 / 0.8353 GB, free: 8.715 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.2516, allocations: 0 / 0.8353 GB, free: 8.715 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.787e-05/0.2517, allocations: 67.98 kB / 0.8354 GB, free: 8.648 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002591/0.2519, allocations: 289.8 kB / 0.8356 GB, free: 8.316 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001102/0.2521, allocations: 114.6 kB / 0.8358 GB, free: 8.195 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.697e-05/0.2522, allocations: 108.9 kB / 0.8359 GB, free: 8.086 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.45e-05/0.2522, allocations: 3.938 kB / 0.8359 GB, free: 8.082 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.346e-05/0.2522, allocations: 34.56 kB / 0.8359 GB, free: 8.039 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=32): time 1.072e-06/0.2522, allocations: 0 / 0.8359 GB, free: 8.039 MB / 0.6544 GB Notification: Performance of matching and sorting (n=32): time 0.0003782/0.2526, allocations: 346.2 kB / 0.8362 GB, free: 7.695 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.395e-05/0.2526, allocations: 55.44 kB / 0.8363 GB, free: 7.629 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002224/0.2529, allocations: 257 kB / 0.8365 GB, free: 7.363 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.482e-05/0.2529, allocations: 25.7 kB / 0.8366 GB, free: 7.332 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 7.159e-05/0.253, allocations: 128.7 kB / 0.8367 GB, free: 7.203 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 7.585e-05/0.2531, allocations: 106.4 kB / 0.8368 GB, free: 7.098 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.33e-05/0.2531, allocations: 33.7 kB / 0.8368 GB, free: 7.059 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001143/0.2532, allocations: 334.8 kB / 0.8371 GB, free: 6.723 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.004e-05/0.2533, allocations: 75.97 kB / 0.8372 GB, free: 6.648 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.469e-05/0.2534, allocations: 79.92 kB / 0.8373 GB, free: 6.57 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001728/0.2535, allocations: 205.8 kB / 0.8375 GB, free: 6.367 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.2536, allocations: 0 / 0.8375 GB, free: 6.367 MB / 0.6544 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002106/0.2538, allocations: 233.2 kB / 0.8377 GB, free: 6.133 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/0.2538, allocations: 4 kB / 0.8377 GB, free: 6.129 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.277e-05/0.2538, allocations: 0 / 0.8377 GB, free: 6.129 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.2538, allocations: 0 / 0.8377 GB, free: 6.129 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.71e-07/0.2538, allocations: 0 / 0.8377 GB, free: 6.129 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.398e-06/0.2538, allocations: 8 kB / 0.8377 GB, free: 6.121 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.475e-05/0.2539, allocations: 11.81 kB / 0.8377 GB, free: 6.109 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.703e-06/0.2539, allocations: 4 kB / 0.8377 GB, free: 6.105 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.0001073/0.254, allocations: 157.8 kB / 0.8379 GB, free: 5.941 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.738e-05/0.2541, allocations: 23.66 kB / 0.8379 GB, free: 5.918 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000263/0.2543, allocations: 252.4 kB / 0.8381 GB, free: 5.66 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.2543, allocations: 0 / 0.8381 GB, free: 5.66 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.2543, allocations: 0 / 0.8381 GB, free: 5.66 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.2544, allocations: 3.938 kB / 0.8381 GB, free: 5.656 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002052/0.2546, allocations: 285.8 kB / 0.8384 GB, free: 5.328 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/0.2546, allocations: 7.969 kB / 0.8384 GB, free: 5.32 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.81e-07/0.2546, allocations: 0 / 0.8384 GB, free: 5.32 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.2546, allocations: 0 / 0.8384 GB, free: 5.32 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.275e-06/0.2546, allocations: 4 kB / 0.8384 GB, free: 5.316 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.2546, allocations: 0 / 0.8384 GB, free: 5.316 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.2546, allocations: 0 / 0.8384 GB, free: 5.316 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002298/0.2548, allocations: 252.8 kB / 0.8387 GB, free: 5.051 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 6.371e-05/0.2549, allocations: 108.7 kB / 0.8388 GB, free: 4.926 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.697e-05/0.2549, allocations: 0 / 0.8388 GB, free: 4.926 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.411e-05/0.255, allocations: 7.969 kB / 0.8388 GB, free: 4.918 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.151e-05/0.255, allocations: 0 / 0.8388 GB, free: 4.918 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.565e-06/0.255, allocations: 0 / 0.8388 GB, free: 4.918 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001494/0.2552, allocations: 192.4 kB / 0.839 GB, free: 4.734 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2552, allocations: 0 / 0.839 GB, free: 4.734 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0005025/0.2557, allocations: 207.9 kB / 0.8392 GB, free: 4.531 MB / 0.6544 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 (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 Backend phase and start with SimCode phase: time 0.0006766/0.2564, allocations: 344.3 kB / 0.8395 GB, free: 4.188 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002792/0.2566, allocations: 269.6 kB / 0.8397 GB, free: 3.918 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.2567, allocations: 4.062 kB / 0.8397 GB, free: 3.914 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001379/0.2568, allocations: 177.6 kB / 0.8399 GB, free: 3.734 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002403/0.257, allocations: 28.41 kB / 0.8399 GB, free: 3.707 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006147/0.2577, allocations: 493.9 kB / 0.8404 GB, free: 3.203 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003175/0.258, allocations: 0.774 MB / 0.8412 GB, free: 2.398 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 2.356e-05/0.258, allocations: 4.062 kB / 0.8412 GB, free: 2.395 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.603e-05/0.258, allocations: 11.44 kB / 0.8412 GB, free: 2.383 MB / 0.6544 GB Notification: Performance of SimCode: time 2.1e-07/0.258, allocations: 3.938 kB / 0.8412 GB, free: 2.379 MB / 0.6544 GB Notification: Performance of Templates: time 0.008382/0.2664, allocations: 4.628 MB / 0.8457 GB, free: 13.82 MB / 0.67 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe 2>&1)