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.InternalResistancesOneUTubeNegative.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.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001615/0.001615, allocations: 108 kB / 15.6 MB, free: 132 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.001829/0.001829, allocations: 194.6 kB / 16.53 MB, free: 6.391 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.574/1.574, allocations: 205.1 MB / 222.4 MB, free: 4.594 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.77/1.77, allocations: 292.3 MB / 0.5489 GB, free: 12.85 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.002373/0.002373, allocations: 72.05 kB / 0.6716 GB, free: 26.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3302/0.3326, allocations: 114.6 MB / 0.7834 GB, free: 13.43 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.003298/0.336, allocations: 1.43 MB / 0.7848 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0047/0.3407, allocations: 2.932 MB / 0.7877 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.969e-05/0.3408, allocations: 0 / 0.7877 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.112e-05/0.3408, allocations: 3.938 kB / 0.7877 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.514e-05/0.3409, allocations: 15.84 kB / 0.7877 GB, free: 9.023 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/internalResistancesOneUTube.mo:2:1-155:32:writable] Warning: Pure function 'Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.internalResistancesOneUTube' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.004439/0.3454, allocations: 1.619 MB / 0.7893 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.671e-05/0.3455, allocations: 43.73 kB / 0.7893 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.454e-05/0.3455, allocations: 0 / 0.7893 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.556e-05/0.3456, allocations: 15.94 kB / 0.7893 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.169e-05/0.3456, allocations: 19.86 kB / 0.7894 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.019e-05/0.3456, allocations: 0 / 0.7894 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002156/0.3478, allocations: 1.451 MB / 0.7908 GB, free: 5.887 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.738e-05/0.3478, allocations: 4 kB / 0.7908 GB, free: 5.883 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.137e-05/0.3478, allocations: 15.88 kB / 0.7908 GB, free: 5.867 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001475/0.3493, allocations: 1.088 MB / 0.7919 GB, free: 4.777 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.3493, allocations: 4 kB / 0.7919 GB, free: 4.773 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.863e-06/0.3494, allocations: 0 / 0.7919 GB, free: 4.773 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.883e-06/0.3494, allocations: 0 / 0.7919 GB, free: 4.773 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.0006597/0.35, allocations: 0.5185 MB / 0.7924 GB, free: 4.207 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.716e-05/0.3501, allocations: 15.98 kB / 0.7924 GB, free: 4.191 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.92e-05/0.3502, allocations: 76.22 kB / 0.7925 GB, free: 4.117 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001722/0.3503, allocations: 251.5 kB / 0.7927 GB, free: 3.832 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.013e-05/0.3504, allocations: 154.9 kB / 0.7928 GB, free: 3.68 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.853e-05/0.3505, allocations: 158.9 kB / 0.793 GB, free: 3.523 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.716e-05/0.3505, allocations: 109.1 kB / 0.7931 GB, free: 3.41 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.918e-05/0.3506, allocations: 75.28 kB / 0.7932 GB, free: 3.336 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.194e-05/0.3506, allocations: 150.6 kB / 0.7933 GB, free: 3.188 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.372e-05/0.3507, allocations: 158.5 kB / 0.7935 GB, free: 3.031 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.309e-05/0.3508, allocations: 154.6 kB / 0.7936 GB, free: 2.879 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003272/0.3511, allocations: 465.8 kB / 0.7941 GB, free: 2.375 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 9.366e-05/0.3512, allocations: 169.1 kB / 0.7942 GB, free: 2.199 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.582e-05/0.3513, allocations: 84.14 kB / 0.7943 GB, free: 2.113 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.74e-05/0.3513, allocations: 79.28 kB / 0.7944 GB, free: 2.035 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.094e-05/0.3514, allocations: 109.8 kB / 0.7945 GB, free: 1.918 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 9.41e-07/0.3514, allocations: 0 / 0.7945 GB, free: 1.918 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 7.588e-05/0.3514, allocations: 29.7 kB / 0.7945 GB, free: 1.883 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.978e-05/0.3515, allocations: 130.6 kB / 0.7946 GB, free: 1.742 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001505/0.3517, allocations: 136.7 kB / 0.7948 GB, free: 1.602 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.262e-05/0.3517, allocations: 25.7 kB / 0.7948 GB, free: 1.57 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.526e-05/0.3518, allocations: 100.1 kB / 0.7949 GB, free: 1.469 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.405e-06/0.3518, allocations: 0 / 0.7949 GB, free: 1.469 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.358e-05/0.3518, allocations: 13.72 kB / 0.7949 GB, free: 1.449 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001405/0.352, allocations: 314.8 kB / 0.7952 GB, free: 1.133 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.47e-05/0.352, allocations: 11.92 kB / 0.7952 GB, free: 1.121 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.567e-05/0.352, allocations: 4 kB / 0.7952 GB, free: 1.117 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.862e-05/0.3521, allocations: 12.86 kB / 0.7952 GB, free: 1.102 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.3521, allocations: 0 / 0.7952 GB, free: 1.102 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001342/0.3522, allocations: 49.61 kB / 0.7953 GB, free: 1.047 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.3522, allocations: 11.98 kB / 0.7953 GB, free: 1.035 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.878e-05/0.3522, allocations: 0 / 0.7953 GB, free: 1.035 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.705e-05/0.3523, allocations: 4 kB / 0.7953 GB, free: 1.031 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.72e-07/0.3523, allocations: 0 / 0.7953 GB, free: 1.031 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/0.3523, allocations: 0 / 0.7953 GB, free: 1.031 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.275e-05/0.3523, allocations: 7.844 kB / 0.7953 GB, free: 1.023 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.095e-05/0.3523, allocations: 8 kB / 0.7953 GB, free: 1.016 MB / 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.0001091/0.3524, allocations: 185.1 kB / 0.7955 GB, free: 0.8242 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.408e-05/0.3525, allocations: 109 kB / 0.7956 GB, free: 0.7109 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.972e-05/0.3526, allocations: 124.7 kB / 0.7957 GB, free: 0.5781 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.674e-05/0.3527, allocations: 176.3 kB / 0.7959 GB, free: 408 kB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.669e-05/0.3527, allocations: 180.3 kB / 0.796 GB, free: 220 kB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.259e-05/0.3528, allocations: 184.2 kB / 0.7962 GB, free: 28 kB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002818/0.3531, allocations: 413.2 kB / 0.7966 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.882e-05/0.3532, allocations: 112.9 kB / 0.7967 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.869e-05/0.3532, allocations: 105 kB / 0.7968 GB, free: 15.34 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.927e-05/0.3533, allocations: 180.3 kB / 0.797 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.899e-05/0.3534, allocations: 180.2 kB / 0.7972 GB, free: 14.97 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.615e-05/0.3535, allocations: 180.3 kB / 0.7973 GB, free: 14.79 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.291e-05/0.3536, allocations: 188.2 kB / 0.7975 GB, free: 14.6 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001573/0.3537, allocations: 307.7 kB / 0.7978 GB, free: 14.27 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 9.873e-05/0.3538, allocations: 189.9 kB / 0.798 GB, free: 14.06 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.193e-05/0.3539, allocations: 180.2 kB / 0.7982 GB, free: 13.88 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.208e-05/0.354, allocations: 108.9 kB / 0.7983 GB, free: 13.77 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.746e-05/0.3541, allocations: 176.3 kB / 0.7984 GB, free: 13.59 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.538e-05/0.3542, allocations: 108.9 kB / 0.7985 GB, free: 13.47 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 6.048e-05/0.3542, allocations: 99.27 kB / 0.7986 GB, free: 13.38 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1e-07/0.3542, allocations: 0 / 0.7986 GB, free: 13.38 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0008533/0.3551, allocations: 275.8 kB / 0.7989 GB, free: 13.11 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.00126/0.3564, allocations: 0.5481 MB / 0.7994 GB, free: 12.56 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0001314/0.3565, allocations: 37.7 kB / 0.7995 GB, free: 12.52 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.3565, allocations: 0 / 0.7995 GB, free: 12.52 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 1.973e-06/0.3565, allocations: 0 / 0.7995 GB, free: 12.52 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004553/0.357, allocations: 471.7 kB / 0.7999 GB, free: 12.05 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003919/0.3574, allocations: 236 kB / 0.8001 GB, free: 11.8 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003109/0.3577, allocations: 0.6885 MB / 0.8008 GB, free: 11.08 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 1.258e-05/0.3577, allocations: 0 / 0.8008 GB, free: 11.08 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.287e-05/0.3578, allocations: 11.44 kB / 0.8008 GB, free: 11.07 MB / 0.6231 GB Notification: Performance of SimCode: time 2.4e-07/0.3578, allocations: 0 / 0.8008 GB, free: 11.07 MB / 0.6231 GB Notification: Performance of Templates: time 0.01006/0.3678, allocations: 5.586 MB / 0.8063 GB, free: 5.535 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.makefile (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & ./Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1)