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.InternalResistancesOneUTubeNegative.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.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.651/1.651, allocations: 288.4 MB / 303.7 MB, free: 7.996 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.001536/0.001535, allocations: 186.5 kB / 372.3 MB, free: 10.12 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.769/1.769, allocations: 205.4 MB / 0.631 GB, free: 9.914 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.0008616/0.0008616, allocations: 98.28 kB / 0.7444 GB, free: 5.809 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003675/0.0003675, allocations: 12.09 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.191/0.1914, 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.InternalResistancesOneUTubeNegative): time 0.001301/0.1927, allocations: 1.14 MB / 0.9813 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003311/0.1961, allocations: 2.708 MB / 0.9839 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.088e-05/0.1962, allocations: 4 kB / 0.984 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.003e-05/0.1962, allocations: 0 / 0.984 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.069e-05/0.1963, allocations: 11.86 kB / 0.984 GB, free: 23.41 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/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.003365/0.1996, allocations: 1.349 MB / 0.9853 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.69e-05/0.1997, allocations: 35.75 kB / 0.9853 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.703e-05/0.1997, allocations: 4 kB / 0.9853 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.38e-05/0.1998, allocations: 19.92 kB / 0.9853 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 2.431e-05/0.1998, allocations: 11.94 kB / 0.9853 GB, free: 22 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.014e-05/0.1998, allocations: 4 kB / 0.9854 GB, free: 22 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001794/0.2016, allocations: 1.373 MB / 0.9867 GB, free: 20.62 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.594e-05/0.2017, allocations: 0 / 0.9867 GB, free: 20.62 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.768e-05/0.2017, allocations: 49.56 kB / 0.9867 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001028/0.2027, allocations: 0.7762 MB / 0.9875 GB, free: 19.79 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.2027, allocations: 0 / 0.9875 GB, free: 19.79 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.754e-06/0.2028, allocations: 4 kB / 0.9875 GB, free: 19.79 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.088e-06/0.2028, allocations: 4 kB / 0.9875 GB, free: 19.79 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.0005427/0.2033, allocations: 0.4991 MB / 0.988 GB, free: 19.24 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.812e-05/0.2034, allocations: 8.031 kB / 0.988 GB, free: 19.23 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.459e-05/0.2034, allocations: 84.12 kB / 0.9881 GB, free: 19.15 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.11e-05/0.2035, allocations: 255.5 kB / 0.9883 GB, free: 18.86 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.55e-05/0.2036, allocations: 150.9 kB / 0.9885 GB, free: 18.71 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.683e-05/0.2036, allocations: 154.9 kB / 0.9886 GB, free: 18.56 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.404e-05/0.2036, allocations: 113 kB / 0.9887 GB, free: 18.44 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.428e-05/0.2037, allocations: 75.28 kB / 0.9888 GB, free: 18.37 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.37e-05/0.2037, allocations: 154.5 kB / 0.9889 GB, free: 18.21 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.23e-05/0.2037, allocations: 154.5 kB / 0.9891 GB, free: 18.06 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.438e-05/0.2037, allocations: 154.5 kB / 0.9892 GB, free: 17.91 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002164/0.204, allocations: 465.9 kB / 0.9897 GB, free: 17.41 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 4.277e-05/0.204, allocations: 165.1 kB / 0.9898 GB, free: 17.23 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.613e-05/0.204, allocations: 84.14 kB / 0.9899 GB, free: 17.15 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.315e-05/0.2041, allocations: 75.28 kB / 0.99 GB, free: 17.07 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.529e-05/0.2041, allocations: 117.8 kB / 0.9901 GB, free: 16.95 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 1.293e-06/0.2041, allocations: 0 / 0.9901 GB, free: 16.95 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 6.953e-05/0.2042, allocations: 33.55 kB / 0.9901 GB, free: 16.91 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.933e-05/0.2042, allocations: 130.7 kB / 0.9903 GB, free: 16.77 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001035/0.2043, allocations: 128.3 kB / 0.9904 GB, free: 16.64 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.063e-06/0.2043, allocations: 29.7 kB / 0.9904 GB, free: 16.6 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.943e-05/0.2044, allocations: 88.12 kB / 0.9905 GB, free: 16.51 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.604e-06/0.2044, allocations: 0 / 0.9905 GB, free: 16.51 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.735e-06/0.2044, allocations: 7.938 kB / 0.9905 GB, free: 16.5 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.968e-05/0.2044, allocations: 318.8 kB / 0.9908 GB, free: 16.18 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.029e-05/0.2045, allocations: 0 / 0.9908 GB, free: 16.18 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.314e-05/0.2045, allocations: 4 kB / 0.9908 GB, free: 16.18 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.644e-05/0.2045, allocations: 20.84 kB / 0.9908 GB, free: 16.16 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.664e-06/0.2045, allocations: 0 / 0.9908 GB, free: 16.16 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001162/0.2047, allocations: 53.48 kB / 0.9909 GB, free: 16.1 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/0.2047, allocations: 4 kB / 0.9909 GB, free: 16.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.864e-05/0.2047, allocations: 4 kB / 0.9909 GB, free: 16.09 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.2047, allocations: 4.062 kB / 0.9909 GB, free: 16.09 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.32e-07/0.2047, allocations: 0 / 0.9909 GB, free: 16.09 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.782e-06/0.2047, allocations: 3.984 kB / 0.9909 GB, free: 16.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.087e-05/0.2048, allocations: 0 / 0.9909 GB, free: 16.08 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.614e-06/0.2048, allocations: 4 kB / 0.9909 GB, free: 16.08 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.906e-05/0.2048, allocations: 181.8 kB / 0.9911 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.983e-05/0.2049, allocations: 116.8 kB / 0.9912 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.651e-05/0.2049, allocations: 108.9 kB / 0.9913 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.698e-05/0.2049, allocations: 192.3 kB / 0.9915 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.57e-05/0.205, allocations: 180.2 kB / 0.9916 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.215e-05/0.205, allocations: 176.3 kB / 0.9918 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001344/0.2051, allocations: 413.2 kB / 0.9922 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.638e-05/0.2052, allocations: 104.9 kB / 0.9923 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.513e-05/0.2052, allocations: 113 kB / 0.9924 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.723e-05/0.2052, allocations: 188.2 kB / 0.9926 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.574e-05/0.2053, allocations: 176.3 kB / 0.9928 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-05/0.2053, allocations: 184.1 kB / 0.9929 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.246e-05/0.2053, allocations: 176.5 kB / 0.9931 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.184e-05/0.2054, allocations: 323.7 kB / 0.9934 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.099e-05/0.2054, allocations: 182 kB / 0.9936 GB, free: 13.13 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.468e-05/0.2055, allocations: 180.2 kB / 0.9938 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.219e-05/0.2055, allocations: 109 kB / 0.9939 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.988e-05/0.2056, allocations: 180.3 kB / 0.994 GB, free: 12.65 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.527e-05/0.2056, allocations: 112.9 kB / 0.9941 GB, free: 12.54 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.733e-05/0.2056, allocations: 96.52 kB / 0.9942 GB, free: 12.44 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1e-07/0.2056, allocations: 0 / 0.9942 GB, free: 12.44 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0007349/0.2064, allocations: 287.7 kB / 0.9945 GB, free: 12.16 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.001202/0.2076, allocations: 0.5448 MB / 0.995 GB, free: 11.61 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 8.665e-05/0.2077, allocations: 37.7 kB / 0.9951 GB, free: 11.57 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.2077, allocations: 0 / 0.9951 GB, free: 11.57 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.134e-06/0.2077, allocations: 0 / 0.9951 GB, free: 11.57 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003426/0.208, allocations: 0.5301 MB / 0.9956 GB, free: 11.04 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002531/0.2083, allocations: 263.6 kB / 0.9958 GB, free: 10.75 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001062/0.2084, allocations: 0.6809 MB / 0.9965 GB, free: 10.04 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.179e-05/0.2084, allocations: 0 / 0.9965 GB, free: 10.04 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.498e-06/0.2085, allocations: 11.44 kB / 0.9965 GB, free: 10.03 MB / 0.6198 GB Notification: Performance of SimCode: time 2.21e-07/0.2085, allocations: 0 / 0.9965 GB, free: 10.03 MB / 0.6198 GB Notification: Performance of Templates: time 0.007719/0.2162, allocations: 5.596 MB / 1.002 GB, free: 4.484 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1)