Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001334/0.001334, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001335/0.001336, allocations: 194.1 kB / 16.25 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.444/1.444, allocations: 222.9 MB / 239.9 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002621/0.002621, allocations: 294.3 kB / 290.4 MB, free: 2.117 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.113/1.113, allocations: 178.6 MB / 0.507 GB, free: 4.664 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002771/0.002771, allocations: 100.7 kB / 0.606 GB, free: 24.95 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1738/0.1765, allocations: 89.15 MB / 0.693 GB, free: 4.594 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.003144/0.1797, allocations: 1.491 MB / 0.6945 GB, free: 3.102 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004897/0.1847, allocations: 2.897 MB / 0.6973 GB, free: 196 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.182e-05/0.1847, allocations: 0 / 0.6973 GB, free: 196 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.91e-05/0.1848, allocations: 0 / 0.6973 GB, free: 196 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.632e-05/0.1849, allocations: 15.86 kB / 0.6973 GB, free: 180 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004257/0.1891, allocations: 1.471 MB / 0.6988 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001017/0.1892, allocations: 43.73 kB / 0.6988 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.834e-05/0.1893, allocations: 0 / 0.6988 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.452e-05/0.1893, allocations: 11.94 kB / 0.6988 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.793e-05/0.1894, allocations: 27.86 kB / 0.6989 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.291e-05/0.1894, allocations: 4 kB / 0.6989 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002429/0.1918, allocations: 1.462 MB / 0.7003 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.135e-05/0.1919, allocations: 4 kB / 0.7003 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.077e-05/0.1919, allocations: 15.88 kB / 0.7003 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002626/0.1945, allocations: 1.099 MB / 0.7014 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/0.1946, allocations: 0 / 0.7014 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.603e-06/0.1946, allocations: 0 / 0.7014 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.426e-06/0.1946, allocations: 0 / 0.7014 GB, free: 12.05 MB / 0.4981 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.001065/0.1956, allocations: 0.5301 MB / 0.7019 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.708e-05/0.1957, allocations: 8.031 kB / 0.7019 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.908e-05/0.1958, allocations: 80.22 kB / 0.702 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002333/0.196, allocations: 255.4 kB / 0.7022 GB, free: 11.1 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.39e-05/0.1961, allocations: 150.9 kB / 0.7024 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.912e-05/0.1962, allocations: 150.9 kB / 0.7025 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.504e-05/0.1963, allocations: 113.1 kB / 0.7026 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.473e-05/0.1963, allocations: 75.28 kB / 0.7027 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.619e-05/0.1964, allocations: 150.6 kB / 0.7028 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.177e-05/0.1965, allocations: 154.5 kB / 0.703 GB, free: 10.31 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.04e-05/0.1966, allocations: 158.5 kB / 0.7031 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000379/0.1969, allocations: 465.9 kB / 0.7036 GB, free: 9.652 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.551e-05/0.197, allocations: 169.1 kB / 0.7037 GB, free: 9.477 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.046e-05/0.1971, allocations: 80.14 kB / 0.7038 GB, free: 9.395 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.386e-05/0.1971, allocations: 75.28 kB / 0.7039 GB, free: 9.32 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.358e-05/0.1972, allocations: 117.8 kB / 0.704 GB, free: 9.195 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.1972, allocations: 4 kB / 0.704 GB, free: 9.191 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 8.912e-05/0.1973, allocations: 33.7 kB / 0.704 GB, free: 9.152 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.919e-05/0.1974, allocations: 126.7 kB / 0.7042 GB, free: 9.016 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001562/0.1975, allocations: 139.9 kB / 0.7043 GB, free: 8.871 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.824e-05/0.1976, allocations: 29.69 kB / 0.7043 GB, free: 8.836 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.172e-05/0.1976, allocations: 88.12 kB / 0.7044 GB, free: 8.746 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.435e-06/0.1976, allocations: 3.938 kB / 0.7044 GB, free: 8.742 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.974e-05/0.1977, allocations: 21.72 kB / 0.7044 GB, free: 8.715 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001354/0.1978, allocations: 322.8 kB / 0.7047 GB, free: 8.391 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.719e-05/0.1979, allocations: 4 kB / 0.7047 GB, free: 8.387 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.702e-05/0.1979, allocations: 4 kB / 0.7047 GB, free: 8.383 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.373e-05/0.1979, allocations: 16.8 kB / 0.7048 GB, free: 8.363 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.1979, allocations: 0 / 0.7048 GB, free: 8.363 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001455/0.1981, allocations: 57.53 kB / 0.7048 GB, free: 8.301 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.1981, allocations: 4 kB / 0.7048 GB, free: 8.297 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.192e-05/0.1981, allocations: 4 kB / 0.7048 GB, free: 8.293 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.1982, allocations: 0 / 0.7048 GB, free: 8.293 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.61e-07/0.1982, allocations: 8 kB / 0.7048 GB, free: 8.285 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.511e-06/0.1982, allocations: 4 kB / 0.7048 GB, free: 8.281 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.322e-05/0.1982, allocations: 4.062 kB / 0.7048 GB, free: 8.277 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.044e-06/0.1982, allocations: 0 / 0.7048 GB, free: 8.277 MB / 0.4981 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.0001186/0.1983, allocations: 189.1 kB / 0.705 GB, free: 8.082 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.315e-05/0.1984, allocations: 116.8 kB / 0.7051 GB, free: 7.961 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.218e-05/0.1985, allocations: 108.9 kB / 0.7052 GB, free: 7.848 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.107e-05/0.1986, allocations: 180.3 kB / 0.7054 GB, free: 7.664 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.839e-05/0.1986, allocations: 180.2 kB / 0.7056 GB, free: 7.48 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.959e-05/0.1987, allocations: 188.2 kB / 0.7058 GB, free: 7.289 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002645/0.199, allocations: 409.2 kB / 0.7062 GB, free: 6.832 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.511e-05/0.1991, allocations: 108.9 kB / 0.7063 GB, free: 6.719 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.703e-05/0.1991, allocations: 105 kB / 0.7064 GB, free: 6.609 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.136e-05/0.1992, allocations: 180.2 kB / 0.7065 GB, free: 6.426 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.925e-05/0.1993, allocations: 184.2 kB / 0.7067 GB, free: 6.238 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.215e-05/0.1994, allocations: 184.2 kB / 0.7069 GB, free: 6.051 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.374e-05/0.1994, allocations: 176.3 kB / 0.707 GB, free: 5.871 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001644/0.1996, allocations: 315.7 kB / 0.7073 GB, free: 5.539 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.381e-05/0.1997, allocations: 190 kB / 0.7075 GB, free: 5.328 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.55e-05/0.1998, allocations: 180.2 kB / 0.7077 GB, free: 5.145 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.866e-05/0.1999, allocations: 101 kB / 0.7078 GB, free: 5.039 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.913e-05/0.2, allocations: 180.2 kB / 0.708 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.667e-05/0.2, allocations: 109 kB / 0.7081 GB, free: 4.742 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.275e-05/0.2001, allocations: 105.3 kB / 0.7082 GB, free: 4.641 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2001, allocations: 0 / 0.7082 GB, free: 4.641 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0008395/0.2009, allocations: 283.8 kB / 0.7084 GB, free: 4.363 MB / 0.4981 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.00134/0.2023, allocations: 0.5292 MB / 0.709 GB, free: 3.824 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001102/0.2024, allocations: 37.7 kB / 0.709 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.2024, allocations: 0 / 0.709 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.609e-06/0.2024, allocations: 7.875 kB / 0.709 GB, free: 3.773 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004427/0.2029, allocations: 472.6 kB / 0.7095 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003522/0.2032, allocations: 244.2 kB / 0.7097 GB, free: 3.043 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003159/0.2036, allocations: 0.6846 MB / 0.7104 GB, free: 2.332 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.527e-05/0.2036, allocations: 0 / 0.7104 GB, free: 2.332 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.946e-05/0.2036, allocations: 15.44 kB / 0.7104 GB, free: 2.316 MB / 0.4981 GB Notification: Performance of SimCode: time 3.71e-07/0.2036, allocations: 3.938 kB / 0.7104 GB, free: 2.312 MB / 0.4981 GB Notification: Performance of Templates: time 0.01114/0.2148, allocations: 5.655 MB / 0.7159 GB, free: 12.71 MB / 0.5137 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1)