Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_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_7.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.226/2.226, allocations: 251.3 MB / 266.2 MB, free: 11.52 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001312/0.001312, allocations: 171.5 kB / 325.8 MB, free: 2.785 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.37/2.37, allocations: 205.4 MB / 0.5767 GB, free: 20.73 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009348/0.0009339, allocations: 90.72 kB / 0.6812 GB, free: 13.56 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004681/0.0004683, allocations: 11.97 kB / 0.7953 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1951/0.1956, allocations: 106.3 MB / 0.8991 GB, free: 65.38 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.001437/0.1971, allocations: 1.009 MB / 0.9 GB, free: 64.36 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.004726/0.2019, allocations: 3.515 MB / 0.9035 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.01e-05/0.202, allocations: 0 / 0.9035 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.384e-05/0.202, allocations: 3.984 kB / 0.9035 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0004895/0.2025, allocations: 83.56 kB / 0.9036 GB, free: 60.74 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003771/0.2029, allocations: 94.12 kB / 0.9036 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.007e-05/0.203, allocations: 23.86 kB / 0.9037 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.478e-05/0.203, allocations: 4 kB / 0.9037 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001158/0.2032, allocations: 23.86 kB / 0.9037 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001153/0.2033, allocations: 39.89 kB / 0.9037 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.349e-05/0.2033, allocations: 4 kB / 0.9037 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005932/0.2039, allocations: 291.6 kB / 0.904 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.205e-05/0.2039, allocations: 11.97 kB / 0.904 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.039e-05/0.204, allocations: 29.7 kB / 0.9041 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001715/0.2042, allocations: 67.89 kB / 0.9041 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.2042, allocations: 0 / 0.9041 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.833e-06/0.2042, allocations: 0 / 0.9041 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.638e-06/0.2042, allocations: 0 / 0.9041 GB, free: 60.16 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.000328/0.2045, allocations: 351.7 kB / 0.9045 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.2046, allocations: 16.03 kB / 0.9045 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.166e-05/0.2046, allocations: 0.9375 kB / 0.9045 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.405e-05/0.2047, allocations: 172.3 kB / 0.9046 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.345e-05/0.2047, allocations: 384 / 0.9046 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.828e-06/0.2048, allocations: 384 / 0.9046 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.866e-05/0.2049, allocations: 41.77 kB / 0.9047 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.2049, allocations: 0 / 0.9047 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.317e-06/0.2049, allocations: 0 / 0.9047 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.2049, allocations: 0 / 0.9047 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.083e-05/0.205, allocations: 4 kB / 0.9047 GB, free: 59.49 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000142/0.2051, allocations: 161.6 kB / 0.9048 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 5.764e-05/0.2052, allocations: 26.59 kB / 0.9049 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.307e-05/0.2052, allocations: 8.859 kB / 0.9049 GB, free: 59.24 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002815/0.2055, allocations: 93.16 kB / 0.905 GB, free: 59.13 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.25e-05/0.2056, allocations: 46.44 kB / 0.905 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.653e-06/0.2056, allocations: 0 / 0.905 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0001564/0.2057, allocations: 41.69 kB / 0.905 GB, free: 59.03 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.404e-05/0.2058, allocations: 59.34 kB / 0.9051 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.223e-05/0.2058, allocations: 97.86 kB / 0.9052 GB, free: 58.85 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.097e-06/0.2059, allocations: 29.64 kB / 0.9052 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.979e-05/0.2059, allocations: 80.14 kB / 0.9053 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.075e-05/0.2059, allocations: 11.89 kB / 0.9053 GB, free: 58.72 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.32e-06/0.2059, allocations: 0 / 0.9053 GB, free: 58.72 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.935e-05/0.206, allocations: 319 kB / 0.9056 GB, free: 58.4 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.741e-05/0.2061, allocations: 0 / 0.9056 GB, free: 58.4 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.484e-05/0.2061, allocations: 4 kB / 0.9056 GB, free: 58.4 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.51e-05/0.2061, allocations: 7.938 kB / 0.9056 GB, free: 58.39 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.2061, allocations: 0 / 0.9056 GB, free: 58.39 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.017e-05/0.2062, allocations: 45.62 kB / 0.9057 GB, free: 58.34 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.2062, allocations: 4 kB / 0.9057 GB, free: 58.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.2063, allocations: 4 kB / 0.9057 GB, free: 58.33 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.2063, allocations: 4.094 kB / 0.9057 GB, free: 58.33 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.419e-05/0.2064, allocations: 4 kB / 0.9057 GB, free: 58.32 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.2064, allocations: 0 / 0.9057 GB, free: 58.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.382e-05/0.2064, allocations: 0 / 0.9057 GB, free: 58.32 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.603e-06/0.2064, allocations: 0 / 0.9057 GB, free: 58.32 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.373e-05/0.2065, allocations: 105.8 kB / 0.9058 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.25e-05/0.2065, allocations: 7.938 kB / 0.9058 GB, free: 58.2 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001275/0.2066, allocations: 52.66 kB / 0.9058 GB, free: 58.14 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.2067, allocations: 4.031 kB / 0.9058 GB, free: 58.14 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.179e-06/0.2067, allocations: 4.25 kB / 0.9058 GB, free: 58.13 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.2067, allocations: 0 / 0.9058 GB, free: 58.13 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.69e-05/0.2068, allocations: 157.7 kB / 0.906 GB, free: 57.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.2068, allocations: 0 / 0.906 GB, free: 57.93 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.579e-05/0.2068, allocations: 7.938 kB / 0.906 GB, free: 57.92 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.2068, allocations: 3.984 kB / 0.906 GB, free: 57.92 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.995e-06/0.2069, allocations: 3.984 kB / 0.906 GB, free: 57.91 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.2069, allocations: 0 / 0.906 GB, free: 57.91 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.2069, allocations: 0 / 0.906 GB, free: 57.91 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.78e-05/0.207, allocations: 69.08 kB / 0.9061 GB, free: 57.83 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.647e-05/0.207, allocations: 85.03 kB / 0.9062 GB, free: 57.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.509e-05/0.207, allocations: 0 / 0.9062 GB, free: 57.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.205e-05/0.2071, allocations: 3.938 kB / 0.9062 GB, free: 57.72 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.551e-05/0.2071, allocations: 4 kB / 0.9062 GB, free: 57.72 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.847e-06/0.2071, allocations: 0 / 0.9062 GB, free: 57.72 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.798e-05/0.2072, allocations: 83.28 kB / 0.9062 GB, free: 57.64 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.61e-07/0.2072, allocations: 7.969 kB / 0.9063 GB, free: 57.63 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002596/0.2074, allocations: 23.98 kB / 0.9063 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 (2): * Single equations (assignments): 2 * 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.0002436/0.2077, allocations: 131.2 kB / 0.9064 GB, free: 57.47 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 9.78e-05/0.2078, allocations: 15.98 kB / 0.9064 GB, free: 57.45 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.2078, allocations: 0 / 0.9064 GB, free: 57.45 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 2.052e-05/0.2078, allocations: 7.938 kB / 0.9064 GB, free: 57.45 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002319/0.2081, allocations: 3.938 kB / 0.9064 GB, free: 57.44 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002884/0.2084, allocations: 150.5 kB / 0.9066 GB, free: 57.27 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001096/0.2085, allocations: 0.6809 MB / 0.9072 GB, free: 56.56 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 4.225e-05/0.2086, allocations: 0 / 0.9072 GB, free: 56.56 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.98e-05/0.2086, allocations: 11.44 kB / 0.9072 GB, free: 56.55 MB / 0.6042 GB Notification: Performance of SimCode: time 6.21e-07/0.2086, allocations: 4 kB / 0.9073 GB, free: 56.55 MB / 0.6042 GB Notification: Performance of Templates: time 0.003486/0.2121, allocations: 0.7086 MB / 0.9079 GB, free: 55.85 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.sim & ./Buildings_7.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe 2>&1)