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.357/1.357, allocations: 251.5 MB / 267.4 MB, free: 11.13 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.0009607/0.0009607, allocations: 186.2 kB / 326.5 MB, free: 2.707 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.718/1.718, allocations: 205 MB / 0.5766 GB, free: 20.99 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.0008909/0.0008908, allocations: 92.73 kB / 0.6804 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003168/0.0003169, allocations: 8.156 kB / 0.7938 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1928/0.1931, allocations: 105.4 MB / 0.8968 GB, free: 68.21 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.001325/0.1945, allocations: 1.018 MB / 0.8977 GB, free: 67.18 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003193/0.1977, allocations: 3.785 MB / 0.9014 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.751e-05/0.1977, allocations: 0 / 0.9014 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.993e-05/0.1977, allocations: 0 / 0.9014 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0003662/0.1981, allocations: 91.55 kB / 0.9015 GB, free: 63.29 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002163/0.1983, allocations: 91.75 kB / 0.9016 GB, free: 63.2 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.628e-05/0.1984, allocations: 31.86 kB / 0.9017 GB, free: 63.17 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 3.344e-05/0.1984, allocations: 0 / 0.9017 GB, free: 63.17 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 9.574e-05/0.1985, allocations: 27.91 kB / 0.9017 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.915e-05/0.1986, allocations: 39.86 kB / 0.9017 GB, free: 63.1 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 9.397e-06/0.1986, allocations: 0 / 0.9017 GB, free: 63.1 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003442/0.199, allocations: 299.6 kB / 0.902 GB, free: 62.81 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 9.538e-06/0.199, allocations: 0 / 0.902 GB, free: 62.81 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.881e-05/0.199, allocations: 11.92 kB / 0.902 GB, free: 62.8 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001162/0.1992, allocations: 80.11 kB / 0.9021 GB, free: 62.72 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.304e-06/0.1992, allocations: 0 / 0.9021 GB, free: 62.72 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.242e-06/0.1992, allocations: 0 / 0.9021 GB, free: 62.72 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.767e-06/0.1992, allocations: 0 / 0.9021 GB, free: 62.72 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.0002332/0.1994, allocations: 347.5 kB / 0.9024 GB, free: 62.33 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.091e-05/0.1995, allocations: 12.03 kB / 0.9024 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.016e-05/0.1995, allocations: 4.844 kB / 0.9024 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.067e-05/0.1996, allocations: 172.4 kB / 0.9026 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.074e-05/0.1996, allocations: 384 / 0.9026 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.412e-06/0.1996, allocations: 4.312 kB / 0.9026 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.927e-05/0.1997, allocations: 37.81 kB / 0.9026 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.674e-06/0.1997, allocations: 0 / 0.9026 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.734e-06/0.1997, allocations: 0 / 0.9026 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.1997, allocations: 0 / 0.9026 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.312e-05/0.1998, allocations: 8 kB / 0.9026 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001134/0.1999, allocations: 161.7 kB / 0.9028 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 4.804e-05/0.1999, allocations: 34.53 kB / 0.9028 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.601e-05/0.2, allocations: 8.797 kB / 0.9028 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000202/0.2002, allocations: 97.16 kB / 0.9029 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.644e-05/0.2002, allocations: 42.44 kB / 0.903 GB, free: 61.63 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.2002, allocations: 0 / 0.903 GB, free: 61.63 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.00013/0.2003, allocations: 45.69 kB / 0.903 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.408e-05/0.2004, allocations: 51.41 kB / 0.9031 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.305e-05/0.2004, allocations: 97.86 kB / 0.9032 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.065e-06/0.2004, allocations: 25.7 kB / 0.9032 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.792e-05/0.2005, allocations: 88.12 kB / 0.9033 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.143e-05/0.2005, allocations: 11.97 kB / 0.9033 GB, free: 61.28 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.93e-05/0.2005, allocations: 13.72 kB / 0.9033 GB, free: 61.26 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.439e-05/0.2006, allocations: 310.8 kB / 0.9036 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.094e-05/0.2006, allocations: 7.938 kB / 0.9036 GB, free: 60.94 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.995e-06/0.2006, allocations: 0 / 0.9036 GB, free: 60.94 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.624e-05/0.2006, allocations: 16.86 kB / 0.9036 GB, free: 60.92 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.2006, allocations: 0 / 0.9036 GB, free: 60.92 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.959e-05/0.2007, allocations: 41.62 kB / 0.9037 GB, free: 60.87 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.184e-05/0.2007, allocations: 12.09 kB / 0.9037 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.2007, allocations: 0 / 0.9037 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.093e-05/0.2007, allocations: 0 / 0.9037 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.547e-05/0.2008, allocations: 4 kB / 0.9037 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.2008, allocations: 0 / 0.9037 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.638e-05/0.2008, allocations: 7.938 kB / 0.9037 GB, free: 60.85 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.767e-06/0.2008, allocations: 0 / 0.9037 GB, free: 60.85 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.156e-05/0.2009, allocations: 105.8 kB / 0.9038 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.946e-06/0.2009, allocations: 15.83 kB / 0.9038 GB, free: 60.72 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.016e-05/0.201, allocations: 44.83 kB / 0.9038 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.201, allocations: 4 kB / 0.9038 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.201, allocations: 0 / 0.9038 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.201, allocations: 3.984 kB / 0.9038 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.515e-05/0.2011, allocations: 149.7 kB / 0.904 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.2011, allocations: 0 / 0.904 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.151e-05/0.2011, allocations: 11.92 kB / 0.904 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/0.2011, allocations: 0 / 0.904 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.731e-06/0.2011, allocations: 0 / 0.904 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.2011, allocations: 0 / 0.904 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.2011, allocations: 7.969 kB / 0.904 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.584e-05/0.2012, allocations: 69.02 kB / 0.9041 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.576e-05/0.2012, allocations: 85.03 kB / 0.9042 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.126e-05/0.2012, allocations: 0 / 0.9042 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.48e-05/0.2013, allocations: 4 kB / 0.9042 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.184e-05/0.2013, allocations: 0 / 0.9042 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.194e-06/0.2013, allocations: 256 / 0.9042 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.146e-05/0.2013, allocations: 95.3 kB / 0.9042 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1e-07/0.2013, allocations: 0 / 0.9042 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002376/0.2016, allocations: 20 kB / 0.9043 GB, free: 60.14 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.0001575/0.2017, allocations: 127.2 kB / 0.9044 GB, free: 60 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 6.87e-05/0.2018, allocations: 19.92 kB / 0.9044 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.2018, allocations: 0 / 0.9044 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.09e-05/0.2018, allocations: 4 kB / 0.9044 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001922/0.202, allocations: 12.06 kB / 0.9044 GB, free: 59.97 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002383/0.2023, allocations: 155.2 kB / 0.9046 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.128e-05/0.2024, allocations: 0.677 MB / 0.9052 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.508e-05/0.2024, allocations: 15.38 kB / 0.9052 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of SimCode: time 2.2e-07/0.2024, allocations: 0 / 0.9052 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of Templates: time 0.001723/0.2041, allocations: 0.7124 MB / 0.9059 GB, free: 58.36 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)