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.001312/0.001312, allocations: 101.9 kB / 16.29 MB, free: 6.371 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.001271/0.001271, allocations: 187.4 kB / 17.22 MB, free: 5.934 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.553/1.553, allocations: 205.1 MB / 223.1 MB, free: 12.29 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.838/1.838, allocations: 292.3 MB / 0.5495 GB, free: 17.56 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.001665/0.001665, allocations: 67.91 kB / 0.6723 GB, free: 6.461 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.262/0.2637, allocations: 114.6 MB / 0.7841 GB, free: 3.789 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002624/0.2664, allocations: 1.435 MB / 0.7855 GB, free: 2.34 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.4697/0.7362, allocations: 2.97 MB / 0.7884 GB, free: 46.51 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.431e-05/0.7363, allocations: 0 / 0.7884 GB, free: 46.51 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.694e-05/0.7364, allocations: 6.891 kB / 0.7884 GB, free: 46.51 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 8.039e-05/0.7365, allocations: 13.3 kB / 0.7885 GB, free: 46.51 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.004146/0.7406, allocations: 1.647 MB / 0.7901 GB, free: 46.45 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 7.778e-05/0.7407, allocations: 41.67 kB / 0.7901 GB, free: 46.45 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 5.051e-05/0.7408, allocations: 4.031 kB / 0.7901 GB, free: 46.45 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 3.208e-05/0.7408, allocations: 15.41 kB / 0.7901 GB, free: 46.45 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 3.28e-05/0.7408, allocations: 22.09 kB / 0.7901 GB, free: 46.44 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.225e-05/0.7409, allocations: 1.969 kB / 0.7901 GB, free: 46.44 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002007/0.7429, allocations: 1.555 MB / 0.7917 GB, free: 46.43 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.35e-05/0.7429, allocations: 3.938 kB / 0.7917 GB, free: 46.43 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.047e-05/0.7429, allocations: 20.38 kB / 0.7917 GB, free: 46.42 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001336/0.7443, allocations: 1.123 MB / 0.7928 GB, free: 46.36 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.7443, allocations: 0 / 0.7928 GB, free: 46.36 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.613e-06/0.7443, allocations: 0 / 0.7928 GB, free: 46.36 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.462e-06/0.7443, allocations: 0 / 0.7928 GB, free: 46.36 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.0004968/0.7448, allocations: 0.5171 MB / 0.7933 GB, free: 45.89 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.7449, allocations: 15.02 kB / 0.7933 GB, free: 45.88 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.645e-05/0.7449, allocations: 79.34 kB / 0.7934 GB, free: 45.81 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001032/0.745, allocations: 258.6 kB / 0.7936 GB, free: 45.53 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.327e-05/0.7451, allocations: 155.9 kB / 0.7938 GB, free: 45.38 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.309e-05/0.7451, allocations: 155.2 kB / 0.7939 GB, free: 45.23 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.353e-05/0.7452, allocations: 105.3 kB / 0.794 GB, free: 45.12 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.436e-05/0.7452, allocations: 78.28 kB / 0.7941 GB, free: 45.05 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.752e-05/0.7452, allocations: 157.1 kB / 0.7942 GB, free: 44.9 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.396e-05/0.7452, allocations: 151.1 kB / 0.7944 GB, free: 44.75 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.755e-05/0.7453, allocations: 155.2 kB / 0.7945 GB, free: 44.6 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000231/0.7455, allocations: 463.7 kB / 0.795 GB, free: 44.12 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 5.817e-05/0.7456, allocations: 165.1 kB / 0.7951 GB, free: 43.95 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.056e-05/0.7456, allocations: 83.92 kB / 0.7952 GB, free: 43.87 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.976e-05/0.7456, allocations: 76.66 kB / 0.7953 GB, free: 43.8 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.071e-05/0.7457, allocations: 122.8 kB / 0.7954 GB, free: 43.68 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=0): time 2.014e-06/0.7457, allocations: 1.594 kB / 0.7954 GB, free: 43.68 MB / 0.6544 GB Notification: Performance of matching and sorting (n=0): time 7.077e-05/0.7457, allocations: 30.14 kB / 0.7954 GB, free: 43.64 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.678e-05/0.7458, allocations: 127.3 kB / 0.7956 GB, free: 43.51 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001093/0.7459, allocations: 130.7 kB / 0.7957 GB, free: 43.41 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 7.725e-06/0.7459, allocations: 32.61 kB / 0.7957 GB, free: 43.38 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.634e-05/0.746, allocations: 94.38 kB / 0.7958 GB, free: 43.29 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.254e-06/0.746, allocations: 0 / 0.7958 GB, free: 43.29 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.751e-05/0.746, allocations: 16.28 kB / 0.7958 GB, free: 43.28 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.173e-05/0.7461, allocations: 317.1 kB / 0.7961 GB, free: 42.96 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.199e-05/0.7461, allocations: 7.125 kB / 0.7961 GB, free: 42.96 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.683e-05/0.7461, allocations: 6.75 kB / 0.7961 GB, free: 42.96 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.596e-05/0.7462, allocations: 23.19 kB / 0.7962 GB, free: 42.96 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.7462, allocations: 0 / 0.7962 GB, free: 42.96 MB / 0.6544 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001261/0.7463, allocations: 55.45 kB / 0.7962 GB, free: 42.92 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/0.7463, allocations: 4.688 kB / 0.7962 GB, free: 42.92 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.967e-05/0.7463, allocations: 3.438 kB / 0.7962 GB, free: 42.92 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.7464, allocations: 0 / 0.7962 GB, free: 42.92 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.813e-06/0.7464, allocations: 3.281 kB / 0.7962 GB, free: 42.92 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.7464, allocations: 0 / 0.7962 GB, free: 42.92 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.129e-05/0.7464, allocations: 9.719 kB / 0.7962 GB, free: 42.91 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.492e-06/0.7464, allocations: 0 / 0.7962 GB, free: 42.91 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 6.974e-05/0.7465, allocations: 185.4 kB / 0.7964 GB, free: 42.73 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.563e-05/0.7465, allocations: 119.1 kB / 0.7965 GB, free: 42.61 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.604e-05/0.7466, allocations: 108.6 kB / 0.7966 GB, free: 42.51 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.22e-05/0.7466, allocations: 178.6 kB / 0.7968 GB, free: 42.33 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.862e-05/0.7467, allocations: 192.2 kB / 0.797 GB, free: 42.14 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.652e-05/0.7467, allocations: 179.6 kB / 0.7972 GB, free: 41.96 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000156/0.7469, allocations: 412.2 kB / 0.7975 GB, free: 41.52 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-05/0.7469, allocations: 106 kB / 0.7976 GB, free: 41.41 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.159e-05/0.7469, allocations: 111.5 kB / 0.7978 GB, free: 41.3 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.409e-05/0.747, allocations: 184.9 kB / 0.7979 GB, free: 41.12 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.239e-05/0.747, allocations: 180.5 kB / 0.7981 GB, free: 40.94 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.094e-05/0.747, allocations: 178.1 kB / 0.7983 GB, free: 40.76 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.913e-05/0.7471, allocations: 181.6 kB / 0.7984 GB, free: 40.58 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.807e-05/0.7471, allocations: 313.2 kB / 0.7987 GB, free: 40.27 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.464e-05/0.7472, allocations: 189.3 kB / 0.7989 GB, free: 40.06 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.084e-05/0.7472, allocations: 176.3 kB / 0.7991 GB, free: 39.88 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.142e-05/0.7473, allocations: 110.8 kB / 0.7992 GB, free: 39.78 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.689e-05/0.7473, allocations: 179.9 kB / 0.7994 GB, free: 39.6 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.854e-05/0.7474, allocations: 104.7 kB / 0.7995 GB, free: 39.49 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.559e-05/0.7474, allocations: 110.2 kB / 0.7996 GB, free: 39.41 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7474, allocations: 3.938 kB / 0.7996 GB, free: 39.41 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0006939/0.7481, allocations: 274.9 kB / 0.7998 GB, free: 39.36 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.001039/0.7492, allocations: 0.562 MB / 0.8004 GB, free: 39.13 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 9.668e-05/0.7493, allocations: 45.91 kB / 0.8004 GB, free: 39.1 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.7493, allocations: 0 / 0.8004 GB, free: 39.1 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 1.443e-06/0.7493, allocations: 0 / 0.8004 GB, free: 39.1 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003229/0.7496, allocations: 460.1 kB / 0.8009 GB, free: 38.65 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002706/0.7499, allocations: 250.3 kB / 0.8011 GB, free: 38.45 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000129/0.75, allocations: 0.6825 MB / 0.8018 GB, free: 37.75 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 1.171e-05/0.7501, allocations: 3.469 kB / 0.8018 GB, free: 37.75 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.688e-06/0.7501, allocations: 8.188 kB / 0.8018 GB, free: 37.75 MB / 0.6544 GB Notification: Performance of SimCode: time 2.41e-07/0.7501, allocations: 0 / 0.8018 GB, free: 37.75 MB / 0.6544 GB Notification: Performance of Templates: time 0.01153/0.7616, allocations: 5.741 MB / 0.8074 GB, free: 37.39 MB / 0.6544 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 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1)