Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_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_8_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.001142/0.001142, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00118/0.00118, allocations: 187.2 kB / 16.62 MB, free: 6.582 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.439/1.439, allocations: 205.1 MB / 222.5 MB, free: 4.516 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.874/1.874, allocations: 292.3 MB / 0.5489 GB, free: 12.77 MB / 462.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.001506/0.001506, allocations: 66.88 kB / 0.6723 GB, free: 25.91 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2013/0.2028, allocations: 114.6 MB / 0.7841 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.002791/0.2056, allocations: 1.285 MB / 0.7854 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.005111/0.2108, allocations: 3.749 MB / 0.789 GB, free: 7.68 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.006e-05/0.2109, allocations: 3.938 kB / 0.789 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.036e-05/0.2109, allocations: 0 / 0.789 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0005109/0.2114, allocations: 103.5 kB / 0.7891 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003933/0.2119, allocations: 139.5 kB / 0.7893 GB, free: 7.438 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.432e-05/0.2119, allocations: 23.92 kB / 0.7893 GB, free: 7.414 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.213e-05/0.212, allocations: 0 / 0.7893 GB, free: 7.414 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001236/0.2121, allocations: 31.84 kB / 0.7893 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001112/0.2122, allocations: 39.89 kB / 0.7894 GB, free: 7.344 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.07e-05/0.2123, allocations: 0 / 0.7894 GB, free: 7.344 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004751/0.2127, allocations: 307.6 kB / 0.7897 GB, free: 7.043 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.213e-05/0.2128, allocations: 0 / 0.7897 GB, free: 7.043 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.182e-05/0.2128, allocations: 7.938 kB / 0.7897 GB, free: 7.035 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002258/0.213, allocations: 127.7 kB / 0.7898 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.213, allocations: 0 / 0.7898 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.252e-06/0.213, allocations: 0 / 0.7898 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.098e-06/0.2131, allocations: 0 / 0.7898 GB, free: 6.91 MB / 0.6075 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.0003947/0.2135, allocations: 355.4 kB / 0.7901 GB, free: 6.516 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.2135, allocations: 8.031 kB / 0.7901 GB, free: 6.508 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.002e-05/0.2135, allocations: 4.938 kB / 0.7901 GB, free: 6.504 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001304/0.2137, allocations: 180.2 kB / 0.7903 GB, free: 6.289 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.267e-05/0.2137, allocations: 4.359 kB / 0.7903 GB, free: 6.285 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.206e-05/0.2137, allocations: 384 / 0.7903 GB, free: 6.285 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.877e-05/0.2138, allocations: 33.83 kB / 0.7904 GB, free: 6.246 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.2138, allocations: 0 / 0.7904 GB, free: 6.246 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.558e-06/0.2138, allocations: 0 / 0.7904 GB, free: 6.246 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.2139, allocations: 0 / 0.7904 GB, free: 6.246 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.191e-05/0.2139, allocations: 15.92 kB / 0.7904 GB, free: 6.23 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001654/0.2141, allocations: 153.7 kB / 0.7905 GB, free: 6.031 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 5.84e-05/0.2141, allocations: 30.53 kB / 0.7905 GB, free: 5.992 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.072e-05/0.2142, allocations: 8.922 kB / 0.7906 GB, free: 5.98 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000237/0.2144, allocations: 93.09 kB / 0.7906 GB, free: 5.871 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.363e-05/0.2144, allocations: 38.5 kB / 0.7907 GB, free: 5.824 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.292e-06/0.2145, allocations: 4 kB / 0.7907 GB, free: 5.82 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0001477/0.2146, allocations: 41.69 kB / 0.7907 GB, free: 5.773 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.304e-05/0.2147, allocations: 51.41 kB / 0.7908 GB, free: 5.711 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.196e-05/0.2148, allocations: 105.8 kB / 0.7909 GB, free: 5.598 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.329e-05/0.2148, allocations: 25.7 kB / 0.7909 GB, free: 5.566 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.912e-05/0.2148, allocations: 84.14 kB / 0.791 GB, free: 5.48 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.563e-05/0.2149, allocations: 7.844 kB / 0.791 GB, free: 5.473 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.565e-05/0.2149, allocations: 17.66 kB / 0.791 GB, free: 5.449 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001076/0.215, allocations: 315 kB / 0.7913 GB, free: 5.133 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.965e-05/0.2151, allocations: 8 kB / 0.7913 GB, free: 5.125 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.16e-05/0.2151, allocations: 3.984 kB / 0.7913 GB, free: 5.121 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.138e-05/0.2151, allocations: 12.86 kB / 0.7913 GB, free: 5.105 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.2151, allocations: 0 / 0.7913 GB, free: 5.105 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.896e-05/0.2152, allocations: 41.64 kB / 0.7914 GB, free: 5.059 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.2152, allocations: 8 kB / 0.7914 GB, free: 5.051 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.2152, allocations: 0 / 0.7914 GB, free: 5.051 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.112e-05/0.2153, allocations: 4.094 kB / 0.7914 GB, free: 5.047 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.053e-05/0.2153, allocations: 7.938 kB / 0.7914 GB, free: 5.039 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.008e-06/0.2153, allocations: 0 / 0.7914 GB, free: 5.039 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.869e-05/0.2153, allocations: 3.984 kB / 0.7914 GB, free: 5.035 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.378e-06/0.2154, allocations: 0 / 0.7914 GB, free: 5.035 MB / 0.6075 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.614e-05/0.2154, allocations: 109.8 kB / 0.7915 GB, free: 4.918 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.221e-05/0.2154, allocations: 7.844 kB / 0.7915 GB, free: 4.91 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000116/0.2156, allocations: 48.81 kB / 0.7915 GB, free: 4.855 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.868e-06/0.2156, allocations: 4 kB / 0.7916 GB, free: 4.852 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.2156, allocations: 0 / 0.7916 GB, free: 4.852 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.2156, allocations: 0 / 0.7916 GB, free: 4.852 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001057/0.2157, allocations: 157.6 kB / 0.7917 GB, free: 4.648 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.2157, allocations: 0 / 0.7917 GB, free: 4.648 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.474e-05/0.2157, allocations: 11.88 kB / 0.7917 GB, free: 4.637 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.2158, allocations: 256 / 0.7917 GB, free: 4.637 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.48e-06/0.2158, allocations: 0 / 0.7917 GB, free: 4.637 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-06/0.2158, allocations: 7.938 kB / 0.7917 GB, free: 4.629 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.2158, allocations: 3.984 kB / 0.7917 GB, free: 4.625 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.788e-05/0.2159, allocations: 69.16 kB / 0.7918 GB, free: 4.539 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.278e-05/0.2159, allocations: 85.05 kB / 0.7919 GB, free: 4.438 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.134e-05/0.2159, allocations: 0 / 0.7919 GB, free: 4.438 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.395e-05/0.216, allocations: 4 kB / 0.7919 GB, free: 4.434 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.089e-05/0.216, allocations: 0 / 0.7919 GB, free: 4.434 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.099e-06/0.216, allocations: 3.984 kB / 0.7919 GB, free: 4.43 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.866e-05/0.216, allocations: 79.28 kB / 0.792 GB, free: 4.352 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.6e-07/0.216, allocations: 4.031 kB / 0.792 GB, free: 4.348 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002151/0.2163, allocations: 24 kB / 0.792 GB, free: 4.324 MB / 0.6075 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.00019/0.2164, allocations: 131.2 kB / 0.7921 GB, free: 4.188 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 8.157e-05/0.2165, allocations: 15.88 kB / 0.7921 GB, free: 4.172 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.2165, allocations: 0 / 0.7921 GB, free: 4.172 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.409e-05/0.2166, allocations: 8 kB / 0.7921 GB, free: 4.164 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002327/0.2168, allocations: 0 / 0.7921 GB, free: 4.164 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002999/0.2171, allocations: 146.2 kB / 0.7923 GB, free: 4 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002263/0.2174, allocations: 0.6768 MB / 0.7929 GB, free: 3.297 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.746e-05/0.2174, allocations: 4 kB / 0.7929 GB, free: 3.293 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.931e-05/0.2174, allocations: 11.44 kB / 0.7929 GB, free: 3.281 MB / 0.6075 GB Notification: Performance of SimCode: time 2.51e-07/0.2174, allocations: 0 / 0.7929 GB, free: 3.281 MB / 0.6075 GB Notification: Performance of Templates: time 0.002841/0.2203, allocations: 0.7468 MB / 0.7937 GB, free: 2.547 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.makefile (rm -f Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.sim & ./Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe 2>&1)