Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.ConvectionResistance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.ConvectionResistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.ConvectionResistance") translateModel(Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.ConvectionResistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.ConvectionResistance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5283/0.5283, allocations: 95.61 MB / 110.6 MB, free: 9.387 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001114/0.001114, allocations: 171.6 kB / 134.2 MB, free: 2.258 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.453/1.453, allocations: 170.7 MB / 328.4 MB, free: 12.27 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001711/0.001711, allocations: 103.4 kB / 390.7 MB, free: 13.95 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004376/0.0004376, allocations: 12 kB / 462.8 MB, free: 35.65 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.158/0.1584, allocations: 61.53 MB / 0.512 GB, free: 6.055 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.09/1.248, allocations: 366.6 MB / 0.87 GB, free: 45.14 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003289/1.248, allocations: 91.75 kB / 0.8701 GB, free: 45.09 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.0318/1.28, allocations: 16.67 MB / 0.8864 GB, free: 29.83 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.936e-06/1.28, allocations: 0 / 0.8864 GB, free: 29.83 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.735e-06/1.28, allocations: 0 / 0.8864 GB, free: 29.83 MB / 0.5105 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.0003391/1.281, allocations: 413.5 kB / 0.8868 GB, free: 29.37 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/1.281, allocations: 11.98 kB / 0.8868 GB, free: 29.36 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.832e-05/1.281, allocations: 3.906 kB / 0.8868 GB, free: 29.36 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.073e-05/1.281, allocations: 167.1 kB / 0.887 GB, free: 29.15 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.62e-05/1.281, allocations: 7.953 kB / 0.887 GB, free: 29.14 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.327e-06/1.281, allocations: 0 / 0.887 GB, free: 29.14 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.807e-05/1.281, allocations: 33.64 kB / 0.887 GB, free: 29.11 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/1.281, allocations: 0 / 0.887 GB, free: 29.11 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.055e-05/1.281, allocations: 0 / 0.887 GB, free: 29.11 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/1.281, allocations: 0 / 0.887 GB, free: 29.11 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.966e-05/1.281, allocations: 8 kB / 0.887 GB, free: 29.1 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001197/1.281, allocations: 149.7 kB / 0.8871 GB, free: 28.9 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 4.229e-05/1.281, allocations: 30.53 kB / 0.8872 GB, free: 28.86 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 7.644e-06/1.281, allocations: 0 / 0.8872 GB, free: 28.86 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.181e-05/1.281, allocations: 38.5 kB / 0.8872 GB, free: 28.82 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=2): time 7.42e-07/1.281, allocations: 0 / 0.8872 GB, free: 28.82 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2): time 0.0002056/1.282, allocations: 148.6 kB / 0.8874 GB, free: 28.64 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.481e-05/1.282, allocations: 81.11 kB / 0.8874 GB, free: 28.54 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.639e-05/1.282, allocations: 92.98 kB / 0.8875 GB, free: 28.45 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 9.117e-06/1.282, allocations: 33.77 kB / 0.8876 GB, free: 28.41 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 2.246e-05/1.282, allocations: 84.14 kB / 0.8876 GB, free: 28.32 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.387e-05/1.282, allocations: 7.844 kB / 0.8876 GB, free: 28.31 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.226e-06/1.282, allocations: 4 kB / 0.8876 GB, free: 28.31 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 5.101e-05/1.282, allocations: 310.8 kB / 0.8879 GB, free: 28 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.257e-05/1.282, allocations: 3.984 kB / 0.8879 GB, free: 27.99 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.947e-06/1.282, allocations: 4 kB / 0.8879 GB, free: 27.99 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.294e-05/1.282, allocations: 37.64 kB / 0.888 GB, free: 27.95 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/1.282, allocations: 4.062 kB / 0.888 GB, free: 27.94 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.018e-05/1.282, allocations: 63.41 kB / 0.888 GB, free: 27.87 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.621e-05/1.282, allocations: 38.58 kB / 0.8881 GB, free: 27.82 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/1.282, allocations: 0 / 0.8881 GB, free: 27.82 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/1.282, allocations: 3.938 kB / 0.8881 GB, free: 27.82 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.012e-06/1.282, allocations: 0 / 0.8881 GB, free: 27.82 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/1.282, allocations: 0 / 0.8881 GB, free: 27.82 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.161e-05/1.282, allocations: 4 kB / 0.8881 GB, free: 27.82 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.235e-06/1.282, allocations: 3.984 kB / 0.8881 GB, free: 27.81 MB / 0.5105 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 5.522e-05/1.282, allocations: 143.6 kB / 0.8882 GB, free: 27.66 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.275e-06/1.282, allocations: 3.906 kB / 0.8882 GB, free: 27.65 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.446e-05/1.282, allocations: 15.06 kB / 0.8883 GB, free: 27.64 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.001e-06/1.282, allocations: 0 / 0.8883 GB, free: 27.64 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/1.282, allocations: 0 / 0.8883 GB, free: 27.64 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/1.282, allocations: 0 / 0.8883 GB, free: 27.64 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.511e-05/1.282, allocations: 157.7 kB / 0.8884 GB, free: 27.44 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/1.282, allocations: 0 / 0.8884 GB, free: 27.44 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.81e-07/1.282, allocations: 0 / 0.8884 GB, free: 27.44 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.362e-06/1.282, allocations: 0 / 0.8884 GB, free: 27.44 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.363e-06/1.282, allocations: 0 / 0.8884 GB, free: 27.44 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.512e-06/1.282, allocations: 11.89 kB / 0.8884 GB, free: 27.43 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.12e-07/1.282, allocations: 4 kB / 0.8884 GB, free: 27.42 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.961e-05/1.282, allocations: 90.83 kB / 0.8885 GB, free: 27.31 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.435e-05/1.282, allocations: 81.11 kB / 0.8886 GB, free: 27.21 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.331e-05/1.282, allocations: 3.984 kB / 0.8886 GB, free: 27.21 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.663e-05/1.282, allocations: 0 / 0.8886 GB, free: 27.21 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.657e-05/1.282, allocations: 11.95 kB / 0.8886 GB, free: 27.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.867e-06/1.282, allocations: 4.031 kB / 0.8886 GB, free: 27.19 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 2.544e-05/1.283, allocations: 87.47 kB / 0.8887 GB, free: 27.11 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.3e-07/1.283, allocations: 0 / 0.8887 GB, free: 27.11 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002386/1.283, allocations: 27.94 kB / 0.8887 GB, free: 27.08 MB / 0.5105 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0002432/1.283, allocations: 162 kB / 0.8889 GB, free: 26.91 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 8.916e-05/1.283, allocations: 67.34 kB / 0.8889 GB, free: 26.84 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/1.283, allocations: 4.062 kB / 0.8889 GB, free: 26.83 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 2.328e-05/1.283, allocations: 63.39 kB / 0.889 GB, free: 26.76 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000129/1.283, allocations: 3.938 kB / 0.889 GB, free: 26.75 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002489/1.284, allocations: 150.5 kB / 0.8891 GB, free: 26.58 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001076/1.284, allocations: 0.6809 MB / 0.8898 GB, free: 25.87 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 1.215e-05/1.284, allocations: 4 kB / 0.8898 GB, free: 25.87 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.354e-06/1.284, allocations: 7.438 kB / 0.8898 GB, free: 25.86 MB / 0.5105 GB Notification: Performance of SimCode: time 3.41e-07/1.284, allocations: 4 kB / 0.8898 GB, free: 25.86 MB / 0.5105 GB Notification: Performance of Templates: time 0.003347/1.287, allocations: 1.193 MB / 0.891 GB, free: 24.67 MB / 0.5105 GB make -j1 -f Buildings_1.6_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.ConvectionResistance.makefile (rm -f Buildings_1.6_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe >> ../files/Buildings_1.6_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.ConvectionResistance.sim & ./Buildings_1.6_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.ConvectionResistance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe 2>&1)