Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/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_7.0.0_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_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.18/2.18, allocations: 254.9 MB / 269.9 MB, free: 9.648 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001382/0.001382, allocations: 196.2 kB / 329.5 MB, free: 1.164 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.291/2.291, allocations: 225.6 MB / 0.6001 GB, free: 2.25 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009674/0.0009672, allocations: 102.1 kB / 0.7074 GB, free: 7.992 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0006605/0.0006608, allocations: 13.12 kB / 0.8243 GB, free: 124.4 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2336/0.2343, allocations: 109.1 MB / 0.9308 GB, free: 25.11 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.001611/0.236, allocations: 1.141 MB / 0.9319 GB, free: 23.96 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.004869/0.2409, allocations: 2.696 MB / 0.9346 GB, free: 21.25 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.817e-05/0.241, allocations: 0 / 0.9346 GB, free: 21.25 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.148e-05/0.2411, allocations: 7.984 kB / 0.9346 GB, free: 21.25 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 9.115e-05/0.2412, allocations: 7.875 kB / 0.9346 GB, free: 21.24 MB / 0.5886 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/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.004957/0.2461, allocations: 1.327 MB / 0.9359 GB, free: 19.92 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 8.171e-05/0.2462, allocations: 39.73 kB / 0.9359 GB, free: 19.88 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 5.828e-05/0.2463, allocations: 4 kB / 0.9359 GB, free: 19.88 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 2.758e-05/0.2463, allocations: 11.94 kB / 0.9359 GB, free: 19.86 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 3.603e-05/0.2464, allocations: 19.86 kB / 0.9359 GB, free: 19.84 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.367e-05/0.2464, allocations: 4 kB / 0.9359 GB, free: 19.84 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002714/0.2491, allocations: 1.229 MB / 0.9371 GB, free: 18.61 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.795e-05/0.2492, allocations: 7.938 kB / 0.9372 GB, free: 18.6 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 3.546e-05/0.2492, allocations: 25.7 kB / 0.9372 GB, free: 18.57 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.001487/0.2507, allocations: 0.706 MB / 0.9379 GB, free: 17.86 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.2508, allocations: 0 / 0.9379 GB, free: 17.86 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.174e-06/0.2508, allocations: 0 / 0.9379 GB, free: 17.86 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 6.222e-06/0.2508, allocations: 0 / 0.9379 GB, free: 17.86 MB / 0.5886 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.0006435/0.2515, allocations: 0.5068 MB / 0.9384 GB, free: 17.31 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.2515, allocations: 12.03 kB / 0.9384 GB, free: 17.3 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.786e-05/0.2516, allocations: 80.22 kB / 0.9385 GB, free: 17.22 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001189/0.2517, allocations: 251.5 kB / 0.9387 GB, free: 16.93 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.118e-05/0.2517, allocations: 154.9 kB / 0.9388 GB, free: 16.78 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.013e-05/0.2518, allocations: 150.9 kB / 0.939 GB, free: 16.63 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.103e-05/0.2519, allocations: 105.1 kB / 0.9391 GB, free: 16.52 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.813e-05/0.2519, allocations: 75.28 kB / 0.9392 GB, free: 16.45 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.837e-05/0.2519, allocations: 154.6 kB / 0.9393 GB, free: 16.3 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.543e-05/0.252, allocations: 154.6 kB / 0.9394 GB, free: 16.14 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.884e-05/0.252, allocations: 154.5 kB / 0.9396 GB, free: 15.99 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002272/0.2522, allocations: 461.9 kB / 0.94 GB, free: 15.49 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 5.505e-05/0.2523, allocations: 173.1 kB / 0.9402 GB, free: 15.31 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.068e-05/0.2523, allocations: 84.12 kB / 0.9403 GB, free: 15.23 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.42e-05/0.2523, allocations: 75.28 kB / 0.9404 GB, free: 15.15 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.081e-05/0.2524, allocations: 113.7 kB / 0.9405 GB, free: 15.03 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=0): time 1.303e-06/0.2524, allocations: 0 / 0.9405 GB, free: 15.03 MB / 0.5886 GB Notification: Performance of matching and sorting (n=0): time 7.799e-05/0.2525, allocations: 33.61 kB / 0.9405 GB, free: 14.99 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.58e-05/0.2525, allocations: 134.7 kB / 0.9406 GB, free: 14.85 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001223/0.2527, allocations: 129.8 kB / 0.9407 GB, free: 14.71 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 9.759e-06/0.2527, allocations: 29.64 kB / 0.9408 GB, free: 14.68 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.902e-05/0.2527, allocations: 92.14 kB / 0.9409 GB, free: 14.58 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.595e-06/0.2527, allocations: 0 / 0.9409 GB, free: 14.58 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.466e-06/0.2528, allocations: 0 / 0.9409 GB, free: 14.58 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 5.808e-05/0.2528, allocations: 314.8 kB / 0.9412 GB, free: 14.27 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.836e-05/0.2529, allocations: 8 kB / 0.9412 GB, free: 14.26 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.198e-05/0.2529, allocations: 8 kB / 0.9412 GB, free: 14.25 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.331e-05/0.2529, allocations: 4 kB / 0.9412 GB, free: 14.25 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.2529, allocations: 0 / 0.9412 GB, free: 14.25 MB / 0.5886 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001431/0.2531, allocations: 57.47 kB / 0.9412 GB, free: 14.18 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.2531, allocations: 4 kB / 0.9412 GB, free: 14.18 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.405e-05/0.2532, allocations: 8 kB / 0.9412 GB, free: 14.17 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.2532, allocations: 0 / 0.9412 GB, free: 14.17 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.593e-06/0.2532, allocations: 3.938 kB / 0.9413 GB, free: 14.17 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.2532, allocations: 0 / 0.9413 GB, free: 14.17 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.694e-05/0.2532, allocations: 4.047 kB / 0.9413 GB, free: 14.16 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.155e-06/0.2533, allocations: 4.062 kB / 0.9413 GB, free: 14.16 MB / 0.5886 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.221e-05/0.2533, allocations: 185.1 kB / 0.9414 GB, free: 13.97 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.024e-05/0.2534, allocations: 112.8 kB / 0.9415 GB, free: 13.85 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.801e-05/0.2535, allocations: 120.8 kB / 0.9417 GB, free: 13.72 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.073e-05/0.2535, allocations: 176.3 kB / 0.9418 GB, free: 13.54 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.315e-05/0.2535, allocations: 180.2 kB / 0.942 GB, free: 13.36 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.017e-05/0.2536, allocations: 180.3 kB / 0.9422 GB, free: 13.18 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001725/0.2538, allocations: 421.1 kB / 0.9426 GB, free: 12.71 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.947e-05/0.2538, allocations: 104.9 kB / 0.9427 GB, free: 12.6 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.871e-05/0.2538, allocations: 101 kB / 0.9428 GB, free: 12.49 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.214e-05/0.2539, allocations: 184.2 kB / 0.9429 GB, free: 12.3 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.385e-05/0.2539, allocations: 180.3 kB / 0.9431 GB, free: 12.12 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.127e-05/0.2539, allocations: 180.2 kB / 0.9433 GB, free: 11.94 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.092e-05/0.254, allocations: 180.2 kB / 0.9435 GB, free: 11.75 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.149e-05/0.2541, allocations: 311.7 kB / 0.9438 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 4.764e-05/0.2541, allocations: 182 kB / 0.9439 GB, free: 11.22 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.621e-05/0.2542, allocations: 192.2 kB / 0.9441 GB, free: 11.03 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.89e-05/0.2543, allocations: 109.3 kB / 0.9442 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.49e-05/0.2543, allocations: 176.3 kB / 0.9444 GB, free: 10.73 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.212e-05/0.2543, allocations: 104.9 kB / 0.9445 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 6.196e-05/0.2544, allocations: 99.83 kB / 0.9446 GB, free: 10.53 MB / 0.5886 GB Notification: Performance of sort global known variables: time 3.5e-07/0.2544, allocations: 0 / 0.9446 GB, free: 10.53 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0009262/0.2554, allocations: 287.8 kB / 0.9449 GB, free: 10.25 MB / 0.5886 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001445/0.2568, allocations: 0.5259 MB / 0.9454 GB, free: 9.719 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.000127/0.257, allocations: 37.7 kB / 0.9454 GB, free: 9.676 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.257, allocations: 0 / 0.9454 GB, free: 9.676 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 2.805e-06/0.257, allocations: 4 kB / 0.9454 GB, free: 9.672 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003995/0.2574, allocations: 0.5341 MB / 0.9459 GB, free: 9.133 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002993/0.2577, allocations: 261 kB / 0.9462 GB, free: 8.855 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001225/0.2579, allocations: 0.6809 MB / 0.9468 GB, free: 8.148 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 1.61e-05/0.2579, allocations: 0 / 0.9468 GB, free: 8.148 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.304e-05/0.2579, allocations: 11.44 kB / 0.9469 GB, free: 8.137 MB / 0.5886 GB Notification: Performance of SimCode: time 8.12e-07/0.2579, allocations: 0 / 0.9469 GB, free: 8.137 MB / 0.5886 GB Notification: Performance of Templates: time 0.01256/0.2705, allocations: 5.525 MB / 0.9523 GB, free: 2.656 MB / 0.5886 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & ./Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1)