Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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_maint.8.0.x_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_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.705/1.705, allocations: 288.4 MB / 303.7 MB, free: 8.031 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001141/0.001141, allocations: 185.1 kB / 372.3 MB, free: 10.13 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.589/1.589, allocations: 205.4 MB / 0.631 GB, free: 9.91 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000867/0.0008669, allocations: 102.8 kB / 0.7444 GB, free: 5.809 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003678/0.0003678, allocations: 16.83 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1953/0.1957, allocations: 115.3 MB / 0.9802 GB, free: 27.3 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.001208/0.197, allocations: 1.142 MB / 0.9813 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003084/0.2001, allocations: 2.751 MB / 0.984 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.132e-05/0.2001, allocations: 3.938 kB / 0.984 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.994e-05/0.2001, allocations: 3.938 kB / 0.984 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.884e-05/0.2002, allocations: 7.922 kB / 0.984 GB, free: 23.36 MB / 0.6198 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0026/0.2028, allocations: 1.381 MB / 0.9854 GB, free: 22 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.993e-05/0.2029, allocations: 35.75 kB / 0.9854 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.795e-05/0.2029, allocations: 4.281 kB / 0.9854 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.175e-05/0.2029, allocations: 15.92 kB / 0.9854 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 2.36e-05/0.203, allocations: 7.938 kB / 0.9854 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 9.117e-06/0.203, allocations: 4 kB / 0.9854 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001439/0.2044, allocations: 1.412 MB / 0.9868 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.147e-05/0.2044, allocations: 15.92 kB / 0.9868 GB, free: 20.5 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.023e-05/0.2045, allocations: 37.62 kB / 0.9868 GB, free: 20.46 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0007257/0.2052, allocations: 0.7915 MB / 0.9876 GB, free: 19.67 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.2052, allocations: 3.984 kB / 0.9876 GB, free: 19.66 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.823e-06/0.2052, allocations: 3.938 kB / 0.9876 GB, free: 19.66 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.777e-06/0.2052, allocations: 0 / 0.9876 GB, free: 19.66 MB / 0.6198 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.0004052/0.2057, allocations: 0.5119 MB / 0.9881 GB, free: 19.1 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.654e-05/0.2057, allocations: 8.031 kB / 0.9881 GB, free: 19.09 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.931e-05/0.2057, allocations: 88.12 kB / 0.9882 GB, free: 19.01 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.19e-05/0.2058, allocations: 251.5 kB / 0.9885 GB, free: 18.72 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.473e-05/0.2059, allocations: 150.9 kB / 0.9886 GB, free: 18.57 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.198e-05/0.2059, allocations: 150.9 kB / 0.9887 GB, free: 18.43 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.946e-05/0.2059, allocations: 105.1 kB / 0.9888 GB, free: 18.32 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.206, allocations: 79.28 kB / 0.9889 GB, free: 18.24 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.199e-05/0.206, allocations: 154.6 kB / 0.9891 GB, free: 18.09 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.827e-05/0.206, allocations: 154.6 kB / 0.9892 GB, free: 17.93 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.255e-05/0.206, allocations: 158.5 kB / 0.9894 GB, free: 17.78 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001718/0.2062, allocations: 461.9 kB / 0.9898 GB, free: 17.28 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 3.999e-05/0.2063, allocations: 169.1 kB / 0.99 GB, free: 17.1 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.46e-05/0.2063, allocations: 80.14 kB / 0.99 GB, free: 17.02 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.232e-05/0.2063, allocations: 75.28 kB / 0.9901 GB, free: 16.95 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.254e-05/0.2063, allocations: 117.7 kB / 0.9902 GB, free: 16.82 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 8.02e-07/0.2063, allocations: 3.938 kB / 0.9902 GB, free: 16.82 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 5.743e-05/0.2064, allocations: 41.59 kB / 0.9903 GB, free: 16.77 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.669e-05/0.2064, allocations: 134.6 kB / 0.9904 GB, free: 16.62 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.485e-05/0.2065, allocations: 135.3 kB / 0.9905 GB, free: 16.48 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.001e-06/0.2065, allocations: 25.7 kB / 0.9906 GB, free: 16.45 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.529e-05/0.2066, allocations: 88.14 kB / 0.9906 GB, free: 16.36 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.773e-06/0.2066, allocations: 0 / 0.9906 GB, free: 16.36 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.214e-06/0.2066, allocations: 0 / 0.9906 GB, free: 16.36 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.471e-05/0.2066, allocations: 322.8 kB / 0.9909 GB, free: 16.04 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.993e-05/0.2067, allocations: 4 kB / 0.991 GB, free: 16.04 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.283e-05/0.2067, allocations: 8 kB / 0.991 GB, free: 16.03 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.806e-05/0.2067, allocations: 16.8 kB / 0.991 GB, free: 16.01 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.2067, allocations: 0 / 0.991 GB, free: 16.01 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001009/0.2068, allocations: 57.53 kB / 0.991 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.071e-05/0.2068, allocations: 4 kB / 0.991 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.699e-05/0.2069, allocations: 4 kB / 0.991 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.043e-05/0.2069, allocations: 0 / 0.991 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.21e-07/0.2069, allocations: 0 / 0.991 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.797e-06/0.2069, allocations: 0 / 0.991 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.947e-05/0.2069, allocations: 3.906 kB / 0.991 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-06/0.2069, allocations: 8.062 kB / 0.991 GB, free: 15.93 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.126e-05/0.207, allocations: 186 kB / 0.9912 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.823e-05/0.207, allocations: 116.8 kB / 0.9913 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.401e-05/0.2071, allocations: 108.9 kB / 0.9914 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-05/0.2071, allocations: 180.3 kB / 0.9916 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.269e-05/0.2071, allocations: 188.2 kB / 0.9918 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.551e-05/0.2071, allocations: 180.2 kB / 0.992 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001649/0.2073, allocations: 413.2 kB / 0.9924 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-05/0.2073, allocations: 104.9 kB / 0.9925 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.616e-05/0.2074, allocations: 104.9 kB / 0.9926 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.689e-05/0.2074, allocations: 184.3 kB / 0.9927 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.647e-05/0.2074, allocations: 184.2 kB / 0.9929 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.247e-05/0.2075, allocations: 180.4 kB / 0.9931 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-05/0.2075, allocations: 180.3 kB / 0.9933 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.995e-05/0.2075, allocations: 311.7 kB / 0.9936 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.501e-05/0.2076, allocations: 193.9 kB / 0.9937 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.537e-05/0.2076, allocations: 184.1 kB / 0.9939 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.869e-05/0.2077, allocations: 105 kB / 0.994 GB, free: 12.68 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.168e-05/0.2077, allocations: 188.2 kB / 0.9942 GB, free: 12.49 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.513e-05/0.2077, allocations: 105 kB / 0.9943 GB, free: 12.38 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.745e-05/0.2078, allocations: 100.5 kB / 0.9944 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2078, allocations: 0 / 0.9944 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005632/0.2084, allocations: 291.8 kB / 0.9947 GB, free: 12 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009489/0.2093, allocations: 0.5556 MB / 0.9952 GB, free: 11.44 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 8.559e-05/0.2094, allocations: 45.64 kB / 0.9953 GB, free: 11.39 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.2094, allocations: 0 / 0.9953 GB, free: 11.39 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.825e-06/0.2094, allocations: 3.938 kB / 0.9953 GB, free: 11.39 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002952/0.2097, allocations: 0.5302 MB / 0.9958 GB, free: 10.85 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002335/0.21, allocations: 251.8 kB / 0.996 GB, free: 10.58 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001052/0.2101, allocations: 0.6848 MB / 0.9967 GB, free: 9.867 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.145e-05/0.2101, allocations: 3.938 kB / 0.9967 GB, free: 9.863 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.275e-06/0.2101, allocations: 11.44 kB / 0.9967 GB, free: 9.852 MB / 0.6198 GB Notification: Performance of SimCode: time 2.3e-07/0.2101, allocations: 0 / 0.9967 GB, free: 9.852 MB / 0.6198 GB Notification: Performance of Templates: time 0.007676/0.2178, allocations: 5.794 MB / 1.002 GB, free: 4.109 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1)