Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances") translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.361/1.361, allocations: 251.5 MB / 267.4 MB, free: 11.04 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009687/0.0009689, allocations: 183.3 kB / 326.5 MB, free: 2.652 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.756/1.756, allocations: 205 MB / 0.5766 GB, free: 20.55 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009008/0.0009011, allocations: 88.02 kB / 0.6804 GB, free: 14.29 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003347/0.0003349, allocations: 16.11 kB / 0.7938 GB, free: 136.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2065/0.2068, allocations: 105.4 MB / 0.8968 GB, free: 67.66 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.001664/0.2085, allocations: 1.201 MB / 0.8979 GB, free: 66.45 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001311/0.2099, allocations: 0.9744 MB / 0.8989 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.907e-05/0.21, allocations: 4 kB / 0.8989 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002279/0.2102, allocations: 43.75 kB / 0.8989 GB, free: 65.42 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 3.895e-05/0.2103, allocations: 15.92 kB / 0.8989 GB, free: 65.4 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005436/0.2108, allocations: 169 kB / 0.8991 GB, free: 65.24 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.984e-05/0.2109, allocations: 51.67 kB / 0.8992 GB, free: 65.19 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.692e-05/0.211, allocations: 8.281 kB / 0.8992 GB, free: 65.18 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.979e-05/0.2111, allocations: 19.86 kB / 0.8992 GB, free: 65.16 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.131e-05/0.2111, allocations: 19.92 kB / 0.8992 GB, free: 65.14 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.06e-05/0.2111, allocations: 0 / 0.8992 GB, free: 65.14 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003109/0.2114, allocations: 143.8 kB / 0.8993 GB, free: 65 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.625e-05/0.2115, allocations: 3.938 kB / 0.8993 GB, free: 65 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.834e-05/0.2115, allocations: 19.88 kB / 0.8994 GB, free: 64.98 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001415/0.2116, allocations: 83.75 kB / 0.8994 GB, free: 64.9 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.2117, allocations: 4 kB / 0.8994 GB, free: 64.89 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.194e-06/0.2117, allocations: 3.938 kB / 0.8994 GB, free: 64.89 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.579e-06/0.2117, allocations: 4 kB / 0.8994 GB, free: 64.89 MB / 0.6042 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.0002916/0.212, allocations: 363.3 kB / 0.8998 GB, free: 64.48 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/0.212, allocations: 8.031 kB / 0.8998 GB, free: 64.48 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.447e-05/0.2121, allocations: 84.12 kB / 0.8999 GB, free: 64.39 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00017/0.2122, allocations: 263.4 kB / 0.9001 GB, free: 64.1 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.921e-05/0.2123, allocations: 150.9 kB / 0.9003 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.736e-05/0.2123, allocations: 150.9 kB / 0.9004 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.468e-05/0.2124, allocations: 113.3 kB / 0.9005 GB, free: 63.68 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.512e-05/0.2124, allocations: 75.28 kB / 0.9006 GB, free: 63.61 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.332e-05/0.2124, allocations: 150.6 kB / 0.9007 GB, free: 63.46 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.915e-05/0.2124, allocations: 150.6 kB / 0.9009 GB, free: 63.31 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.365e-05/0.2125, allocations: 158.5 kB / 0.901 GB, free: 63.16 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001933/0.2127, allocations: 465.9 kB / 0.9015 GB, free: 62.65 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 4.829e-05/0.2127, allocations: 173.1 kB / 0.9016 GB, free: 62.47 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.789e-05/0.2128, allocations: 80.14 kB / 0.9017 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.191e-05/0.2128, allocations: 79.27 kB / 0.9018 GB, free: 62.31 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.127e-05/0.2128, allocations: 113.8 kB / 0.9019 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=0): time 1.032e-06/0.2128, allocations: 0 / 0.9019 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of matching and sorting (n=0): time 6.858e-05/0.2129, allocations: 37.64 kB / 0.9019 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.906e-05/0.2129, allocations: 126.7 kB / 0.9021 GB, free: 62.01 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001147/0.213, allocations: 140.3 kB / 0.9022 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.344e-06/0.213, allocations: 25.7 kB / 0.9022 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.654e-05/0.2131, allocations: 92.12 kB / 0.9023 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.334e-06/0.2131, allocations: 0 / 0.9023 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.145e-05/0.2131, allocations: 17.72 kB / 0.9023 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.666e-05/0.2132, allocations: 314.8 kB / 0.9026 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.837e-05/0.2132, allocations: 4 kB / 0.9026 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.513e-05/0.2132, allocations: 11.98 kB / 0.9026 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.117e-05/0.2133, allocations: 8.859 kB / 0.9027 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.2133, allocations: 0 / 0.9027 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001098/0.2134, allocations: 53.48 kB / 0.9027 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.2134, allocations: 4 kB / 0.9027 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.073e-05/0.2134, allocations: 7.984 kB / 0.9027 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.2134, allocations: 4.062 kB / 0.9027 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.61e-07/0.2134, allocations: 0 / 0.9027 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.2135, allocations: 0 / 0.9027 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.045e-05/0.2135, allocations: 0 / 0.9027 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.114e-06/0.2135, allocations: 4 kB / 0.9027 GB, free: 61.3 MB / 0.6042 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 6.195e-05/0.2136, allocations: 185.1 kB / 0.9029 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.097e-05/0.2136, allocations: 112.8 kB / 0.903 GB, free: 60.99 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.909e-05/0.2136, allocations: 112.8 kB / 0.9031 GB, free: 60.87 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.681e-05/0.2137, allocations: 192.2 kB / 0.9033 GB, free: 60.67 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.926e-05/0.2137, allocations: 180.2 kB / 0.9035 GB, free: 60.49 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-05/0.2137, allocations: 180.3 kB / 0.9036 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000133/0.2139, allocations: 409.2 kB / 0.904 GB, free: 59.85 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.508e-05/0.2139, allocations: 108.9 kB / 0.9041 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.481e-05/0.2139, allocations: 108.9 kB / 0.9042 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.576e-05/0.2139, allocations: 188.4 kB / 0.9044 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.603e-05/0.214, allocations: 180.3 kB / 0.9046 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.554e-05/0.214, allocations: 188.2 kB / 0.9048 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.667e-05/0.214, allocations: 180.2 kB / 0.9049 GB, free: 58.87 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.812e-05/0.2141, allocations: 311.8 kB / 0.9052 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.567e-05/0.2142, allocations: 185.9 kB / 0.9054 GB, free: 58.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.005e-05/0.2142, allocations: 184.2 kB / 0.9056 GB, free: 58.15 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.653e-05/0.2143, allocations: 105 kB / 0.9057 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.435e-05/0.2143, allocations: 176.3 kB / 0.9059 GB, free: 57.86 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.166e-05/0.2143, allocations: 112.9 kB / 0.906 GB, free: 57.74 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.865e-05/0.2144, allocations: 103.3 kB / 0.9061 GB, free: 57.64 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2144, allocations: 0 / 0.9061 GB, free: 57.64 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002788/0.2147, allocations: 31.98 kB / 0.9061 GB, free: 57.61 MB / 0.6042 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.0002263/0.2149, allocations: 210.4 kB / 0.9063 GB, free: 57.39 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 8.168e-05/0.215, allocations: 41.69 kB / 0.9063 GB, free: 57.35 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.215, allocations: 0 / 0.9063 GB, free: 57.35 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.563e-06/0.215, allocations: 4.062 kB / 0.9063 GB, free: 57.34 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003451/0.2153, allocations: 0.5309 MB / 0.9069 GB, free: 56.81 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002776/0.2156, allocations: 262.4 kB / 0.9071 GB, free: 56.52 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001085/0.2158, allocations: 0.6848 MB / 0.9078 GB, free: 55.81 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.147e-05/0.2158, allocations: 11.44 kB / 0.9078 GB, free: 55.8 MB / 0.6042 GB Notification: Performance of SimCode: time 2.91e-07/0.2158, allocations: 0 / 0.9078 GB, free: 55.8 MB / 0.6042 GB Notification: Performance of Templates: time 0.00228/0.2181, allocations: 1.232 MB / 0.909 GB, free: 54.58 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe 2>&1)