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.396/1.396, allocations: 252 MB / 267.6 MB, free: 10.98 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.001084/0.001084, allocations: 184 kB / 327.3 MB, free: 2.246 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.819/1.819, allocations: 205.4 MB / 0.5783 GB, free: 20.29 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.0009411/0.000941, allocations: 106.8 kB / 0.6829 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003401/0.0003403, allocations: 14.12 kB / 0.797 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2065/0.2068, allocations: 106.3 MB / 0.9008 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.001486/0.2084, allocations: 1.182 MB / 0.902 GB, free: 62.76 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001008/0.2094, allocations: 0.8815 MB / 0.9029 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.346e-05/0.2095, allocations: 0 / 0.9029 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001508/0.2096, allocations: 43.83 kB / 0.9029 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 2.324e-05/0.2097, allocations: 11.86 kB / 0.9029 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003927/0.2101, allocations: 167.3 kB / 0.9031 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.688e-05/0.2101, allocations: 47.75 kB / 0.9031 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.33e-05/0.2102, allocations: 7.969 kB / 0.9031 GB, free: 61.6 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 8.268e-05/0.2103, allocations: 19.88 kB / 0.9031 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.386e-05/0.2103, allocations: 15.92 kB / 0.9032 GB, free: 61.56 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.012e-05/0.2103, allocations: 3.938 kB / 0.9032 GB, free: 61.56 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002481/0.2106, allocations: 135.8 kB / 0.9033 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 8.486e-06/0.2106, allocations: 11.92 kB / 0.9033 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.985e-05/0.2106, allocations: 33.69 kB / 0.9033 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001162/0.2107, allocations: 80.11 kB / 0.9034 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.2108, allocations: 4 kB / 0.9034 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.713e-06/0.2108, allocations: 0 / 0.9034 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.2108, allocations: 0 / 0.9034 GB, free: 61.29 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.0002508/0.211, allocations: 359.1 kB / 0.9038 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.255e-05/0.2111, allocations: 12.03 kB / 0.9038 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.924e-05/0.2111, allocations: 83.12 kB / 0.9038 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001369/0.2113, allocations: 260.8 kB / 0.9041 GB, free: 60.51 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.35e-05/0.2113, allocations: 158.5 kB / 0.9042 GB, free: 60.35 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.822e-05/0.2113, allocations: 158.6 kB / 0.9044 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.506e-05/0.2114, allocations: 101 kB / 0.9045 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.2114, allocations: 79.22 kB / 0.9046 GB, free: 60.01 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.914e-05/0.2114, allocations: 150.6 kB / 0.9047 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.894e-05/0.2114, allocations: 150.6 kB / 0.9049 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.048e-05/0.2115, allocations: 158.5 kB / 0.905 GB, free: 59.56 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000186/0.2117, allocations: 465.9 kB / 0.9055 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 4.383e-05/0.2117, allocations: 165.1 kB / 0.9056 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.695e-05/0.2117, allocations: 80.14 kB / 0.9057 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.552e-05/0.2117, allocations: 87.28 kB / 0.9058 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.957e-05/0.2118, allocations: 105.8 kB / 0.9059 GB, free: 58.6 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.2118, allocations: 0 / 0.9059 GB, free: 58.6 MB / 0.6042 GB Notification: Performance of matching and sorting (n=0): time 6.297e-05/0.2118, allocations: 37.55 kB / 0.9059 GB, free: 58.56 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.106e-05/0.2119, allocations: 126.7 kB / 0.906 GB, free: 58.42 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000102/0.212, allocations: 130 kB / 0.9061 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.752e-06/0.212, allocations: 25.7 kB / 0.9062 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.431e-05/0.212, allocations: 100.1 kB / 0.9063 GB, free: 58.15 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.224e-06/0.2121, allocations: 0 / 0.9063 GB, free: 58.15 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.775e-06/0.2121, allocations: 0 / 0.9063 GB, free: 58.15 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.191e-05/0.2121, allocations: 318.8 kB / 0.9066 GB, free: 57.83 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.887e-05/0.2121, allocations: 7.984 kB / 0.9066 GB, free: 57.82 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.226e-05/0.2122, allocations: 11.94 kB / 0.9066 GB, free: 57.81 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.962e-05/0.2122, allocations: 4 kB / 0.9066 GB, free: 57.81 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.2122, allocations: 0 / 0.9066 GB, free: 57.81 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.692e-05/0.2123, allocations: 49.55 kB / 0.9066 GB, free: 57.75 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.103e-05/0.2123, allocations: 4.062 kB / 0.9066 GB, free: 57.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.733e-05/0.2123, allocations: 7.984 kB / 0.9067 GB, free: 57.74 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.2124, allocations: 4 kB / 0.9067 GB, free: 57.74 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.062e-06/0.2124, allocations: 0 / 0.9067 GB, free: 57.74 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.2124, allocations: 0 / 0.9067 GB, free: 57.74 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.198e-05/0.2124, allocations: 4 kB / 0.9067 GB, free: 57.73 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.703e-06/0.2124, allocations: 0 / 0.9067 GB, free: 57.73 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.699e-05/0.2125, allocations: 189.1 kB / 0.9068 GB, free: 57.54 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.129e-05/0.2125, allocations: 108.9 kB / 0.9069 GB, free: 57.43 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.839e-05/0.2126, allocations: 120.8 kB / 0.9071 GB, free: 57.3 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.672e-05/0.2126, allocations: 176.3 kB / 0.9072 GB, free: 57.12 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.153e-05/0.2126, allocations: 188.2 kB / 0.9074 GB, free: 56.93 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.316e-05/0.2127, allocations: 176.3 kB / 0.9076 GB, free: 56.75 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001577/0.2128, allocations: 413.2 kB / 0.908 GB, free: 56.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.807e-05/0.2128, allocations: 116.9 kB / 0.9081 GB, free: 56.16 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.402e-05/0.2129, allocations: 101 kB / 0.9082 GB, free: 56.06 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.459e-05/0.2129, allocations: 180.2 kB / 0.9084 GB, free: 55.88 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.139e-05/0.2129, allocations: 176.5 kB / 0.9085 GB, free: 55.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.583e-05/0.213, allocations: 184.3 kB / 0.9087 GB, free: 55.51 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.506e-05/0.213, allocations: 192.2 kB / 0.9089 GB, free: 55.31 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.64e-05/0.2131, allocations: 311.6 kB / 0.9092 GB, free: 54.98 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.531e-05/0.2131, allocations: 190.1 kB / 0.9094 GB, free: 54.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.245e-05/0.2131, allocations: 180.2 kB / 0.9095 GB, free: 54.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.925e-05/0.2132, allocations: 104.9 kB / 0.9096 GB, free: 54.48 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.943e-05/0.2133, allocations: 184.3 kB / 0.9098 GB, free: 54.29 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.414e-05/0.2133, allocations: 104.9 kB / 0.9099 GB, free: 54.18 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.103e-05/0.2133, allocations: 105.8 kB / 0.91 GB, free: 54.08 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2133, allocations: 0 / 0.91 GB, free: 54.08 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002613/0.2136, allocations: 39.92 kB / 0.91 GB, free: 54.04 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 (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.0002246/0.2138, allocations: 206.5 kB / 0.9102 GB, free: 53.83 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 8.051e-05/0.2139, allocations: 45.69 kB / 0.9103 GB, free: 53.78 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.2139, allocations: 3.938 kB / 0.9103 GB, free: 53.78 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.653e-06/0.2139, allocations: 0 / 0.9103 GB, free: 53.78 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003733/0.2143, allocations: 0.5399 MB / 0.9108 GB, free: 53.23 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002431/0.2146, allocations: 265.6 kB / 0.9111 GB, free: 52.94 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001159/0.2147, allocations: 0.6848 MB / 0.9117 GB, free: 52.23 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.658e-06/0.2147, allocations: 7.438 kB / 0.9117 GB, free: 52.22 MB / 0.6042 GB Notification: Performance of SimCode: time 2e-07/0.2147, allocations: 0 / 0.9117 GB, free: 52.22 MB / 0.6042 GB Notification: Performance of Templates: time 0.002216/0.2169, allocations: 1.222 MB / 0.9129 GB, free: 51.01 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)