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.007658/0.007658, allocations: 104.2 kB / 15.74 MB, free: 6.488 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.001657/0.001657, allocations: 199.3 kB / 16.68 MB, free: 6.375 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.448/1.448, allocations: 205.1 MB / 222.6 MB, free: 4.508 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.516/1.516, allocations: 251.7 MB / 0.5094 GB, free: 3.074 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.001479/0.001479, allocations: 79.88 kB / 0.7258 GB, free: 9.023 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2059/0.2074, allocations: 104.7 MB / 0.8281 GB, free: 220 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.0022/0.2096, allocations: 1.288 MB / 0.8293 GB, free: 14.92 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.004114/0.2138, allocations: 3.756 MB / 0.833 GB, free: 11.14 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.212e-05/0.2138, allocations: 0 / 0.833 GB, free: 11.14 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.347e-05/0.2139, allocations: 7.922 kB / 0.833 GB, free: 11.13 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0004456/0.2144, allocations: 99.48 kB / 0.8331 GB, free: 11.03 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003197/0.2147, allocations: 131.6 kB / 0.8332 GB, free: 10.9 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 6.326e-05/0.2148, allocations: 35.8 kB / 0.8332 GB, free: 10.87 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 3.904e-05/0.2148, allocations: 7.984 kB / 0.8332 GB, free: 10.86 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 9.867e-05/0.2149, allocations: 19.92 kB / 0.8333 GB, free: 10.84 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 9.841e-05/0.215, allocations: 39.89 kB / 0.8333 GB, free: 10.8 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.059e-05/0.215, allocations: 4 kB / 0.8333 GB, free: 10.8 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004433/0.2155, allocations: 303.6 kB / 0.8336 GB, free: 10.5 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 9.938e-06/0.2155, allocations: 0 / 0.8336 GB, free: 10.5 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.394e-05/0.2155, allocations: 7.938 kB / 0.8336 GB, free: 10.49 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002065/0.2157, allocations: 127.7 kB / 0.8337 GB, free: 10.37 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.2158, allocations: 0 / 0.8337 GB, free: 10.37 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.533e-06/0.2158, allocations: 0 / 0.8337 GB, free: 10.37 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.2158, allocations: 0 / 0.8337 GB, free: 10.37 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.0003823/0.2162, allocations: 355.5 kB / 0.8341 GB, free: 9.973 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.575e-05/0.2162, allocations: 8.031 kB / 0.8341 GB, free: 9.965 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.211e-05/0.2162, allocations: 8.844 kB / 0.8341 GB, free: 9.957 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001152/0.2164, allocations: 168.4 kB / 0.8342 GB, free: 9.754 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.102e-05/0.2164, allocations: 384 / 0.8342 GB, free: 9.754 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.526e-06/0.2164, allocations: 384 / 0.8342 GB, free: 9.754 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.608e-05/0.2165, allocations: 37.77 kB / 0.8343 GB, free: 9.711 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.802e-06/0.2165, allocations: 0 / 0.8343 GB, free: 9.711 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.995e-06/0.2165, allocations: 0 / 0.8343 GB, free: 9.711 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.2165, allocations: 4 kB / 0.8343 GB, free: 9.707 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.708e-05/0.2166, allocations: 4 kB / 0.8343 GB, free: 9.703 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001451/0.2167, allocations: 157.7 kB / 0.8344 GB, free: 9.5 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 4.882e-05/0.2168, allocations: 26.56 kB / 0.8345 GB, free: 9.465 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.965e-05/0.2168, allocations: 8.922 kB / 0.8345 GB, free: 9.453 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002282/0.217, allocations: 93.09 kB / 0.8346 GB, free: 9.344 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.657e-05/0.2171, allocations: 38.5 kB / 0.8346 GB, free: 9.297 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.2171, allocations: 7.938 kB / 0.8346 GB, free: 9.289 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2): time 0.000143/0.2172, allocations: 41.69 kB / 0.8346 GB, free: 9.242 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.103e-05/0.2173, allocations: 51.41 kB / 0.8347 GB, free: 9.18 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.215e-05/0.2174, allocations: 101.9 kB / 0.8348 GB, free: 9.07 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.114e-05/0.2174, allocations: 25.7 kB / 0.8348 GB, free: 9.039 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.276e-05/0.2174, allocations: 88.12 kB / 0.8349 GB, free: 8.949 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.349e-05/0.2174, allocations: 11.78 kB / 0.8349 GB, free: 8.938 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.805e-05/0.2175, allocations: 13.72 kB / 0.8349 GB, free: 8.918 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.354e-05/0.2176, allocations: 315 kB / 0.8352 GB, free: 8.602 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.632e-05/0.2176, allocations: 8 kB / 0.8352 GB, free: 8.594 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.676e-06/0.2176, allocations: 0 / 0.8352 GB, free: 8.594 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.452e-05/0.2177, allocations: 20.78 kB / 0.8353 GB, free: 8.57 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.2177, allocations: 0 / 0.8353 GB, free: 8.57 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.248e-05/0.2177, allocations: 45.55 kB / 0.8353 GB, free: 8.52 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.2178, allocations: 8 kB / 0.8353 GB, free: 8.512 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.107e-06/0.2178, allocations: 96 / 0.8353 GB, free: 8.512 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.2178, allocations: 4.25 kB / 0.8353 GB, free: 8.508 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.116e-05/0.2178, allocations: 7.984 kB / 0.8353 GB, free: 8.5 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.141e-06/0.2178, allocations: 4 kB / 0.8353 GB, free: 8.496 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.597e-05/0.2179, allocations: 0 / 0.8353 GB, free: 8.496 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.868e-06/0.2179, allocations: 0 / 0.8353 GB, free: 8.496 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.478e-05/0.2179, allocations: 113.8 kB / 0.8354 GB, free: 8.375 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.337e-06/0.218, allocations: 3.938 kB / 0.8354 GB, free: 8.371 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001122/0.2181, allocations: 60.69 kB / 0.8355 GB, free: 8.305 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.2181, allocations: 0 / 0.8355 GB, free: 8.305 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.2181, allocations: 0 / 0.8355 GB, free: 8.305 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.2181, allocations: 0 / 0.8355 GB, free: 8.305 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.726e-05/0.2182, allocations: 157.7 kB / 0.8356 GB, free: 8.102 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.2182, allocations: 0 / 0.8356 GB, free: 8.102 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.573e-05/0.2182, allocations: 7.938 kB / 0.8356 GB, free: 8.094 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.2183, allocations: 0 / 0.8356 GB, free: 8.094 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.49e-06/0.2183, allocations: 0 / 0.8356 GB, free: 8.094 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.81e-07/0.2183, allocations: 0 / 0.8356 GB, free: 8.094 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.2183, allocations: 0 / 0.8356 GB, free: 8.094 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.767e-05/0.2184, allocations: 73.09 kB / 0.8357 GB, free: 8.004 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.623e-05/0.2184, allocations: 88.95 kB / 0.8358 GB, free: 7.898 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.331e-05/0.2184, allocations: 4 kB / 0.8358 GB, free: 7.895 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.441e-05/0.2184, allocations: 0 / 0.8358 GB, free: 7.895 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.263e-05/0.2185, allocations: 0 / 0.8358 GB, free: 7.895 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.444e-06/0.2185, allocations: 0 / 0.8358 GB, free: 7.895 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.588e-05/0.2185, allocations: 83.27 kB / 0.8359 GB, free: 7.812 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.282e-06/0.2185, allocations: 4.031 kB / 0.8359 GB, free: 7.809 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002104/0.2187, allocations: 27.94 kB / 0.8359 GB, free: 7.781 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.0001926/0.2189, allocations: 135.2 kB / 0.836 GB, free: 7.641 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 7.496e-05/0.219, allocations: 4 kB / 0.836 GB, free: 7.637 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.219, allocations: 4 kB / 0.8361 GB, free: 7.633 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 1.453e-05/0.219, allocations: 7.938 kB / 0.8361 GB, free: 7.625 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000219/0.2193, allocations: 2.812 kB / 0.8361 GB, free: 7.625 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002653/0.2195, allocations: 139 kB / 0.8362 GB, free: 7.469 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002151/0.2198, allocations: 0.6768 MB / 0.8369 GB, free: 6.766 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 2.752e-05/0.2198, allocations: 4 kB / 0.8369 GB, free: 6.762 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.929e-05/0.2198, allocations: 11.44 kB / 0.8369 GB, free: 6.75 MB / 0.6544 GB Notification: Performance of SimCode: time 2.3e-07/0.2198, allocations: 0 / 0.8369 GB, free: 6.75 MB / 0.6544 GB Notification: Performance of Templates: time 0.003023/0.2229, allocations: 0.748 MB / 0.8376 GB, free: 6.035 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)