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.01157/0.01157, allocations: 102.3 kB / 15.73 MB, free: 6.055 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.001599/0.001599, allocations: 191 kB / 16.67 MB, free: 5.969 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.602/1.602, allocations: 205.1 MB / 222.5 MB, free: 4.484 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.657/1.657, allocations: 251.7 MB / 0.5094 GB, free: 3.082 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.001343/0.001343, allocations: 63.91 kB / 0.7259 GB, free: 9.125 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2241/0.2255, allocations: 104.7 MB / 0.8281 GB, free: 328 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002623/0.2281, allocations: 1.444 MB / 0.8295 GB, free: 14.87 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.004485/0.2326, allocations: 2.984 MB / 0.8324 GB, free: 11.86 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.463e-05/0.2327, allocations: 0 / 0.8324 GB, free: 11.86 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.715e-05/0.2327, allocations: 7.922 kB / 0.8324 GB, free: 11.86 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 6.266e-05/0.2328, allocations: 11.88 kB / 0.8325 GB, free: 11.84 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.00421/0.2371, allocations: 1.656 MB / 0.8341 GB, free: 10.21 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 8.69e-05/0.2372, allocations: 43.72 kB / 0.8341 GB, free: 10.16 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 3.825e-05/0.2372, allocations: 7.906 kB / 0.8341 GB, free: 10.16 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 2.665e-05/0.2372, allocations: 11.94 kB / 0.8341 GB, free: 10.14 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 3.826e-05/0.2373, allocations: 23.86 kB / 0.8342 GB, free: 10.12 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 9.398e-06/0.2373, allocations: 0 / 0.8342 GB, free: 10.12 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002391/0.2397, allocations: 1.544 MB / 0.8357 GB, free: 8.574 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.852e-05/0.2397, allocations: 8 kB / 0.8357 GB, free: 8.566 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.023e-05/0.2398, allocations: 19.88 kB / 0.8357 GB, free: 8.547 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001947/0.2417, allocations: 1.123 MB / 0.8368 GB, free: 7.422 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.875e-06/0.2417, allocations: 0 / 0.8368 GB, free: 7.422 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.883e-06/0.2417, allocations: 3.938 kB / 0.8368 GB, free: 7.418 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.981e-06/0.2417, allocations: 0 / 0.8368 GB, free: 7.418 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.0008321/0.2426, allocations: 0.5146 MB / 0.8373 GB, free: 6.855 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.2426, allocations: 8.031 kB / 0.8373 GB, free: 6.848 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.439e-05/0.2427, allocations: 88.06 kB / 0.8374 GB, free: 6.762 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001607/0.2429, allocations: 259.5 kB / 0.8376 GB, free: 6.469 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.605e-05/0.2429, allocations: 154.9 kB / 0.8378 GB, free: 6.316 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.516e-05/0.243, allocations: 150.9 kB / 0.8379 GB, free: 6.168 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.14e-05/0.2431, allocations: 109.1 kB / 0.838 GB, free: 6.055 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.471e-05/0.2431, allocations: 75.28 kB / 0.8381 GB, free: 5.98 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.532e-05/0.2432, allocations: 150.6 kB / 0.8382 GB, free: 5.832 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.063e-05/0.2432, allocations: 154.6 kB / 0.8384 GB, free: 5.68 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.94e-05/0.2433, allocations: 158.5 kB / 0.8385 GB, free: 5.523 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003147/0.2436, allocations: 461.9 kB / 0.839 GB, free: 5.023 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 8.779e-05/0.2437, allocations: 165.1 kB / 0.8391 GB, free: 4.852 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.365e-05/0.2437, allocations: 88.14 kB / 0.8392 GB, free: 4.762 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.644e-05/0.2438, allocations: 79.28 kB / 0.8393 GB, free: 4.684 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.323e-05/0.2438, allocations: 117.7 kB / 0.8394 GB, free: 4.559 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.2438, allocations: 0 / 0.8394 GB, free: 4.559 MB / 0.6544 GB Notification: Performance of matching and sorting (n=0): time 7.543e-05/0.2439, allocations: 33.61 kB / 0.8394 GB, free: 4.52 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.508e-05/0.244, allocations: 126.7 kB / 0.8396 GB, free: 4.383 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001385/0.2441, allocations: 137.8 kB / 0.8397 GB, free: 4.238 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.369e-05/0.2441, allocations: 25.7 kB / 0.8397 GB, free: 4.207 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.768e-05/0.2442, allocations: 88.12 kB / 0.8398 GB, free: 4.117 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.205e-06/0.2442, allocations: 0 / 0.8398 GB, free: 4.117 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.513e-05/0.2442, allocations: 21.72 kB / 0.8398 GB, free: 4.09 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001136/0.2444, allocations: 310.8 kB / 0.8401 GB, free: 3.777 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.8e-05/0.2444, allocations: 11.98 kB / 0.8401 GB, free: 3.766 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.691e-05/0.2444, allocations: 4 kB / 0.8401 GB, free: 3.762 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.999e-05/0.2445, allocations: 20.83 kB / 0.8402 GB, free: 3.738 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.2445, allocations: 0 / 0.8402 GB, free: 3.738 MB / 0.6544 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.00013/0.2446, allocations: 53.55 kB / 0.8402 GB, free: 3.68 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.2446, allocations: 6.656 kB / 0.8402 GB, free: 3.676 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.191e-05/0.2446, allocations: 7.984 kB / 0.8402 GB, free: 3.668 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.2447, allocations: 0 / 0.8402 GB, free: 3.668 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.21e-07/0.2447, allocations: 0 / 0.8402 GB, free: 3.668 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.2447, allocations: 4 kB / 0.8402 GB, free: 3.664 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.185e-05/0.2447, allocations: 3.938 kB / 0.8402 GB, free: 3.66 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.785e-06/0.2447, allocations: 0 / 0.8402 GB, free: 3.66 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.951e-05/0.2448, allocations: 189.2 kB / 0.8404 GB, free: 3.465 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.312e-05/0.2449, allocations: 116.8 kB / 0.8405 GB, free: 3.344 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.393e-05/0.245, allocations: 112.8 kB / 0.8406 GB, free: 3.219 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.294e-05/0.245, allocations: 176.3 kB / 0.8408 GB, free: 3.039 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.329e-05/0.2451, allocations: 180.2 kB / 0.841 GB, free: 2.855 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.497e-05/0.2452, allocations: 184.3 kB / 0.8412 GB, free: 2.668 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002443/0.2454, allocations: 417.1 kB / 0.8415 GB, free: 2.203 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.8e-05/0.2455, allocations: 116.8 kB / 0.8417 GB, free: 2.082 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.808e-05/0.2455, allocations: 104.9 kB / 0.8418 GB, free: 1.973 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.599e-05/0.2456, allocations: 176.3 kB / 0.8419 GB, free: 1.793 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.004e-05/0.2457, allocations: 180.3 kB / 0.8421 GB, free: 1.609 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.271e-05/0.2457, allocations: 196.3 kB / 0.8423 GB, free: 1.41 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.802e-05/0.2458, allocations: 176.3 kB / 0.8425 GB, free: 1.23 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001303/0.2459, allocations: 307.7 kB / 0.8427 GB, free: 0.9062 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 8.163e-05/0.246, allocations: 193.9 kB / 0.8429 GB, free: 0.6914 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.63e-05/0.2461, allocations: 188.2 kB / 0.8431 GB, free: 0.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.26e-05/0.2462, allocations: 101 kB / 0.8432 GB, free: 404 kB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.069e-05/0.2463, allocations: 180.2 kB / 0.8434 GB, free: 216 kB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.119e-05/0.2463, allocations: 105 kB / 0.8435 GB, free: 104 kB / 0.6544 GB Notification: Performance of sorting global known variables: time 5.965e-05/0.2464, allocations: 99.27 kB / 0.8436 GB, free: 4 kB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2464, allocations: 0 / 0.8436 GB, free: 4 kB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0007959/0.2472, allocations: 283.9 kB / 0.8438 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.001221/0.2484, allocations: 0.552 MB / 0.8444 GB, free: 15.17 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0001029/0.2485, allocations: 45.69 kB / 0.8444 GB, free: 15.12 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.2485, allocations: 64 / 0.8444 GB, free: 15.12 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 3.306e-06/0.2485, allocations: 8.281 kB / 0.8444 GB, free: 15.11 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004102/0.249, allocations: 463.6 kB / 0.8449 GB, free: 14.66 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003278/0.2493, allocations: 236.2 kB / 0.8451 GB, free: 14.4 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002514/0.2496, allocations: 0.6883 MB / 0.8458 GB, free: 13.68 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 1.574e-05/0.2496, allocations: 7.938 kB / 0.8458 GB, free: 13.68 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.295e-05/0.2496, allocations: 7.438 kB / 0.8458 GB, free: 13.67 MB / 0.67 GB Notification: Performance of SimCode: time 2.2e-07/0.2496, allocations: 0 / 0.8458 GB, free: 13.67 MB / 0.67 GB Notification: Performance of Templates: time 0.01005/0.2597, allocations: 5.73 MB / 0.8514 GB, free: 7.992 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)