Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_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_8_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.001425/0.001426, allocations: 105.4 kB / 15.7 MB, free: 24 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001826/0.001826, allocations: 200.2 kB / 16.64 MB, free: 6.453 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.543/1.543, allocations: 205.1 MB / 222.5 MB, free: 4.555 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.879/1.879, allocations: 292.3 MB / 0.549 GB, free: 12.75 MB / 462.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.001436/0.001436, allocations: 76.03 kB / 0.6723 GB, free: 25.99 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2404/0.2419, allocations: 114.5 MB / 0.7842 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002531/0.2444, allocations: 1.435 MB / 0.7856 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004322/0.2488, allocations: 2.974 MB / 0.7885 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.041e-05/0.2489, allocations: 0 / 0.7885 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.174e-05/0.2489, allocations: 3.938 kB / 0.7885 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.833e-05/0.249, allocations: 23.78 kB / 0.7885 GB, free: 8.227 MB / 0.6075 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 8.1.4-maint.8.1.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.004032/0.2531, allocations: 1.649 MB / 0.7901 GB, free: 6.598 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.243e-05/0.2532, allocations: 39.69 kB / 0.7902 GB, free: 6.559 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.365e-05/0.2532, allocations: 11.98 kB / 0.7902 GB, free: 6.547 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.602e-05/0.2532, allocations: 11.94 kB / 0.7902 GB, free: 6.535 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 2.679e-05/0.2533, allocations: 15.94 kB / 0.7902 GB, free: 6.52 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.058e-05/0.2533, allocations: 0 / 0.7902 GB, free: 6.52 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002263/0.2556, allocations: 1.548 MB / 0.7917 GB, free: 4.969 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.675e-05/0.2556, allocations: 15.92 kB / 0.7917 GB, free: 4.953 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.205e-05/0.2556, allocations: 19.88 kB / 0.7918 GB, free: 4.934 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001385/0.257, allocations: 1.115 MB / 0.7928 GB, free: 3.816 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.257, allocations: 0 / 0.7928 GB, free: 3.816 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.703e-06/0.257, allocations: 0 / 0.7928 GB, free: 3.816 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.2571, allocations: 0 / 0.7928 GB, free: 3.816 MB / 0.6075 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.0006056/0.2577, allocations: 0.5223 MB / 0.7934 GB, free: 3.246 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.2577, allocations: 11.98 kB / 0.7934 GB, free: 3.234 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.624e-05/0.2578, allocations: 92.14 kB / 0.7935 GB, free: 3.145 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001588/0.258, allocations: 247.6 kB / 0.7937 GB, free: 2.863 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.556e-05/0.258, allocations: 150.9 kB / 0.7938 GB, free: 2.715 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.559e-05/0.2581, allocations: 154.9 kB / 0.794 GB, free: 2.562 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.544e-05/0.2582, allocations: 109.1 kB / 0.7941 GB, free: 2.449 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.518e-05/0.2582, allocations: 75.28 kB / 0.7942 GB, free: 2.375 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.817e-05/0.2583, allocations: 154.6 kB / 0.7943 GB, free: 2.223 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.164e-05/0.2584, allocations: 158.5 kB / 0.7945 GB, free: 2.066 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.029e-05/0.2584, allocations: 154.5 kB / 0.7946 GB, free: 1.914 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003424/0.2588, allocations: 473.8 kB / 0.7951 GB, free: 1.402 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 9.329e-05/0.2589, allocations: 169.1 kB / 0.7952 GB, free: 1.227 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.49e-05/0.2589, allocations: 88.12 kB / 0.7953 GB, free: 1.137 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.635e-05/0.2589, allocations: 75.28 kB / 0.7954 GB, free: 1.062 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.271e-05/0.259, allocations: 113.8 kB / 0.7955 GB, free: 0.9414 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 8.01e-07/0.259, allocations: 0 / 0.7955 GB, free: 0.9414 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 7.526e-05/0.2591, allocations: 29.64 kB / 0.7955 GB, free: 0.9062 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.873e-05/0.2592, allocations: 126.7 kB / 0.7956 GB, free: 0.7695 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001439/0.2593, allocations: 144.7 kB / 0.7958 GB, free: 0.6211 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.322e-05/0.2593, allocations: 25.7 kB / 0.7958 GB, free: 0.5898 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.427e-05/0.2594, allocations: 100.1 kB / 0.7959 GB, free: 500 kB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.144e-06/0.2594, allocations: 0 / 0.7959 GB, free: 500 kB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.377e-05/0.2595, allocations: 13.72 kB / 0.7959 GB, free: 480 kB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001141/0.2596, allocations: 318.8 kB / 0.7962 GB, free: 152 kB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.627e-05/0.2596, allocations: 4 kB / 0.7962 GB, free: 148 kB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.009e-05/0.2596, allocations: 8 kB / 0.7962 GB, free: 140 kB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.294e-05/0.2597, allocations: 16.89 kB / 0.7962 GB, free: 120 kB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.2597, allocations: 3.938 kB / 0.7962 GB, free: 116 kB / 0.6075 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001653/0.2599, allocations: 49.55 kB / 0.7963 GB, free: 60 kB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.2599, allocations: 8 kB / 0.7963 GB, free: 52 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.182e-05/0.2599, allocations: 3.984 kB / 0.7963 GB, free: 48 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.824e-05/0.2599, allocations: 4 kB / 0.7963 GB, free: 44 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.173e-06/0.2599, allocations: 0 / 0.7963 GB, free: 44 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.26, allocations: 0 / 0.7963 GB, free: 44 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.411e-05/0.26, allocations: 0 / 0.7963 GB, free: 44 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.03e-05/0.26, allocations: 0 / 0.7963 GB, free: 44 kB / 0.6075 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.0001172/0.2601, allocations: 193.2 kB / 0.7965 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.202e-05/0.2602, allocations: 112.8 kB / 0.7966 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.631e-05/0.2603, allocations: 112.8 kB / 0.7967 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.331e-05/0.2603, allocations: 176.3 kB / 0.7969 GB, free: 15.43 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.308e-05/0.2604, allocations: 188.2 kB / 0.797 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.388e-05/0.2605, allocations: 180.3 kB / 0.7972 GB, free: 15.05 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002815/0.2608, allocations: 413.1 kB / 0.7976 GB, free: 14.59 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.718e-05/0.2609, allocations: 113 kB / 0.7977 GB, free: 14.47 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.112e-05/0.2609, allocations: 104.9 kB / 0.7978 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.793e-05/0.261, allocations: 184.2 kB / 0.798 GB, free: 14.18 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.378e-05/0.2611, allocations: 176.3 kB / 0.7982 GB, free: 14 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.584e-05/0.2612, allocations: 192.2 kB / 0.7983 GB, free: 13.8 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.762e-05/0.2612, allocations: 180.2 kB / 0.7985 GB, free: 13.62 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001532/0.2614, allocations: 303.8 kB / 0.7988 GB, free: 13.3 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 9.5e-05/0.2615, allocations: 189.9 kB / 0.799 GB, free: 13.09 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.047e-05/0.2616, allocations: 188.2 kB / 0.7992 GB, free: 12.89 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.458e-05/0.2617, allocations: 101 kB / 0.7993 GB, free: 12.79 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.798e-05/0.2618, allocations: 180.3 kB / 0.7994 GB, free: 12.61 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.887e-05/0.2618, allocations: 108.9 kB / 0.7995 GB, free: 12.49 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 8.441e-05/0.2619, allocations: 95.27 kB / 0.7996 GB, free: 12.4 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2619, allocations: 0 / 0.7996 GB, free: 12.4 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0009121/0.2628, allocations: 287.8 kB / 0.7999 GB, free: 12.12 MB / 0.6231 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.001184/0.264, allocations: 0.5644 MB / 0.8005 GB, free: 11.55 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0001207/0.2641, allocations: 41.69 kB / 0.8005 GB, free: 11.51 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.716e-06/0.2641, allocations: 0 / 0.8005 GB, free: 11.51 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 4.629e-06/0.2642, allocations: 12 kB / 0.8005 GB, free: 11.5 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003896/0.2646, allocations: 463.6 kB / 0.8009 GB, free: 11.04 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003632/0.2649, allocations: 242.4 kB / 0.8012 GB, free: 10.78 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002198/0.2652, allocations: 0.6846 MB / 0.8018 GB, free: 10.07 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 1.365e-05/0.2652, allocations: 0 / 0.8018 GB, free: 10.07 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.151e-05/0.2652, allocations: 7.438 kB / 0.8019 GB, free: 10.06 MB / 0.6231 GB Notification: Performance of SimCode: time 2.11e-07/0.2652, allocations: 0 / 0.8019 GB, free: 10.06 MB / 0.6231 GB Notification: Performance of Templates: time 0.009602/0.2748, allocations: 5.742 MB / 0.8075 GB, free: 4.367 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.makefile (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & ./Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1)