Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001556/0.001556, allocations: 102.1 kB / 16.27 MB, free: 6.348 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.001563/0.001563, allocations: 187.6 kB / 17.2 MB, free: 5.949 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.445/1.445, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.748/1.748, allocations: 292.3 MB / 0.5495 GB, free: 17.64 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001737/0.001738, allocations: 75.02 kB / 0.6722 GB, free: 6.578 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2481/0.2499, allocations: 114.5 MB / 0.784 GB, free: 3.91 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.002626/0.2525, allocations: 1.287 MB / 0.7853 GB, free: 2.609 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.4415/0.694, allocations: 3.744 MB / 0.789 GB, free: 45.94 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.183e-05/0.6941, allocations: 0 / 0.789 GB, free: 45.94 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 1.603e-05/0.6942, allocations: 1.406 kB / 0.789 GB, free: 45.94 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0004565/0.6947, allocations: 98.16 kB / 0.789 GB, free: 45.94 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002949/0.695, allocations: 139.1 kB / 0.7892 GB, free: 45.94 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 5.85e-05/0.695, allocations: 24 kB / 0.7892 GB, free: 45.94 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.705e-05/0.6951, allocations: 4.25 kB / 0.7892 GB, free: 45.94 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001162/0.6952, allocations: 26.31 kB / 0.7892 GB, free: 45.94 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 9.77e-05/0.6953, allocations: 40.05 kB / 0.7893 GB, free: 45.94 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.056e-05/0.6953, allocations: 0 / 0.7893 GB, free: 45.94 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000421/0.6958, allocations: 310.4 kB / 0.7896 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.279e-05/0.6958, allocations: 6.656 kB / 0.7896 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.203e-05/0.6958, allocations: 3.031 kB / 0.7896 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002018/0.696, allocations: 123.2 kB / 0.7897 GB, free: 45.92 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.696, allocations: 1.594 kB / 0.7897 GB, free: 45.92 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.134e-06/0.6961, allocations: 0 / 0.7897 GB, free: 45.92 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.969e-06/0.6961, allocations: 0 / 0.7897 GB, free: 45.92 MB / 0.6544 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.0003612/0.6964, allocations: 352 kB / 0.79 GB, free: 45.55 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.483e-05/0.6965, allocations: 11 kB / 0.79 GB, free: 45.55 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.08e-05/0.6965, allocations: 3.562 kB / 0.79 GB, free: 45.55 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.544e-05/0.6966, allocations: 175.4 kB / 0.7902 GB, free: 45.34 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.754e-06/0.6966, allocations: 4.469 kB / 0.7902 GB, free: 45.34 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.072e-05/0.6966, allocations: 5.312 kB / 0.7902 GB, free: 45.34 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.851e-05/0.6967, allocations: 42 kB / 0.7903 GB, free: 45.31 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.6968, allocations: 0 / 0.7903 GB, free: 45.31 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.6968, allocations: 0 / 0.7903 GB, free: 45.31 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.6968, allocations: 2.625 kB / 0.7903 GB, free: 45.31 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.556e-05/0.6968, allocations: 2.625 kB / 0.7903 GB, free: 45.31 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001322/0.697, allocations: 156 kB / 0.7904 GB, free: 45.12 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 5.774e-05/0.697, allocations: 26.55 kB / 0.7904 GB, free: 45.1 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.972e-05/0.6971, allocations: 7.484 kB / 0.7904 GB, free: 45.09 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002161/0.6973, allocations: 100.8 kB / 0.7905 GB, free: 45 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.72e-05/0.6973, allocations: 37.12 kB / 0.7906 GB, free: 44.95 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.6973, allocations: 0.625 kB / 0.7906 GB, free: 44.95 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2): time 0.0001433/0.6975, allocations: 44.14 kB / 0.7906 GB, free: 44.92 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.457e-05/0.6975, allocations: 53.66 kB / 0.7907 GB, free: 44.86 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.916e-05/0.6976, allocations: 100.7 kB / 0.7908 GB, free: 44.76 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 8.786e-06/0.6976, allocations: 31.52 kB / 0.7908 GB, free: 44.73 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.04e-05/0.6976, allocations: 86.41 kB / 0.7909 GB, free: 44.65 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.534e-05/0.6976, allocations: 6.094 kB / 0.7909 GB, free: 44.64 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.399e-05/0.6977, allocations: 12.34 kB / 0.7909 GB, free: 44.63 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.587e-05/0.6977, allocations: 317.8 kB / 0.7912 GB, free: 44.32 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.473e-05/0.6977, allocations: 4.016 kB / 0.7912 GB, free: 44.32 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.005e-05/0.6978, allocations: 3.25 kB / 0.7912 GB, free: 44.32 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.052e-05/0.6978, allocations: 19.22 kB / 0.7912 GB, free: 44.31 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.6978, allocations: 0 / 0.7912 GB, free: 44.31 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.14e-05/0.6979, allocations: 34.73 kB / 0.7913 GB, free: 44.28 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.144e-05/0.6979, allocations: 9.188 kB / 0.7913 GB, free: 44.27 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.6979, allocations: 1.703 kB / 0.7913 GB, free: 44.27 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/0.6979, allocations: 3.188 kB / 0.7913 GB, free: 44.27 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.677e-05/0.698, allocations: 6.312 kB / 0.7913 GB, free: 44.27 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.698, allocations: 1.828 kB / 0.7913 GB, free: 44.27 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.712e-05/0.698, allocations: 6.844 kB / 0.7913 GB, free: 44.27 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.458e-06/0.698, allocations: 0 / 0.7913 GB, free: 44.27 MB / 0.6544 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 5.674e-05/0.6981, allocations: 108.4 kB / 0.7914 GB, free: 44.16 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.026e-05/0.6981, allocations: 17.03 kB / 0.7914 GB, free: 44.15 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.924e-05/0.6982, allocations: 50.2 kB / 0.7915 GB, free: 44.12 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.6982, allocations: 1.938 kB / 0.7915 GB, free: 44.12 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.6982, allocations: 2.766 kB / 0.7915 GB, free: 44.12 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.6982, allocations: 1.312 kB / 0.7915 GB, free: 44.12 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.374e-05/0.6983, allocations: 155.7 kB / 0.7916 GB, free: 43.93 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.6983, allocations: 0 / 0.7916 GB, free: 43.93 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.098e-05/0.6983, allocations: 4.875 kB / 0.7916 GB, free: 43.93 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.6983, allocations: 6.438 kB / 0.7916 GB, free: 43.93 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.011e-06/0.6983, allocations: 3.844 kB / 0.7916 GB, free: 43.93 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.22e-07/0.6983, allocations: 0 / 0.7916 GB, free: 43.93 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.6984, allocations: 0 / 0.7916 GB, free: 43.93 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.2e-05/0.6984, allocations: 61.7 kB / 0.7917 GB, free: 43.86 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.873e-05/0.6985, allocations: 86.39 kB / 0.7918 GB, free: 43.77 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.3e-05/0.6985, allocations: 3.938 kB / 0.7918 GB, free: 43.77 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.537e-05/0.6985, allocations: 0 / 0.7918 GB, free: 43.77 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.659e-05/0.6985, allocations: 5.906 kB / 0.7918 GB, free: 43.77 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.374e-06/0.6985, allocations: 2.531 kB / 0.7918 GB, free: 43.77 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.092e-05/0.6986, allocations: 82.06 kB / 0.7919 GB, free: 43.69 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6986, allocations: 0.9688 kB / 0.7919 GB, free: 43.69 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002354/0.6988, allocations: 25.16 kB / 0.7919 GB, free: 43.68 MB / 0.6544 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.0001749/0.699, allocations: 132.2 kB / 0.792 GB, free: 43.59 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 8.777e-05/0.6991, allocations: 8.562 kB / 0.792 GB, free: 43.59 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.6991, allocations: 0.6875 kB / 0.792 GB, free: 43.59 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 1.42e-05/0.6991, allocations: 9.891 kB / 0.792 GB, free: 43.59 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002453/0.6994, allocations: 7.656 kB / 0.792 GB, free: 43.59 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002671/0.6996, allocations: 159.2 kB / 0.7922 GB, free: 43.45 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001337/0.6998, allocations: 0.6768 MB / 0.7928 GB, free: 42.75 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.966e-05/0.6998, allocations: 10.06 kB / 0.7929 GB, free: 42.75 MB / 0.6544 GB Notification: Performance of SimCode: time 1.282e-06/0.6998, allocations: 0 / 0.7929 GB, free: 42.75 MB / 0.6544 GB Notification: Performance of Templates: time 0.002033/0.7018, allocations: 0.724 MB / 0.7936 GB, free: 42.71 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.makefile (rm -f Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.sim & ./Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe 2>&1)