Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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.8.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.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.66/1.66, allocations: 288.4 MB / 303.7 MB, free: 7.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00133/0.00133, allocations: 189.3 kB / 372.3 MB, free: 10.12 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.483/1.483, allocations: 205.4 MB / 0.631 GB, free: 9.898 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007693/0.0007693, allocations: 94.25 kB / 0.7444 GB, free: 5.801 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003941/0.0003943, allocations: 24.02 kB / 0.8675 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1957/0.1961, allocations: 115.3 MB / 0.9801 GB, free: 27.34 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.001276/0.1975, allocations: 0.9979 MB / 0.9811 GB, free: 26.33 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003376/0.2009, allocations: 3.51 MB / 0.9845 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.842e-05/0.2009, allocations: 0 / 0.9845 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.735e-05/0.201, allocations: 0 / 0.9845 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.000485/0.2015, allocations: 87.55 kB / 0.9846 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000324/0.2018, allocations: 98 kB / 0.9847 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.879e-05/0.2019, allocations: 23.92 kB / 0.9847 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.764e-05/0.2019, allocations: 0 / 0.9847 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.34e-05/0.202, allocations: 27.84 kB / 0.9848 GB, free: 22.58 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.69e-05/0.2021, allocations: 35.91 kB / 0.9848 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 8.877e-06/0.2021, allocations: 0 / 0.9848 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003708/0.2025, allocations: 295.6 kB / 0.9851 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.628e-06/0.2025, allocations: 4 kB / 0.9851 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.396e-05/0.2026, allocations: 33.58 kB / 0.9851 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000131/0.2027, allocations: 84.11 kB / 0.9852 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.2027, allocations: 0 / 0.9852 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.144e-06/0.2027, allocations: 0 / 0.9852 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.458e-06/0.2027, allocations: 4 kB / 0.9852 GB, free: 22.12 MB / 0.6198 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.0002788/0.203, allocations: 348.5 kB / 0.9855 GB, free: 21.74 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/0.2031, allocations: 8.031 kB / 0.9855 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.503e-05/0.2031, allocations: 8.859 kB / 0.9856 GB, free: 21.72 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.184e-05/0.2032, allocations: 168.4 kB / 0.9857 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.164e-05/0.2032, allocations: 384 / 0.9857 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.968e-06/0.2032, allocations: 4.375 kB / 0.9857 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.351e-05/0.2033, allocations: 41.77 kB / 0.9858 GB, free: 21.47 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.2033, allocations: 0 / 0.9858 GB, free: 21.47 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.995e-06/0.2033, allocations: 0 / 0.9858 GB, free: 21.47 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.449e-06/0.2033, allocations: 0 / 0.9858 GB, free: 21.47 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.04e-05/0.2034, allocations: 7.984 kB / 0.9858 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001131/0.2035, allocations: 153.6 kB / 0.9859 GB, free: 21.26 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 4.307e-05/0.2035, allocations: 30.59 kB / 0.9859 GB, free: 21.22 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.63e-05/0.2036, allocations: 12.92 kB / 0.986 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002017/0.2038, allocations: 97.08 kB / 0.986 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.569e-05/0.2038, allocations: 38.44 kB / 0.9861 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.2038, allocations: 0 / 0.9861 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0001237/0.2039, allocations: 45.69 kB / 0.9861 GB, free: 21 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.466e-05/0.204, allocations: 55.53 kB / 0.9862 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.629e-05/0.204, allocations: 105.8 kB / 0.9863 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.434e-06/0.204, allocations: 25.7 kB / 0.9863 GB, free: 20.79 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.773e-05/0.2041, allocations: 84.14 kB / 0.9864 GB, free: 20.7 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.903e-05/0.2041, allocations: 7.906 kB / 0.9864 GB, free: 20.69 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.555e-06/0.2041, allocations: 0 / 0.9864 GB, free: 20.69 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.167e-05/0.2041, allocations: 310.8 kB / 0.9867 GB, free: 20.38 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.073e-05/0.2042, allocations: 4 kB / 0.9867 GB, free: 20.38 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.928e-06/0.2042, allocations: 7.938 kB / 0.9867 GB, free: 20.37 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.812e-05/0.2042, allocations: 20.84 kB / 0.9867 GB, free: 20.34 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.2042, allocations: 0 / 0.9867 GB, free: 20.34 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.41e-05/0.2043, allocations: 37.64 kB / 0.9868 GB, free: 20.3 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/0.2043, allocations: 8 kB / 0.9868 GB, free: 20.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.2043, allocations: 0 / 0.9868 GB, free: 20.29 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.2043, allocations: 0 / 0.9868 GB, free: 20.29 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.486e-05/0.2044, allocations: 4 kB / 0.9868 GB, free: 20.29 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.2044, allocations: 0 / 0.9868 GB, free: 20.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.69e-05/0.2044, allocations: 4.094 kB / 0.9868 GB, free: 20.29 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.539e-06/0.2044, allocations: 0 / 0.9868 GB, free: 20.29 MB / 0.6198 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 4.617e-05/0.2045, allocations: 129.6 kB / 0.9869 GB, free: 20.15 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.746e-06/0.2045, allocations: 7.938 kB / 0.9869 GB, free: 20.14 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.976e-05/0.2046, allocations: 44.81 kB / 0.9869 GB, free: 20.09 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.2046, allocations: 0 / 0.9869 GB, free: 20.09 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.2046, allocations: 4 kB / 0.987 GB, free: 20.09 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.2046, allocations: 0 / 0.987 GB, free: 20.09 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.231e-05/0.2047, allocations: 157.7 kB / 0.9871 GB, free: 19.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.2047, allocations: 0 / 0.9871 GB, free: 19.88 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.277e-05/0.2047, allocations: 7.938 kB / 0.9871 GB, free: 19.88 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.2047, allocations: 0 / 0.9871 GB, free: 19.88 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.421e-06/0.2047, allocations: 0 / 0.9871 GB, free: 19.88 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.2047, allocations: 3.984 kB / 0.9871 GB, free: 19.87 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.2047, allocations: 0 / 0.9871 GB, free: 19.87 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.037e-05/0.2048, allocations: 72.97 kB / 0.9872 GB, free: 19.78 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.849e-05/0.2048, allocations: 89.02 kB / 0.9873 GB, free: 19.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.115e-05/0.2048, allocations: 0 / 0.9873 GB, free: 19.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.382e-05/0.2049, allocations: 0 / 0.9873 GB, free: 19.68 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.21e-05/0.2049, allocations: 7.984 kB / 0.9873 GB, free: 19.67 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.124e-06/0.2049, allocations: 0 / 0.9873 GB, free: 19.67 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.033e-05/0.2049, allocations: 87.52 kB / 0.9874 GB, free: 19.58 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1e-07/0.2049, allocations: 0 / 0.9874 GB, free: 19.58 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002004/0.2051, allocations: 20 kB / 0.9874 GB, free: 19.56 MB / 0.6198 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.0001531/0.2053, allocations: 131.2 kB / 0.9875 GB, free: 19.42 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 6.961e-05/0.2054, allocations: 8 kB / 0.9875 GB, free: 19.41 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.2054, allocations: 0 / 0.9875 GB, free: 19.41 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.19e-05/0.2054, allocations: 11.94 kB / 0.9875 GB, free: 19.4 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000196/0.2056, allocations: 14.52 kB / 0.9875 GB, free: 19.39 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002204/0.2058, allocations: 160 kB / 0.9877 GB, free: 19.21 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.781e-05/0.2059, allocations: 0.6731 MB / 0.9883 GB, free: 18.51 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.739e-05/0.206, allocations: 3.938 kB / 0.9883 GB, free: 18.51 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.59e-05/0.206, allocations: 15.38 kB / 0.9884 GB, free: 18.49 MB / 0.6198 GB Notification: Performance of SimCode: time 2.2e-07/0.206, allocations: 0 / 0.9884 GB, free: 18.49 MB / 0.6198 GB Notification: Performance of Templates: time 0.002492/0.2085, allocations: 0.7214 MB / 0.9891 GB, free: 17.8 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe 2>&1)