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.InternalResistancesTwoUTube.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.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00124/0.001239, allocations: 105.8 kB / 16.29 MB, free: 6.027 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.001356/0.001356, allocations: 184.6 kB / 17.22 MB, free: 5.633 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.522/1.522, allocations: 205.1 MB / 223.1 MB, free: 12.32 MB / 190.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.849/1.849, allocations: 292.3 MB / 0.5495 GB, free: 17.53 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.001381/0.001381, allocations: 63.91 kB / 0.6723 GB, free: 6.508 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2519/0.2533, allocations: 114.6 MB / 0.7841 GB, free: 3.84 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002474/0.2558, allocations: 1.439 MB / 0.7855 GB, free: 2.383 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.4109/0.6668, allocations: 2.966 MB / 0.7884 GB, free: 46.57 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.434e-05/0.6669, allocations: 0 / 0.7884 GB, free: 46.57 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.518e-05/0.667, allocations: 5.062 kB / 0.7884 GB, free: 46.57 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 7.778e-05/0.667, allocations: 19.86 kB / 0.7885 GB, free: 46.57 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 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.004011/0.6711, allocations: 1.659 MB / 0.7901 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 8.012e-05/0.6712, allocations: 39.88 kB / 0.7901 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.565e-05/0.6712, allocations: 4.25 kB / 0.7901 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 3.027e-05/0.6712, allocations: 19.05 kB / 0.7901 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 3.078e-05/0.6713, allocations: 15.66 kB / 0.7902 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.038e-05/0.6713, allocations: 2.625 kB / 0.7902 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002097/0.6734, allocations: 1.551 MB / 0.7917 GB, free: 46.49 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.787e-05/0.6734, allocations: 7.625 kB / 0.7917 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.23e-05/0.6735, allocations: 21.23 kB / 0.7917 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001345/0.6748, allocations: 1.124 MB / 0.7928 GB, free: 46.42 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.6748, allocations: 0 / 0.7928 GB, free: 46.42 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.023e-06/0.6748, allocations: 0 / 0.7928 GB, free: 46.42 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.031e-06/0.6749, allocations: 0 / 0.7928 GB, free: 46.42 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.000479/0.6753, allocations: 0.5179 MB / 0.7933 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.6754, allocations: 7.875 kB / 0.7933 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.357e-05/0.6754, allocations: 79.97 kB / 0.7934 GB, free: 45.87 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000119/0.6756, allocations: 258.3 kB / 0.7936 GB, free: 45.59 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.062e-05/0.6756, allocations: 156.3 kB / 0.7938 GB, free: 45.44 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.951e-05/0.6756, allocations: 150.9 kB / 0.7939 GB, free: 45.29 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.228e-05/0.6757, allocations: 109.2 kB / 0.794 GB, free: 45.18 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.364e-05/0.6757, allocations: 76.12 kB / 0.7941 GB, free: 45.11 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.631e-05/0.6757, allocations: 154.6 kB / 0.7942 GB, free: 44.96 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.182e-05/0.6757, allocations: 151.3 kB / 0.7944 GB, free: 44.81 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.393e-05/0.6758, allocations: 156.1 kB / 0.7945 GB, free: 44.66 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001858/0.676, allocations: 463.5 kB / 0.795 GB, free: 44.19 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 4.548e-05/0.676, allocations: 171.5 kB / 0.7951 GB, free: 44.02 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.687e-05/0.676, allocations: 81.27 kB / 0.7952 GB, free: 43.93 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.286e-05/0.6761, allocations: 79.73 kB / 0.7953 GB, free: 43.86 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.45e-05/0.6761, allocations: 110.8 kB / 0.7954 GB, free: 43.74 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=0): time 8.71e-07/0.6761, allocations: 3.469 kB / 0.7954 GB, free: 43.74 MB / 0.6544 GB Notification: Performance of matching and sorting (n=0): time 6.681e-05/0.6762, allocations: 32.23 kB / 0.7954 GB, free: 43.71 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.552e-05/0.6762, allocations: 130.8 kB / 0.7956 GB, free: 43.57 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001135/0.6763, allocations: 136.3 kB / 0.7957 GB, free: 43.47 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 9.357e-06/0.6763, allocations: 25.7 kB / 0.7957 GB, free: 43.44 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.599e-05/0.6764, allocations: 90.2 kB / 0.7958 GB, free: 43.36 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.196e-06/0.6764, allocations: 0 / 0.7958 GB, free: 43.36 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.87e-05/0.6764, allocations: 22.52 kB / 0.7958 GB, free: 43.34 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.636e-05/0.6765, allocations: 317.3 kB / 0.7961 GB, free: 43.03 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.301e-05/0.6765, allocations: 9.547 kB / 0.7961 GB, free: 43.03 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.526e-05/0.6765, allocations: 6.75 kB / 0.7961 GB, free: 43.03 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.48e-05/0.6766, allocations: 18.58 kB / 0.7962 GB, free: 43.02 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.6766, allocations: 0 / 0.7962 GB, free: 43.02 MB / 0.6544 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001151/0.6767, allocations: 52.58 kB / 0.7962 GB, free: 42.98 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.6767, allocations: 6.688 kB / 0.7962 GB, free: 42.98 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.827e-05/0.6768, allocations: 3.5 kB / 0.7962 GB, free: 42.98 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.6768, allocations: 0 / 0.7962 GB, free: 42.98 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.002e-06/0.6768, allocations: 0 / 0.7962 GB, free: 42.98 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.6768, allocations: 0.5938 kB / 0.7962 GB, free: 42.98 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.169e-05/0.6768, allocations: 10.31 kB / 0.7962 GB, free: 42.98 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.855e-06/0.6768, allocations: 9.344 kB / 0.7962 GB, free: 42.97 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 5.664e-05/0.6769, allocations: 182 kB / 0.7964 GB, free: 42.79 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.032e-05/0.6769, allocations: 116.4 kB / 0.7965 GB, free: 42.67 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.912e-05/0.677, allocations: 113.8 kB / 0.7966 GB, free: 42.57 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.66e-05/0.677, allocations: 176.3 kB / 0.7968 GB, free: 42.39 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.269e-05/0.677, allocations: 193.4 kB / 0.797 GB, free: 42.2 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.422e-05/0.6771, allocations: 176.3 kB / 0.7972 GB, free: 42.02 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001444/0.6772, allocations: 414.9 kB / 0.7976 GB, free: 41.58 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.81e-05/0.6772, allocations: 108 kB / 0.7977 GB, free: 41.47 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.571e-05/0.6773, allocations: 104.9 kB / 0.7978 GB, free: 41.36 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.42e-05/0.6773, allocations: 179.6 kB / 0.7979 GB, free: 41.18 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.251e-05/0.6773, allocations: 188 kB / 0.7981 GB, free: 41 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-05/0.6774, allocations: 178.9 kB / 0.7983 GB, free: 40.82 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-05/0.6774, allocations: 179.5 kB / 0.7984 GB, free: 40.64 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.799e-05/0.6775, allocations: 309.6 kB / 0.7987 GB, free: 40.33 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 5.323e-05/0.6775, allocations: 188.1 kB / 0.7989 GB, free: 40.12 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.114e-05/0.6776, allocations: 188.2 kB / 0.7991 GB, free: 39.94 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.132e-05/0.6776, allocations: 104.1 kB / 0.7992 GB, free: 39.84 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.884e-05/0.6777, allocations: 180.1 kB / 0.7994 GB, free: 39.66 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.368e-05/0.6777, allocations: 103.4 kB / 0.7995 GB, free: 39.55 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.362e-05/0.6777, allocations: 103.3 kB / 0.7996 GB, free: 39.48 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/0.6777, allocations: 0 / 0.7996 GB, free: 39.48 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000644/0.6784, allocations: 287.5 kB / 0.7998 GB, free: 39.42 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 (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.00109/0.6795, allocations: 0.5519 MB / 0.8004 GB, free: 39.2 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001116/0.6796, allocations: 43.73 kB / 0.8004 GB, free: 39.16 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.6796, allocations: 3.375 kB / 0.8004 GB, free: 39.16 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 1.563e-06/0.6796, allocations: 1.594 kB / 0.8004 GB, free: 39.16 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003275/0.68, allocations: 466.1 kB / 0.8009 GB, free: 38.71 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003036/0.6803, allocations: 244.5 kB / 0.8011 GB, free: 38.51 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001471/0.6804, allocations: 0.6823 MB / 0.8018 GB, free: 37.81 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 1.559e-05/0.6805, allocations: 4.547 kB / 0.8018 GB, free: 37.81 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.515e-05/0.6805, allocations: 14.56 kB / 0.8018 GB, free: 37.8 MB / 0.6544 GB Notification: Performance of SimCode: time 4.21e-07/0.6805, allocations: 0 / 0.8018 GB, free: 37.8 MB / 0.6544 GB Notification: Performance of Templates: time 0.01228/0.6928, allocations: 5.73 MB / 0.8074 GB, free: 37.45 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & ./Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1)