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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) 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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.289/1.289, allocations: 252 MB / 267.9 MB, free: 10.93 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009576/0.0009575, allocations: 180.5 kB / 327.6 MB, free: 2.16 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.472/1.472, allocations: 205.4 MB / 0.5785 GB, free: 20.2 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008165/0.0008165, allocations: 94.55 kB / 0.6831 GB, free: 12.81 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004093/0.0004095, allocations: 13.28 kB / 0.7974 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1844/0.1848, allocations: 106.3 MB / 0.9012 GB, free: 63.67 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6902/0.8751, allocations: 361.9 MB / 1.255 GB, free: 4.5 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002567/0.8754, allocations: 93.88 kB / 1.255 GB, free: 4.445 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 0.03412/0.9095, allocations: 16.01 MB / 1.27 GB, free: 7.629 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.715e-06/0.9096, allocations: 0 / 1.27 GB, free: 7.629 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 6.742e-06/0.9096, allocations: 0 / 1.27 GB, free: 7.629 MB / 0.7761 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.0004021/0.91, allocations: 388.7 kB / 1.271 GB, free: 7.203 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.746e-05/0.9101, allocations: 8.031 kB / 1.271 GB, free: 7.195 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.956e-05/0.9101, allocations: 4.938 kB / 1.271 GB, free: 7.191 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001168/0.9102, allocations: 168.3 kB / 1.271 GB, free: 6.988 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.304e-05/0.9102, allocations: 3.188 kB / 1.271 GB, free: 6.988 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.514e-06/0.9103, allocations: 384 / 1.271 GB, free: 6.988 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.653e-05/0.9104, allocations: 34.2 kB / 1.271 GB, free: 6.949 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.752e-06/0.9104, allocations: 192 / 1.271 GB, free: 6.949 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.9104, allocations: 3.938 kB / 1.271 GB, free: 6.945 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.577e-06/0.9104, allocations: 4 kB / 1.271 GB, free: 6.941 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.438e-05/0.9104, allocations: 11.98 kB / 1.271 GB, free: 6.93 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001755/0.9106, allocations: 152.4 kB / 1.271 GB, free: 6.738 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 5.139e-05/0.9107, allocations: 22.56 kB / 1.271 GB, free: 6.707 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.153e-05/0.9107, allocations: 12.67 kB / 1.271 GB, free: 6.695 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002118/0.9109, allocations: 93.09 kB / 1.271 GB, free: 6.586 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.042e-05/0.911, allocations: 38.5 kB / 1.271 GB, free: 6.539 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 1.222e-06/0.911, allocations: 0 / 1.271 GB, free: 6.539 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0001482/0.9111, allocations: 49.19 kB / 1.271 GB, free: 6.488 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.893e-05/0.9112, allocations: 51.41 kB / 1.271 GB, free: 6.426 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.614e-05/0.9113, allocations: 104.8 kB / 1.271 GB, free: 6.316 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.382e-05/0.9113, allocations: 25.7 kB / 1.271 GB, free: 6.285 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 3.53e-05/0.9113, allocations: 80.14 kB / 1.272 GB, free: 6.203 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.245e-05/0.9114, allocations: 8.031 kB / 1.272 GB, free: 6.195 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.455e-06/0.9114, allocations: 0 / 1.272 GB, free: 6.195 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001151/0.9115, allocations: 313.8 kB / 1.272 GB, free: 5.883 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.259e-05/0.9115, allocations: 4 kB / 1.272 GB, free: 5.879 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.385e-05/0.9115, allocations: 7.938 kB / 1.272 GB, free: 5.871 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3e-05/0.9116, allocations: 12.36 kB / 1.272 GB, free: 5.859 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.9116, allocations: 0 / 1.272 GB, free: 5.859 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.382e-05/0.9117, allocations: 41.38 kB / 1.272 GB, free: 5.816 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.9117, allocations: 12.09 kB / 1.272 GB, free: 5.805 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.216e-06/0.9117, allocations: 3.938 kB / 1.272 GB, free: 5.801 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.9117, allocations: 3.938 kB / 1.272 GB, free: 5.797 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.199e-05/0.9118, allocations: 4 kB / 1.272 GB, free: 5.793 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.561e-06/0.9118, allocations: 0 / 1.272 GB, free: 5.793 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.697e-05/0.9118, allocations: 0 / 1.272 GB, free: 5.793 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.897e-06/0.9118, allocations: 0 / 1.272 GB, free: 5.793 MB / 0.7761 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 7.116e-05/0.9119, allocations: 117.8 kB / 1.272 GB, free: 5.668 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.033e-06/0.9119, allocations: 0 / 1.272 GB, free: 5.668 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001069/0.912, allocations: 55.14 kB / 1.272 GB, free: 5.617 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.912, allocations: 7.984 kB / 1.272 GB, free: 5.609 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.147e-06/0.912, allocations: 0 / 1.272 GB, free: 5.609 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.912, allocations: 0 / 1.272 GB, free: 5.609 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001197/0.9122, allocations: 157.8 kB / 1.272 GB, free: 5.406 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.255e-06/0.9122, allocations: 4 kB / 1.272 GB, free: 5.402 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.25e-05/0.9122, allocations: 4 kB / 1.272 GB, free: 5.398 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.9122, allocations: 0 / 1.272 GB, free: 5.398 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.478e-06/0.9122, allocations: 6.875 kB / 1.272 GB, free: 5.395 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.9122, allocations: 4.031 kB / 1.272 GB, free: 5.391 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.9122, allocations: 0 / 1.272 GB, free: 5.391 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.151e-05/0.9123, allocations: 68.12 kB / 1.272 GB, free: 5.309 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 4.239e-05/0.9124, allocations: 77.11 kB / 1.272 GB, free: 5.215 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.382e-05/0.9124, allocations: 7.938 kB / 1.272 GB, free: 5.207 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.441e-05/0.9124, allocations: 0 / 1.272 GB, free: 5.207 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.679e-05/0.9125, allocations: 3.984 kB / 1.272 GB, free: 5.203 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.605e-06/0.9125, allocations: 0 / 1.272 GB, free: 5.203 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.328e-05/0.9125, allocations: 90.55 kB / 1.273 GB, free: 5.117 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.9e-07/0.9125, allocations: 0 / 1.273 GB, free: 5.117 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002489/0.9128, allocations: 24 kB / 1.273 GB, free: 5.094 MB / 0.7761 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.0002291/0.913, allocations: 160.3 kB / 1.273 GB, free: 4.934 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 5.967e-05/0.9131, allocations: 8 kB / 1.273 GB, free: 4.926 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.9131, allocations: 64 / 1.273 GB, free: 4.926 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.129e-05/0.9131, allocations: 7.938 kB / 1.273 GB, free: 4.918 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001537/0.9133, allocations: 9.516 kB / 1.273 GB, free: 4.914 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002593/0.9135, allocations: 157.7 kB / 1.273 GB, free: 4.734 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002291/0.9138, allocations: 0.677 MB / 1.274 GB, free: 4.031 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.076e-05/0.9138, allocations: 7.906 kB / 1.274 GB, free: 4.023 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.473e-05/0.9138, allocations: 15.38 kB / 1.274 GB, free: 4.008 MB / 0.7761 GB Notification: Performance of SimCode: time 2e-07/0.9138, allocations: 0 / 1.274 GB, free: 4.008 MB / 0.7761 GB Notification: Performance of Templates: time 0.002898/0.9167, allocations: 1.075 MB / 1.275 GB, free: 2.977 MB / 0.7761 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)