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.00143/0.00143, allocations: 112.5 kB / 16.36 MB, free: 5.945 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.001638/0.001638, allocations: 197.1 kB / 17.3 MB, free: 5.559 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.35/1.35, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.755/1.755, allocations: 292.3 MB / 0.5496 GB, free: 17.48 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.001455/0.001455, allocations: 71.89 kB / 0.673 GB, free: 5.793 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2139/0.2154, allocations: 114.6 MB / 0.7848 GB, free: 3.129 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002786/0.2182, allocations: 1.432 MB / 0.7862 GB, free: 1.68 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.352/0.5703, allocations: 2.961 MB / 0.7891 GB, free: 46.45 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.944e-05/0.5704, allocations: 3.188 kB / 0.7891 GB, free: 46.45 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.651e-05/0.5704, allocations: 6.75 kB / 0.7891 GB, free: 46.45 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 6.259e-05/0.5705, allocations: 11.92 kB / 0.7892 GB, free: 46.45 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.003534/0.574, allocations: 1.65 MB / 0.7908 GB, free: 46.38 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 7.485e-05/0.5741, allocations: 47.58 kB / 0.7908 GB, free: 46.38 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.862e-05/0.5742, allocations: 4.188 kB / 0.7908 GB, free: 46.38 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 2.715e-05/0.5742, allocations: 18.45 kB / 0.7908 GB, free: 46.38 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 2.842e-05/0.5742, allocations: 15.75 kB / 0.7909 GB, free: 46.37 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.185e-05/0.5743, allocations: 0.625 kB / 0.7909 GB, free: 46.37 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001932/0.5762, allocations: 1.548 MB / 0.7924 GB, free: 46.36 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.803e-05/0.5762, allocations: 13.47 kB / 0.7924 GB, free: 46.36 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.202e-05/0.5763, allocations: 18.44 kB / 0.7924 GB, free: 46.35 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001252/0.5775, allocations: 1.123 MB / 0.7935 GB, free: 46.29 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.5775, allocations: 1.281 kB / 0.7935 GB, free: 46.29 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.462e-06/0.5776, allocations: 1.781 kB / 0.7935 GB, free: 46.29 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.5776, allocations: 0 / 0.7935 GB, free: 46.29 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.000462/0.578, allocations: 0.5179 MB / 0.794 GB, free: 45.82 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/0.5781, allocations: 16.36 kB / 0.794 GB, free: 45.82 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.012e-05/0.5781, allocations: 76.81 kB / 0.7941 GB, free: 45.74 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.194e-05/0.5782, allocations: 259 kB / 0.7943 GB, free: 45.46 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.267e-05/0.5783, allocations: 153.2 kB / 0.7945 GB, free: 45.31 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.893e-05/0.5783, allocations: 153 kB / 0.7946 GB, free: 45.16 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.873e-05/0.5783, allocations: 105.9 kB / 0.7947 GB, free: 45.05 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.5783, allocations: 77.41 kB / 0.7948 GB, free: 44.98 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.13e-05/0.5784, allocations: 151.7 kB / 0.7949 GB, free: 44.83 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.994e-05/0.5784, allocations: 154.2 kB / 0.7951 GB, free: 44.68 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.268e-05/0.5784, allocations: 161.6 kB / 0.7952 GB, free: 44.53 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001936/0.5786, allocations: 464.5 kB / 0.7957 GB, free: 44.05 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 4.085e-05/0.5787, allocations: 166 kB / 0.7959 GB, free: 43.88 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.456e-05/0.5787, allocations: 83.23 kB / 0.7959 GB, free: 43.8 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 9.748e-06/0.5787, allocations: 78.72 kB / 0.796 GB, free: 43.73 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.95e-05/0.5787, allocations: 115.4 kB / 0.7961 GB, free: 43.61 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=0): time 1.262e-06/0.5787, allocations: 7.375 kB / 0.7961 GB, free: 43.61 MB / 0.6544 GB Notification: Performance of matching and sorting (n=0): time 6.465e-05/0.5788, allocations: 36.95 kB / 0.7962 GB, free: 43.57 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.747e-05/0.5788, allocations: 129.1 kB / 0.7963 GB, free: 43.43 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001239/0.579, allocations: 132.1 kB / 0.7964 GB, free: 43.34 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 8.265e-06/0.579, allocations: 25.7 kB / 0.7964 GB, free: 43.3 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.204e-05/0.579, allocations: 93.41 kB / 0.7965 GB, free: 43.22 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.475e-06/0.579, allocations: 0 / 0.7965 GB, free: 43.22 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.725e-05/0.5791, allocations: 20.47 kB / 0.7965 GB, free: 43.21 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.033e-05/0.5791, allocations: 317.2 kB / 0.7968 GB, free: 42.89 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.196e-05/0.5791, allocations: 6.406 kB / 0.7968 GB, free: 42.89 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.466e-05/0.5792, allocations: 3.469 kB / 0.7969 GB, free: 42.89 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.398e-05/0.5792, allocations: 15.7 kB / 0.7969 GB, free: 42.89 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.5792, allocations: 3.422 kB / 0.7969 GB, free: 42.89 MB / 0.6544 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001132/0.5793, allocations: 53.42 kB / 0.7969 GB, free: 42.85 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.5794, allocations: 7 kB / 0.7969 GB, free: 42.85 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.85e-05/0.5794, allocations: 3.406 kB / 0.7969 GB, free: 42.85 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.5794, allocations: 3.438 kB / 0.7969 GB, free: 42.85 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.22e-07/0.5794, allocations: 0 / 0.7969 GB, free: 42.85 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.5794, allocations: 1.781 kB / 0.7969 GB, free: 42.85 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.262e-05/0.5794, allocations: 6.094 kB / 0.7969 GB, free: 42.84 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.635e-06/0.5795, allocations: 3.797 kB / 0.7969 GB, free: 42.84 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.501e-05/0.5795, allocations: 189.8 kB / 0.7971 GB, free: 42.66 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.939e-05/0.5796, allocations: 115.9 kB / 0.7972 GB, free: 42.54 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.525e-05/0.5796, allocations: 112.9 kB / 0.7973 GB, free: 42.43 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.559e-05/0.5796, allocations: 185.2 kB / 0.7975 GB, free: 42.25 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.512e-05/0.5796, allocations: 177.9 kB / 0.7977 GB, free: 42.07 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-05/0.5797, allocations: 180.8 kB / 0.7979 GB, free: 41.89 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001359/0.5798, allocations: 416 kB / 0.7983 GB, free: 41.45 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.615e-05/0.5798, allocations: 108.2 kB / 0.7984 GB, free: 41.34 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.47e-05/0.5799, allocations: 108.4 kB / 0.7985 GB, free: 41.23 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.638e-05/0.5799, allocations: 179.3 kB / 0.7986 GB, free: 41.05 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.591e-05/0.5799, allocations: 179.5 kB / 0.7988 GB, free: 40.87 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.476e-05/0.58, allocations: 183.6 kB / 0.799 GB, free: 40.69 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.467e-05/0.58, allocations: 178.5 kB / 0.7992 GB, free: 40.51 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.698e-05/0.5801, allocations: 313 kB / 0.7995 GB, free: 40.2 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.795e-05/0.5801, allocations: 191.3 kB / 0.7996 GB, free: 39.99 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.978e-05/0.5801, allocations: 184.2 kB / 0.7998 GB, free: 39.8 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.492e-05/0.5802, allocations: 108.5 kB / 0.7999 GB, free: 39.7 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.176e-05/0.5803, allocations: 189.8 kB / 0.8001 GB, free: 39.51 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.816e-05/0.5803, allocations: 103 kB / 0.8002 GB, free: 39.41 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.018e-05/0.5803, allocations: 101.3 kB / 0.8003 GB, free: 39.33 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5803, allocations: 0 / 0.8003 GB, free: 39.33 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0006765/0.581, allocations: 284 kB / 0.8006 GB, free: 39.28 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.001026/0.582, allocations: 0.5541 MB / 0.8011 GB, free: 39.03 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 8.758e-05/0.5821, allocations: 42.89 kB / 0.8011 GB, free: 38.99 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.5822, allocations: 0 / 0.8011 GB, free: 38.99 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 1.452e-06/0.5822, allocations: 3.281 kB / 0.8011 GB, free: 38.99 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003174/0.5825, allocations: 466 kB / 0.8016 GB, free: 38.54 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002599/0.5828, allocations: 244.4 kB / 0.8018 GB, free: 38.34 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001077/0.5829, allocations: 0.6818 MB / 0.8025 GB, free: 37.65 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 1.294e-05/0.5829, allocations: 0 / 0.8025 GB, free: 37.65 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.082e-05/0.5829, allocations: 14.88 kB / 0.8025 GB, free: 37.64 MB / 0.6544 GB Notification: Performance of SimCode: time 2.4e-07/0.5829, allocations: 0 / 0.8025 GB, free: 37.64 MB / 0.6544 GB Notification: Performance of Templates: time 0.01038/0.5933, allocations: 5.729 MB / 0.8081 GB, free: 37.28 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 gbode -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1)