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/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 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007176/0.007177, allocations: 106.2 kB / 15.74 MB, free: 6 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.001619/0.001619, allocations: 199 kB / 16.68 MB, free: 5.918 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.402/1.402, allocations: 205.1 MB / 222.5 MB, free: 4.324 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.559/1.559, allocations: 251.7 MB / 0.5094 GB, free: 3.008 MB / 414.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.001423/0.001423, allocations: 67.91 kB / 0.7258 GB, free: 8.984 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2031/0.2046, allocations: 104.7 MB / 0.8281 GB, free: 176 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.002236/0.2068, allocations: 1.277 MB / 0.8293 GB, free: 14.89 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.00412/0.211, allocations: 3.764 MB / 0.833 GB, free: 11.1 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.442e-05/0.211, allocations: 4 kB / 0.833 GB, free: 11.09 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.181e-05/0.211, allocations: 7.922 kB / 0.833 GB, free: 11.09 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0004774/0.2115, allocations: 99.48 kB / 0.8331 GB, free: 10.99 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003547/0.2119, allocations: 135.5 kB / 0.8332 GB, free: 10.86 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 7.234e-05/0.212, allocations: 31.92 kB / 0.8332 GB, free: 10.82 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 3.724e-05/0.212, allocations: 0 / 0.8332 GB, free: 10.82 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001072/0.2122, allocations: 23.86 kB / 0.8333 GB, free: 10.8 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001106/0.2123, allocations: 39.89 kB / 0.8333 GB, free: 10.76 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.06e-05/0.2123, allocations: 0 / 0.8333 GB, free: 10.76 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004511/0.2128, allocations: 299.6 kB / 0.8336 GB, free: 10.47 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.517e-05/0.2128, allocations: 11.98 kB / 0.8336 GB, free: 10.46 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.538e-05/0.2128, allocations: 3.938 kB / 0.8336 GB, free: 10.45 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002112/0.213, allocations: 119.7 kB / 0.8337 GB, free: 10.34 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.213, allocations: 0 / 0.8337 GB, free: 10.34 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.953e-06/0.2131, allocations: 4 kB / 0.8337 GB, free: 10.33 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.593e-06/0.2131, allocations: 4 kB / 0.8337 GB, free: 10.33 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.0004481/0.2135, allocations: 347.5 kB / 0.8341 GB, free: 9.941 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.2136, allocations: 15.97 kB / 0.8341 GB, free: 9.926 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.795e-05/0.2136, allocations: 4.844 kB / 0.8341 GB, free: 9.922 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001238/0.2137, allocations: 168.4 kB / 0.8342 GB, free: 9.719 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.425e-05/0.2138, allocations: 8.375 kB / 0.8343 GB, free: 9.711 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.095e-06/0.2138, allocations: 384 / 0.8343 GB, free: 9.711 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001146/0.2139, allocations: 37.83 kB / 0.8343 GB, free: 9.668 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.2139, allocations: 0 / 0.8343 GB, free: 9.668 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.708e-06/0.2139, allocations: 0 / 0.8343 GB, free: 9.668 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.598e-06/0.2139, allocations: 0 / 0.8343 GB, free: 9.668 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.428e-05/0.214, allocations: 11.92 kB / 0.8343 GB, free: 9.656 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001718/0.2142, allocations: 153.7 kB / 0.8344 GB, free: 9.457 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 5.866e-05/0.2142, allocations: 30.59 kB / 0.8345 GB, free: 9.418 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.112e-05/0.2143, allocations: 4.859 kB / 0.8345 GB, free: 9.41 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002397/0.2145, allocations: 101.2 kB / 0.8346 GB, free: 9.293 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.212e-05/0.2146, allocations: 34.5 kB / 0.8346 GB, free: 9.25 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 1.523e-06/0.2146, allocations: 0 / 0.8346 GB, free: 9.25 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2): time 0.0001548/0.2147, allocations: 49.62 kB / 0.8347 GB, free: 9.195 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.42e-05/0.2148, allocations: 51.41 kB / 0.8347 GB, free: 9.133 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.488e-05/0.2149, allocations: 101.9 kB / 0.8348 GB, free: 9.023 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.434e-05/0.2149, allocations: 33.7 kB / 0.8348 GB, free: 8.984 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.073e-05/0.2149, allocations: 84.12 kB / 0.8349 GB, free: 8.898 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.408e-05/0.2149, allocations: 7.844 kB / 0.8349 GB, free: 8.891 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.144e-05/0.215, allocations: 17.72 kB / 0.8349 GB, free: 8.867 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001013/0.2151, allocations: 310.8 kB / 0.8352 GB, free: 8.555 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.32e-05/0.2151, allocations: 0 / 0.8352 GB, free: 8.555 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.378e-06/0.2151, allocations: 4 kB / 0.8352 GB, free: 8.551 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.592e-05/0.2152, allocations: 20.92 kB / 0.8353 GB, free: 8.527 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.2152, allocations: 0 / 0.8353 GB, free: 8.527 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.651e-05/0.2152, allocations: 49.47 kB / 0.8353 GB, free: 8.473 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.2153, allocations: 4 kB / 0.8353 GB, free: 8.469 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.2153, allocations: 0 / 0.8353 GB, free: 8.469 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.2153, allocations: 4 kB / 0.8353 GB, free: 8.465 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.528e-05/0.2154, allocations: 0 / 0.8353 GB, free: 8.465 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.2154, allocations: 0 / 0.8353 GB, free: 8.465 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.869e-05/0.2154, allocations: 8 kB / 0.8353 GB, free: 8.457 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.262e-06/0.2154, allocations: 4.234 kB / 0.8353 GB, free: 8.453 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 6.822e-05/0.2155, allocations: 113.9 kB / 0.8354 GB, free: 8.332 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.675e-05/0.2155, allocations: 7.938 kB / 0.8354 GB, free: 8.324 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001099/0.2156, allocations: 48.7 kB / 0.8355 GB, free: 8.27 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.2156, allocations: 3.984 kB / 0.8355 GB, free: 8.266 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.2156, allocations: 4 kB / 0.8355 GB, free: 8.262 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.2156, allocations: 0 / 0.8355 GB, free: 8.262 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.449e-05/0.2157, allocations: 157.7 kB / 0.8356 GB, free: 8.059 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.2158, allocations: 32 / 0.8356 GB, free: 8.059 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.271e-05/0.2158, allocations: 7.938 kB / 0.8357 GB, free: 8.051 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.2158, allocations: 4 kB / 0.8357 GB, free: 8.047 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.082e-06/0.2158, allocations: 0 / 0.8357 GB, free: 8.047 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.2158, allocations: 0 / 0.8357 GB, free: 8.047 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.2158, allocations: 0 / 0.8357 GB, free: 8.047 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.68e-05/0.2159, allocations: 65.12 kB / 0.8357 GB, free: 7.965 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.061e-05/0.2159, allocations: 84.95 kB / 0.8358 GB, free: 7.863 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.068e-05/0.216, allocations: 4.031 kB / 0.8358 GB, free: 7.859 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.144e-05/0.216, allocations: 0 / 0.8358 GB, free: 7.859 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.543e-05/0.216, allocations: 11.88 kB / 0.8358 GB, free: 7.848 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.164e-06/0.216, allocations: 0 / 0.8358 GB, free: 7.848 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.492e-05/0.2161, allocations: 87.27 kB / 0.8359 GB, free: 7.762 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2161, allocations: 0 / 0.8359 GB, free: 7.762 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002025/0.2163, allocations: 20 kB / 0.8359 GB, free: 7.742 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.0001817/0.2165, allocations: 131.2 kB / 0.836 GB, free: 7.605 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 8.012e-05/0.2165, allocations: 16 kB / 0.8361 GB, free: 7.59 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.2165, allocations: 0 / 0.8361 GB, free: 7.59 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 1.243e-05/0.2166, allocations: 4 kB / 0.8361 GB, free: 7.586 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002015/0.2168, allocations: 6.969 kB / 0.8361 GB, free: 7.582 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002712/0.2171, allocations: 139.6 kB / 0.8362 GB, free: 7.422 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002249/0.2173, allocations: 0.6768 MB / 0.8369 GB, free: 6.719 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 2.427e-05/0.2173, allocations: 4.125 kB / 0.8369 GB, free: 6.715 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.869e-05/0.2173, allocations: 11.44 kB / 0.8369 GB, free: 6.703 MB / 0.6544 GB Notification: Performance of SimCode: time 2.6e-07/0.2173, allocations: 0 / 0.8369 GB, free: 6.703 MB / 0.6544 GB Notification: Performance of Templates: time 0.00308/0.2204, allocations: 0.7477 MB / 0.8376 GB, free: 5.992 MB / 0.6544 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)