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.009144/0.009144, allocations: 101.1 kB / 15.73 MB, free: 6.047 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.00188/0.00188, allocations: 201.5 kB / 16.68 MB, free: 5.973 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.432/1.432, allocations: 205.1 MB / 222.5 MB, free: 4.523 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.587/1.587, allocations: 251.7 MB / 0.5094 GB, free: 3.043 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.001702/0.001702, allocations: 67.91 kB / 0.7258 GB, free: 9.137 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2158/0.2175, allocations: 104.7 MB / 0.8281 GB, free: 336 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.00247/0.2201, allocations: 1.287 MB / 0.8293 GB, free: 15.04 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.004311/0.2244, allocations: 3.76 MB / 0.833 GB, free: 11.25 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.78e-05/0.2245, allocations: 4 kB / 0.833 GB, free: 11.25 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.195e-05/0.2245, allocations: 3.938 kB / 0.833 GB, free: 11.24 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0004847/0.225, allocations: 107.4 kB / 0.8331 GB, free: 11.14 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003722/0.2254, allocations: 123.6 kB / 0.8332 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 7.234e-05/0.2255, allocations: 31.84 kB / 0.8332 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 3.853e-05/0.2255, allocations: 12 kB / 0.8333 GB, free: 10.97 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001259/0.2256, allocations: 27.91 kB / 0.8333 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001027/0.2258, allocations: 35.84 kB / 0.8333 GB, free: 10.91 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.108e-05/0.2258, allocations: 4 kB / 0.8333 GB, free: 10.91 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004424/0.2262, allocations: 295.6 kB / 0.8336 GB, free: 10.62 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.151e-05/0.2263, allocations: 3.938 kB / 0.8336 GB, free: 10.61 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.737e-05/0.2263, allocations: 11.92 kB / 0.8336 GB, free: 10.6 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002309/0.2265, allocations: 123.7 kB / 0.8337 GB, free: 10.48 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.2265, allocations: 0 / 0.8337 GB, free: 10.48 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.993e-06/0.2265, allocations: 4 kB / 0.8337 GB, free: 10.48 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.15e-06/0.2266, allocations: 0 / 0.8337 GB, free: 10.48 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.0003908/0.2269, allocations: 351.5 kB / 0.8341 GB, free: 10.09 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.227, allocations: 8.031 kB / 0.8341 GB, free: 10.08 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.004e-05/0.227, allocations: 12.83 kB / 0.8341 GB, free: 10.07 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000112/0.2272, allocations: 160.4 kB / 0.8342 GB, free: 9.871 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.319e-05/0.2272, allocations: 384 / 0.8342 GB, free: 9.871 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.717e-06/0.2272, allocations: 384 / 0.8342 GB, free: 9.871 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.448e-05/0.2273, allocations: 37.77 kB / 0.8343 GB, free: 9.828 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.2273, allocations: 4 kB / 0.8343 GB, free: 9.824 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.536e-06/0.2273, allocations: 0 / 0.8343 GB, free: 9.824 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.2273, allocations: 4 kB / 0.8343 GB, free: 9.82 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.934e-05/0.2274, allocations: 11.97 kB / 0.8343 GB, free: 9.809 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001497/0.2275, allocations: 149.7 kB / 0.8344 GB, free: 9.613 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 5.211e-05/0.2276, allocations: 26.56 kB / 0.8345 GB, free: 9.578 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.975e-05/0.2276, allocations: 8.922 kB / 0.8345 GB, free: 9.566 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000246/0.2279, allocations: 97.09 kB / 0.8346 GB, free: 9.453 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.43e-05/0.2279, allocations: 42.44 kB / 0.8346 GB, free: 9.402 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.2279, allocations: 4 kB / 0.8346 GB, free: 9.398 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2): time 0.0001452/0.2281, allocations: 37.69 kB / 0.8346 GB, free: 9.355 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.427e-05/0.2281, allocations: 51.41 kB / 0.8347 GB, free: 9.293 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.151e-05/0.2282, allocations: 109.9 kB / 0.8348 GB, free: 9.176 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.272e-05/0.2282, allocations: 29.7 kB / 0.8348 GB, free: 9.141 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.924e-05/0.2282, allocations: 80.14 kB / 0.8349 GB, free: 9.059 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.704e-05/0.2283, allocations: 11.84 kB / 0.8349 GB, free: 9.047 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.888e-05/0.2283, allocations: 13.72 kB / 0.8349 GB, free: 9.027 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.244e-05/0.2284, allocations: 310.8 kB / 0.8352 GB, free: 8.715 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.651e-05/0.2284, allocations: 4 kB / 0.8352 GB, free: 8.711 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.677e-05/0.2285, allocations: 15.92 kB / 0.8352 GB, free: 8.695 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.271e-05/0.2285, allocations: 12.92 kB / 0.8353 GB, free: 8.68 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.2285, allocations: 256 / 0.8353 GB, free: 8.68 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.7e-05/0.2286, allocations: 45.55 kB / 0.8353 GB, free: 8.629 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.2286, allocations: 8 kB / 0.8353 GB, free: 8.621 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-06/0.2286, allocations: 4 kB / 0.8353 GB, free: 8.617 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.2286, allocations: 0 / 0.8353 GB, free: 8.617 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.708e-05/0.2287, allocations: 4 kB / 0.8353 GB, free: 8.613 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.814e-06/0.2287, allocations: 3.984 kB / 0.8353 GB, free: 8.609 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.792e-05/0.2287, allocations: 3.938 kB / 0.8353 GB, free: 8.605 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.399e-06/0.2287, allocations: 0 / 0.8353 GB, free: 8.605 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.528e-05/0.2288, allocations: 117.8 kB / 0.8354 GB, free: 8.48 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.059e-05/0.2288, allocations: 3.938 kB / 0.8354 GB, free: 8.477 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001106/0.2289, allocations: 48.81 kB / 0.8355 GB, free: 8.422 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.2289, allocations: 0 / 0.8355 GB, free: 8.422 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.229, allocations: 0 / 0.8355 GB, free: 8.422 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.229, allocations: 0 / 0.8355 GB, free: 8.422 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.646e-05/0.2291, allocations: 157.7 kB / 0.8356 GB, free: 8.219 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.2291, allocations: 32 / 0.8356 GB, free: 8.219 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.807e-05/0.2291, allocations: 11.94 kB / 0.8356 GB, free: 8.207 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.2291, allocations: 0 / 0.8356 GB, free: 8.207 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.062e-06/0.2291, allocations: 0 / 0.8356 GB, free: 8.207 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.2291, allocations: 0 / 0.8356 GB, free: 8.207 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.2291, allocations: 0 / 0.8356 GB, free: 8.207 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.757e-05/0.2292, allocations: 69.06 kB / 0.8357 GB, free: 8.121 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.411e-05/0.2293, allocations: 84.95 kB / 0.8358 GB, free: 8.02 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.151e-05/0.2293, allocations: 8.031 kB / 0.8358 GB, free: 8.012 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.688e-05/0.2293, allocations: 4 kB / 0.8358 GB, free: 8.008 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.501e-05/0.2293, allocations: 3.984 kB / 0.8358 GB, free: 8.004 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.146e-06/0.2293, allocations: 3.938 kB / 0.8358 GB, free: 8 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.226e-05/0.2294, allocations: 79.28 kB / 0.8359 GB, free: 7.922 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2294, allocations: 0 / 0.8359 GB, free: 7.922 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002182/0.2296, allocations: 24 kB / 0.8359 GB, free: 7.898 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.0002052/0.2298, allocations: 135.2 kB / 0.836 GB, free: 7.758 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 8.163e-05/0.2299, allocations: 12 kB / 0.8361 GB, free: 7.746 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.2299, allocations: 3.938 kB / 0.8361 GB, free: 7.742 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 1.349e-05/0.2299, allocations: 4 kB / 0.8361 GB, free: 7.738 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002145/0.2302, allocations: 1.625 kB / 0.8361 GB, free: 7.738 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002927/0.2305, allocations: 135.6 kB / 0.8362 GB, free: 7.582 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000195/0.2307, allocations: 0.6729 MB / 0.8368 GB, free: 6.883 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 3.187e-05/0.2307, allocations: 12.06 kB / 0.8369 GB, free: 6.871 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.784e-05/0.2307, allocations: 7.438 kB / 0.8369 GB, free: 6.863 MB / 0.6544 GB Notification: Performance of SimCode: time 1.563e-06/0.2307, allocations: 0 / 0.8369 GB, free: 6.863 MB / 0.6544 GB Notification: Performance of Templates: time 0.003019/0.2338, allocations: 0.7555 MB / 0.8376 GB, free: 6.141 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)