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.01127/0.01127, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.002233/0.002233, allocations: 195.8 kB / 16.68 MB, free: 5.93 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.67/1.67, 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.588/1.588, 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.001452/0.001452, allocations: 67.91 kB / 0.7259 GB, free: 8.926 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2529/0.2543, allocations: 104.7 MB / 0.8281 GB, free: 116 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.003121/0.2575, allocations: 1.425 MB / 0.8295 GB, free: 14.68 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.004626/0.2622, allocations: 2.954 MB / 0.8324 GB, free: 11.71 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.023e-05/0.2622, allocations: 0 / 0.8324 GB, free: 11.71 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 1.955e-05/0.2622, allocations: 0 / 0.8324 GB, free: 11.71 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 7.967e-05/0.2623, allocations: 11.86 kB / 0.8324 GB, free: 11.7 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.00398/0.2663, allocations: 1.632 MB / 0.834 GB, free: 10.08 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 9.865e-05/0.2664, allocations: 39.67 kB / 0.834 GB, free: 10.04 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.375e-05/0.2665, allocations: 4 kB / 0.834 GB, free: 10.04 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 3.377e-05/0.2665, allocations: 15.94 kB / 0.8341 GB, free: 10.02 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 3.069e-05/0.2666, allocations: 15.92 kB / 0.8341 GB, free: 10.01 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.092e-05/0.2666, allocations: 0 / 0.8341 GB, free: 10.01 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002125/0.2687, allocations: 1.502 MB / 0.8355 GB, free: 8.504 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.452e-05/0.2687, allocations: 3.938 kB / 0.8355 GB, free: 8.5 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.638e-05/0.2688, allocations: 23.88 kB / 0.8356 GB, free: 8.477 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.00138/0.2702, allocations: 1.092 MB / 0.8366 GB, free: 7.383 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.2702, allocations: 0 / 0.8366 GB, free: 7.383 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.102e-06/0.2702, allocations: 0 / 0.8366 GB, free: 7.383 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.06e-05/0.2702, allocations: 0 / 0.8366 GB, free: 7.383 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.0006108/0.2708, allocations: 0.5185 MB / 0.8371 GB, free: 6.816 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.2709, allocations: 8.031 kB / 0.8372 GB, free: 6.809 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.162e-05/0.2709, allocations: 84.12 kB / 0.8372 GB, free: 6.727 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001703/0.2711, allocations: 250.4 kB / 0.8375 GB, free: 6.445 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.337e-05/0.2712, allocations: 154.9 kB / 0.8376 GB, free: 6.293 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.887e-05/0.2713, allocations: 150.9 kB / 0.8378 GB, free: 6.145 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.045e-05/0.2713, allocations: 109.1 kB / 0.8379 GB, free: 6.031 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.5e-05/0.2714, allocations: 79.22 kB / 0.8379 GB, free: 5.953 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.46e-05/0.2714, allocations: 154.6 kB / 0.8381 GB, free: 5.801 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-05/0.2715, allocations: 162.5 kB / 0.8382 GB, free: 5.641 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.889e-05/0.2715, allocations: 154.5 kB / 0.8384 GB, free: 5.488 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003033/0.2719, allocations: 457.9 kB / 0.8388 GB, free: 4.992 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 8.735e-05/0.2719, allocations: 169.1 kB / 0.839 GB, free: 4.816 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.217e-05/0.272, allocations: 88.08 kB / 0.8391 GB, free: 4.727 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.362e-05/0.272, allocations: 75.28 kB / 0.8391 GB, free: 4.652 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.621e-05/0.2721, allocations: 109.8 kB / 0.8393 GB, free: 4.535 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=0): time 1.092e-06/0.2721, allocations: 0 / 0.8393 GB, free: 4.535 MB / 0.6544 GB Notification: Performance of matching and sorting (n=0): time 8.403e-05/0.2722, allocations: 37.61 kB / 0.8393 GB, free: 4.492 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.906e-05/0.2722, allocations: 130.6 kB / 0.8394 GB, free: 4.352 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001402/0.2724, allocations: 129.8 kB / 0.8395 GB, free: 4.215 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.265e-05/0.2724, allocations: 29.7 kB / 0.8396 GB, free: 4.18 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.268e-05/0.2725, allocations: 96.12 kB / 0.8397 GB, free: 4.082 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.414e-06/0.2725, allocations: 0 / 0.8397 GB, free: 4.082 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.239e-05/0.2725, allocations: 13.72 kB / 0.8397 GB, free: 4.062 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001139/0.2726, allocations: 318.8 kB / 0.84 GB, free: 3.742 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.252e-05/0.2727, allocations: 7.875 kB / 0.84 GB, free: 3.734 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.697e-05/0.2727, allocations: 7.984 kB / 0.84 GB, free: 3.727 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.441e-05/0.2727, allocations: 16.86 kB / 0.84 GB, free: 3.707 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.2727, allocations: 4.031 kB / 0.84 GB, free: 3.703 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001344/0.2729, allocations: 49.55 kB / 0.8401 GB, free: 3.648 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.2729, allocations: 4 kB / 0.8401 GB, free: 3.645 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.376e-05/0.2729, allocations: 7.984 kB / 0.8401 GB, free: 3.637 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.273, allocations: 0 / 0.8401 GB, free: 3.637 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.92e-07/0.273, allocations: 0 / 0.8401 GB, free: 3.637 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.109e-06/0.273, allocations: 0 / 0.8401 GB, free: 3.637 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.209e-05/0.273, allocations: 4 kB / 0.8401 GB, free: 3.633 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.683e-06/0.273, allocations: 0 / 0.8401 GB, free: 3.633 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.0001137/0.2731, allocations: 189.1 kB / 0.8402 GB, free: 3.438 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.489e-05/0.2732, allocations: 112.8 kB / 0.8404 GB, free: 3.32 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.386e-05/0.2733, allocations: 112.8 kB / 0.8405 GB, free: 3.195 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.25e-05/0.2733, allocations: 184.2 kB / 0.8406 GB, free: 3.008 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.385e-05/0.2734, allocations: 176.3 kB / 0.8408 GB, free: 2.828 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.591e-05/0.2735, allocations: 184.2 kB / 0.841 GB, free: 2.641 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002266/0.2737, allocations: 413.2 kB / 0.8414 GB, free: 2.18 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.305e-05/0.2738, allocations: 112.9 kB / 0.8415 GB, free: 2.062 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.482e-05/0.2738, allocations: 104.9 kB / 0.8416 GB, free: 1.953 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.695e-05/0.2739, allocations: 180.3 kB / 0.8418 GB, free: 1.77 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.267e-05/0.2739, allocations: 180.2 kB / 0.8419 GB, free: 1.586 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.249e-05/0.274, allocations: 184.3 kB / 0.8421 GB, free: 1.398 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.185e-05/0.2741, allocations: 180.2 kB / 0.8423 GB, free: 1.215 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001659/0.2742, allocations: 311.7 kB / 0.8426 GB, free: 0.8867 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 9.701e-05/0.2743, allocations: 186 kB / 0.8428 GB, free: 0.6797 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.71e-05/0.2744, allocations: 180.2 kB / 0.8429 GB, free: 0.4961 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.699e-05/0.2745, allocations: 109 kB / 0.843 GB, free: 392 kB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001007/0.2746, allocations: 188.1 kB / 0.8432 GB, free: 196 kB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.901e-05/0.2747, allocations: 101 kB / 0.8433 GB, free: 88 kB / 0.6544 GB Notification: Performance of sorting global known variables: time 9.407e-05/0.2748, allocations: 97.92 kB / 0.8434 GB, free: 15.99 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2748, allocations: 0 / 0.8434 GB, free: 15.99 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0009309/0.2757, allocations: 279.8 kB / 0.8437 GB, free: 15.72 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.001412/0.2772, allocations: 0.5476 MB / 0.8442 GB, free: 15.17 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0001456/0.2773, allocations: 37.64 kB / 0.8442 GB, free: 15.12 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 6.793e-06/0.2773, allocations: 0 / 0.8442 GB, free: 15.12 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 6.292e-06/0.2773, allocations: 7.938 kB / 0.8442 GB, free: 15.12 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005705/0.2779, allocations: 471.7 kB / 0.8447 GB, free: 14.65 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000511/0.2784, allocations: 240.3 kB / 0.8449 GB, free: 14.39 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006092/0.2791, allocations: 0.6807 MB / 0.8456 GB, free: 13.68 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 1.79e-05/0.2791, allocations: 4 kB / 0.8456 GB, free: 13.68 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.819e-05/0.2791, allocations: 7.438 kB / 0.8456 GB, free: 13.67 MB / 0.67 GB Notification: Performance of SimCode: time 2.3e-07/0.2791, allocations: 4 kB / 0.8456 GB, free: 13.67 MB / 0.67 GB Notification: Performance of Templates: time 0.01046/0.2896, allocations: 5.567 MB / 0.851 GB, free: 8.156 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)