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.ConvectionResistance.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.ConvectionResistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance") translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.369/1.369, allocations: 252 MB / 268 MB, free: 10.86 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.00107/0.00107, allocations: 183.7 kB / 327.6 MB, free: 2.082 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.779/1.779, allocations: 205.4 MB / 0.5786 GB, free: 20.16 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.001004/0.001005, allocations: 92.06 kB / 0.6832 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000328/0.0003281, allocations: 15.94 kB / 0.7976 GB, free: 134.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2076/0.208, allocations: 106.3 MB / 0.9015 GB, free: 63.33 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.00128/0.2093, allocations: 1.022 MB / 0.9025 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003565/0.2129, allocations: 3.718 MB / 0.9061 GB, free: 58.56 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.994e-05/0.2129, allocations: 0 / 0.9061 GB, free: 58.56 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.883e-05/0.213, allocations: 0 / 0.9061 GB, free: 58.56 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0004055/0.2134, allocations: 87.55 kB / 0.9062 GB, free: 58.47 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002199/0.2136, allocations: 99.69 kB / 0.9063 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.227e-05/0.2137, allocations: 27.92 kB / 0.9063 GB, free: 58.35 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.072e-05/0.2137, allocations: 0 / 0.9063 GB, free: 58.35 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001077/0.2138, allocations: 27.91 kB / 0.9063 GB, free: 58.32 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 9.309e-05/0.2139, allocations: 35.86 kB / 0.9064 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 9.288e-06/0.2139, allocations: 0 / 0.9064 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003896/0.2143, allocations: 303.6 kB / 0.9067 GB, free: 57.99 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.342e-05/0.2144, allocations: 3.984 kB / 0.9067 GB, free: 57.98 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.955e-05/0.2144, allocations: 33.64 kB / 0.9067 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001298/0.2145, allocations: 75.89 kB / 0.9068 GB, free: 57.87 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.2145, allocations: 0 / 0.9068 GB, free: 57.87 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.014e-06/0.2146, allocations: 0 / 0.9068 GB, free: 57.87 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.679e-06/0.2146, allocations: 0 / 0.9068 GB, free: 57.87 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003189/0.2149, allocations: 347.8 kB / 0.9071 GB, free: 57.48 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.2149, allocations: 12.03 kB / 0.9071 GB, free: 57.47 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.194e-05/0.215, allocations: 8.781 kB / 0.9071 GB, free: 57.46 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.67e-05/0.2151, allocations: 168.3 kB / 0.9073 GB, free: 57.26 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.173e-05/0.2151, allocations: 4.375 kB / 0.9073 GB, free: 57.26 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.048e-05/0.2151, allocations: 8.297 kB / 0.9073 GB, free: 57.25 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.643e-05/0.2152, allocations: 41.77 kB / 0.9073 GB, free: 57.2 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.732e-06/0.2152, allocations: 0 / 0.9073 GB, free: 57.2 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.367e-06/0.2152, allocations: 0 / 0.9073 GB, free: 57.2 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.2152, allocations: 0 / 0.9073 GB, free: 57.2 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.235e-05/0.2153, allocations: 11.98 kB / 0.9073 GB, free: 57.19 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001273/0.2154, allocations: 149.7 kB / 0.9075 GB, free: 57 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 5.009e-05/0.2155, allocations: 34.59 kB / 0.9075 GB, free: 56.95 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.758e-05/0.2155, allocations: 12.8 kB / 0.9075 GB, free: 56.94 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002239/0.2157, allocations: 93.16 kB / 0.9076 GB, free: 56.83 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.874e-05/0.2157, allocations: 42.5 kB / 0.9077 GB, free: 56.78 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.2158, allocations: 0 / 0.9077 GB, free: 56.78 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0001579/0.2159, allocations: 37.69 kB / 0.9077 GB, free: 56.73 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.341e-05/0.216, allocations: 59.53 kB / 0.9077 GB, free: 56.66 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.228e-05/0.216, allocations: 101.8 kB / 0.9078 GB, free: 56.55 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.535e-06/0.216, allocations: 25.7 kB / 0.9079 GB, free: 56.52 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.696e-05/0.2161, allocations: 80.14 kB / 0.9079 GB, free: 56.44 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.347e-05/0.2161, allocations: 11.91 kB / 0.908 GB, free: 56.43 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.645e-06/0.2161, allocations: 0 / 0.908 GB, free: 56.43 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.747e-05/0.2161, allocations: 310.8 kB / 0.9083 GB, free: 56.12 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.301e-05/0.2162, allocations: 7.938 kB / 0.9083 GB, free: 56.11 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.654e-06/0.2162, allocations: 0 / 0.9083 GB, free: 56.11 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.842e-05/0.2162, allocations: 20.92 kB / 0.9083 GB, free: 56.09 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/0.2162, allocations: 0 / 0.9083 GB, free: 56.09 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.063e-05/0.2163, allocations: 41.62 kB / 0.9083 GB, free: 56.04 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.2163, allocations: 6.5 kB / 0.9083 GB, free: 56.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.2163, allocations: 0 / 0.9083 GB, free: 56.04 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.2163, allocations: 4 kB / 0.9083 GB, free: 56.03 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.018e-05/0.2164, allocations: 4 kB / 0.9083 GB, free: 56.03 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.2164, allocations: 0 / 0.9083 GB, free: 56.03 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.71e-05/0.2164, allocations: 4 kB / 0.9083 GB, free: 56.02 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.378e-06/0.2164, allocations: 8.219 kB / 0.9083 GB, free: 56.02 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 (2): * Single equations (assignments): 2 * 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 prepare postOptimizeDAE: time 4.86e-05/0.2165, allocations: 109.8 kB / 0.9084 GB, free: 55.9 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.957e-06/0.2165, allocations: 11.84 kB / 0.9085 GB, free: 55.89 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.695e-05/0.2166, allocations: 44.77 kB / 0.9085 GB, free: 55.83 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.387e-06/0.2166, allocations: 3.984 kB / 0.9085 GB, free: 55.83 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.2166, allocations: 7.938 kB / 0.9085 GB, free: 55.82 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.2166, allocations: 4 kB / 0.9085 GB, free: 55.82 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.91e-05/0.2167, allocations: 153.7 kB / 0.9087 GB, free: 55.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.2167, allocations: 3.984 kB / 0.9087 GB, free: 55.61 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.139e-05/0.2167, allocations: 3.938 kB / 0.9087 GB, free: 55.61 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.382e-06/0.2167, allocations: 4 kB / 0.9087 GB, free: 55.61 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.422e-06/0.2168, allocations: 0 / 0.9087 GB, free: 55.61 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.2168, allocations: 0 / 0.9087 GB, free: 55.61 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.2168, allocations: 0 / 0.9087 GB, free: 55.61 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.172e-05/0.2168, allocations: 69.06 kB / 0.9087 GB, free: 55.52 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.809e-05/0.2169, allocations: 85.08 kB / 0.9088 GB, free: 55.42 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.233e-05/0.2169, allocations: 0 / 0.9088 GB, free: 55.42 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.4e-05/0.2169, allocations: 0 / 0.9088 GB, free: 55.42 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.514e-05/0.2169, allocations: 4 kB / 0.9088 GB, free: 55.41 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.405e-06/0.2169, allocations: 0 / 0.9088 GB, free: 55.41 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.191e-05/0.217, allocations: 87.27 kB / 0.9089 GB, free: 55.33 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1e-07/0.217, allocations: 0 / 0.9089 GB, free: 55.33 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001899/0.2172, allocations: 24 kB / 0.9089 GB, free: 55.3 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 (2): * Single equations (assignments): 2 * 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.0001731/0.2173, allocations: 135.2 kB / 0.9091 GB, free: 55.16 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 6.944e-05/0.2174, allocations: 15.94 kB / 0.9091 GB, free: 55.15 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.2174, allocations: 0 / 0.9091 GB, free: 55.15 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.037e-05/0.2174, allocations: 4 kB / 0.9091 GB, free: 55.14 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002011/0.2176, allocations: 11.38 kB / 0.9091 GB, free: 55.14 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002497/0.2179, allocations: 170.3 kB / 0.9093 GB, free: 54.94 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001074/0.218, allocations: 0.677 MB / 0.9099 GB, free: 54.23 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.796e-05/0.218, allocations: 15.42 kB / 0.9099 GB, free: 54.22 MB / 0.6042 GB Notification: Performance of SimCode: time 2.2e-07/0.218, allocations: 3.938 kB / 0.9099 GB, free: 54.21 MB / 0.6042 GB Notification: Performance of Templates: time 0.001806/0.2199, allocations: 0.7135 MB / 0.9106 GB, free: 53.51 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe 2>&1)