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.001658/0.001658, allocations: 101.4 kB / 15.7 MB, free: 28 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.001975/0.001975, allocations: 198.3 kB / 16.64 MB, free: 6.43 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.595/1.595, allocations: 205.1 MB / 222.5 MB, free: 4.547 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.863/1.863, allocations: 292.3 MB / 0.549 GB, free: 12.73 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.001448/0.001448, allocations: 72.67 kB / 0.6723 GB, free: 25.75 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3132/0.3147, allocations: 114.5 MB / 0.7842 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.003349/0.3181, allocations: 1.43 MB / 0.7856 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.005109/0.3232, allocations: 2.928 MB / 0.7884 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.016e-05/0.3233, allocations: 4 kB / 0.7884 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.539e-05/0.3234, allocations: 7.875 kB / 0.7885 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.98e-05/0.3235, allocations: 19.84 kB / 0.7885 GB, free: 8.293 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.004549/0.328, allocations: 1.607 MB / 0.79 GB, free: 6.703 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001181/0.3282, allocations: 47.67 kB / 0.7901 GB, free: 6.656 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.7e-05/0.3282, allocations: 0 / 0.7901 GB, free: 6.656 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.299e-05/0.3283, allocations: 19.92 kB / 0.7901 GB, free: 6.637 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.111e-05/0.3283, allocations: 11.94 kB / 0.7901 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.321e-05/0.3283, allocations: 0 / 0.7901 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002532/0.3309, allocations: 1.513 MB / 0.7916 GB, free: 5.109 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.898e-05/0.3309, allocations: 7.922 kB / 0.7916 GB, free: 5.102 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.636e-05/0.3309, allocations: 19.88 kB / 0.7916 GB, free: 5.082 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001497/0.3324, allocations: 1.088 MB / 0.7927 GB, free: 3.992 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.3325, allocations: 0 / 0.7927 GB, free: 3.992 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.444e-06/0.3325, allocations: 4 kB / 0.7927 GB, free: 3.988 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.255e-05/0.3325, allocations: 0 / 0.7927 GB, free: 3.988 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.0006334/0.3331, allocations: 0.5107 MB / 0.7932 GB, free: 3.43 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.574e-05/0.3332, allocations: 11.98 kB / 0.7932 GB, free: 3.418 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.17e-05/0.3333, allocations: 84.22 kB / 0.7933 GB, free: 3.336 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001789/0.3335, allocations: 255.5 kB / 0.7935 GB, free: 3.047 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.836e-05/0.3335, allocations: 154.9 kB / 0.7937 GB, free: 2.895 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001559/0.3337, allocations: 150.9 kB / 0.7938 GB, free: 2.746 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.004e-05/0.3338, allocations: 117.1 kB / 0.7939 GB, free: 2.625 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-05/0.3339, allocations: 75.28 kB / 0.794 GB, free: 2.551 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.472e-05/0.3339, allocations: 154.6 kB / 0.7941 GB, free: 2.398 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.077e-05/0.334, allocations: 150.6 kB / 0.7943 GB, free: 2.25 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.82e-05/0.334, allocations: 150.6 kB / 0.7944 GB, free: 2.102 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003517/0.3344, allocations: 469.8 kB / 0.7949 GB, free: 1.594 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 9.361e-05/0.3345, allocations: 173.1 kB / 0.795 GB, free: 1.414 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.818e-05/0.3346, allocations: 80.14 kB / 0.7951 GB, free: 1.332 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.755e-05/0.3346, allocations: 75.28 kB / 0.7952 GB, free: 1.258 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.991e-05/0.3346, allocations: 113.8 kB / 0.7953 GB, free: 1.137 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 8.62e-07/0.3346, allocations: 0 / 0.7953 GB, free: 1.137 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 8.727e-05/0.3347, allocations: 37.62 kB / 0.7953 GB, free: 1.094 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.499e-05/0.3348, allocations: 134.7 kB / 0.7955 GB, free: 0.9492 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001521/0.335, allocations: 129.7 kB / 0.7956 GB, free: 0.8125 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.732e-05/0.335, allocations: 25.7 kB / 0.7956 GB, free: 0.7812 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.134e-05/0.3351, allocations: 88.14 kB / 0.7957 GB, free: 0.6914 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.976e-06/0.3351, allocations: 0 / 0.7957 GB, free: 0.6914 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.18e-05/0.3351, allocations: 17.72 kB / 0.7957 GB, free: 0.668 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001196/0.3352, allocations: 318.8 kB / 0.796 GB, free: 356 kB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.376e-05/0.3353, allocations: 8 kB / 0.796 GB, free: 348 kB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.646e-05/0.3353, allocations: 7.938 kB / 0.796 GB, free: 340 kB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.986e-05/0.3353, allocations: 16.89 kB / 0.7961 GB, free: 320 kB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.3353, allocations: 0 / 0.7961 GB, free: 320 kB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001365/0.3355, allocations: 53.56 kB / 0.7961 GB, free: 260 kB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.3355, allocations: 10.97 kB / 0.7961 GB, free: 252 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.147e-05/0.3355, allocations: 0 / 0.7961 GB, free: 252 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.039e-05/0.3356, allocations: 0 / 0.7961 GB, free: 252 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.795e-06/0.3356, allocations: 4 kB / 0.7961 GB, free: 248 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.3356, allocations: 0 / 0.7961 GB, free: 248 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.469e-05/0.3356, allocations: 11.91 kB / 0.7961 GB, free: 236 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.065e-06/0.3356, allocations: 0 / 0.7961 GB, free: 236 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.00011/0.3357, allocations: 189.1 kB / 0.7963 GB, free: 36 kB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.718e-05/0.3358, allocations: 104.9 kB / 0.7964 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.003e-05/0.3359, allocations: 120.6 kB / 0.7965 GB, free: 15.8 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.542e-05/0.336, allocations: 176.3 kB / 0.7967 GB, free: 15.62 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001534/0.3361, allocations: 188.2 kB / 0.7969 GB, free: 15.43 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.968e-05/0.3362, allocations: 180.3 kB / 0.797 GB, free: 15.24 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002522/0.3365, allocations: 405.2 kB / 0.7974 GB, free: 14.79 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.279e-05/0.3366, allocations: 112.9 kB / 0.7975 GB, free: 14.67 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.442e-05/0.3366, allocations: 113 kB / 0.7976 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.784e-05/0.3367, allocations: 184.2 kB / 0.7978 GB, free: 14.37 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.398e-05/0.3368, allocations: 180.3 kB / 0.798 GB, free: 14.18 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.297e-05/0.3368, allocations: 176.3 kB / 0.7982 GB, free: 14 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.819e-05/0.3369, allocations: 184.2 kB / 0.7983 GB, free: 13.82 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002346/0.3372, allocations: 311.7 kB / 0.7986 GB, free: 13.49 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 8.319e-05/0.3372, allocations: 189.9 kB / 0.7988 GB, free: 13.28 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.156e-05/0.3373, allocations: 180.3 kB / 0.799 GB, free: 13.09 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.637e-05/0.3374, allocations: 104.9 kB / 0.7991 GB, free: 12.98 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.81e-05/0.3375, allocations: 184.2 kB / 0.7993 GB, free: 12.8 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.186e-05/0.3376, allocations: 112.9 kB / 0.7994 GB, free: 12.68 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 6.084e-05/0.3376, allocations: 95.27 kB / 0.7995 GB, free: 12.59 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3376, allocations: 4 kB / 0.7995 GB, free: 12.58 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0009548/0.3386, allocations: 275.8 kB / 0.7997 GB, free: 12.31 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.00116/0.3398, allocations: 0.5325 MB / 0.8002 GB, free: 11.78 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0001189/0.3399, allocations: 37.69 kB / 0.8003 GB, free: 11.73 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.3399, allocations: 4.062 kB / 0.8003 GB, free: 11.73 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 1.973e-06/0.3399, allocations: 0 / 0.8003 GB, free: 11.73 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005394/0.3405, allocations: 474.4 kB / 0.8007 GB, free: 11.27 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003612/0.3408, allocations: 236 kB / 0.801 GB, free: 11.01 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000355/0.3412, allocations: 0.6846 MB / 0.8016 GB, free: 10.3 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 1.485e-05/0.3412, allocations: 0 / 0.8016 GB, free: 10.3 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.451e-05/0.3412, allocations: 11.44 kB / 0.8016 GB, free: 10.29 MB / 0.6231 GB Notification: Performance of SimCode: time 2.4e-07/0.3413, allocations: 0 / 0.8016 GB, free: 10.29 MB / 0.6231 GB Notification: Performance of Templates: time 0.01006/0.3513, allocations: 5.569 MB / 0.8071 GB, free: 4.77 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)