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.001497/0.001497, allocations: 108 kB / 15.6 MB, free: 132 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.002011/0.002011, allocations: 192.9 kB / 16.53 MB, free: 6.391 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.441/1.441, allocations: 205.1 MB / 222.4 MB, free: 4.59 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.719/1.719, allocations: 292.3 MB / 0.5489 GB, free: 12.84 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.001412/0.001412, allocations: 70.23 kB / 0.6715 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1984/0.1999, allocations: 114.5 MB / 0.7834 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.00238/0.2023, allocations: 1.278 MB / 0.7846 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004112/0.2064, allocations: 3.765 MB / 0.7883 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.111e-05/0.2065, allocations: 0 / 0.7883 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.758e-05/0.2065, allocations: 0 / 0.7883 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0004709/0.207, allocations: 103.4 kB / 0.7884 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000336/0.2074, allocations: 139.6 kB / 0.7885 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.132e-05/0.2074, allocations: 27.86 kB / 0.7886 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.304e-05/0.2075, allocations: 0 / 0.7886 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001031/0.2076, allocations: 27.86 kB / 0.7886 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 9.124e-05/0.2077, allocations: 27.97 kB / 0.7886 GB, free: 8.074 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.071e-05/0.2077, allocations: 0 / 0.7886 GB, free: 8.074 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004382/0.2081, allocations: 311.5 kB / 0.7889 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.285e-05/0.2082, allocations: 3.984 kB / 0.7889 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.035e-05/0.2082, allocations: 7.938 kB / 0.7889 GB, free: 7.758 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001992/0.2084, allocations: 120 kB / 0.789 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.2084, allocations: 4 kB / 0.789 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.533e-06/0.2084, allocations: 0 / 0.789 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.209e-06/0.2084, allocations: 0 / 0.789 GB, free: 7.637 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.0003662/0.2088, allocations: 355.4 kB / 0.7894 GB, free: 7.242 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.2088, allocations: 8.031 kB / 0.7894 GB, free: 7.234 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.948e-05/0.2089, allocations: 4.938 kB / 0.7894 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001117/0.209, allocations: 168.3 kB / 0.7895 GB, free: 7.027 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.073e-05/0.209, allocations: 384 / 0.7895 GB, free: 7.027 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.398e-06/0.209, allocations: 4.375 kB / 0.7896 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.04e-05/0.2091, allocations: 37.81 kB / 0.7896 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.152e-06/0.2091, allocations: 0 / 0.7896 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/0.2092, allocations: 0 / 0.7896 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.361e-06/0.2092, allocations: 3.938 kB / 0.7896 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.362e-05/0.2092, allocations: 7.938 kB / 0.7896 GB, free: 6.969 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001455/0.2094, allocations: 157.7 kB / 0.7897 GB, free: 6.766 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 5.41e-05/0.2094, allocations: 26.61 kB / 0.7898 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.787e-05/0.2094, allocations: 8.859 kB / 0.7898 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002229/0.2097, allocations: 101.1 kB / 0.7899 GB, free: 6.602 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.479e-05/0.2097, allocations: 38.44 kB / 0.7899 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.263e-06/0.2097, allocations: 0 / 0.7899 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0001374/0.2099, allocations: 45.64 kB / 0.79 GB, free: 6.504 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.145e-05/0.2099, allocations: 55.53 kB / 0.79 GB, free: 6.438 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.844e-05/0.21, allocations: 109.8 kB / 0.7901 GB, free: 6.32 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.129e-05/0.21, allocations: 25.7 kB / 0.7901 GB, free: 6.289 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.112e-05/0.21, allocations: 80.14 kB / 0.7902 GB, free: 6.207 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.069e-05/0.21, allocations: 7.906 kB / 0.7902 GB, free: 6.199 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.828e-05/0.2101, allocations: 13.72 kB / 0.7902 GB, free: 6.18 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.242e-05/0.2102, allocations: 314.8 kB / 0.7905 GB, free: 5.863 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.426e-05/0.2102, allocations: 4 kB / 0.7905 GB, free: 5.859 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.949e-06/0.2102, allocations: 8 kB / 0.7906 GB, free: 5.852 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.262e-05/0.2102, allocations: 16.8 kB / 0.7906 GB, free: 5.832 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.2103, allocations: 0 / 0.7906 GB, free: 5.832 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.576e-05/0.2103, allocations: 45.62 kB / 0.7906 GB, free: 5.781 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.2103, allocations: 4.938 kB / 0.7906 GB, free: 5.777 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/0.2104, allocations: 3.984 kB / 0.7906 GB, free: 5.773 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.2104, allocations: 7.984 kB / 0.7906 GB, free: 5.766 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.621e-05/0.2104, allocations: 0 / 0.7906 GB, free: 5.766 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.2104, allocations: 4 kB / 0.7906 GB, free: 5.762 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.627e-05/0.2105, allocations: 4.094 kB / 0.7906 GB, free: 5.758 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.057e-06/0.2105, allocations: 0 / 0.7906 GB, free: 5.758 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.18e-05/0.2105, allocations: 106.9 kB / 0.7907 GB, free: 5.645 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.2e-05/0.2106, allocations: 11.84 kB / 0.7907 GB, free: 5.633 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.974e-05/0.2107, allocations: 48.75 kB / 0.7908 GB, free: 5.578 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.273e-06/0.2107, allocations: 0 / 0.7908 GB, free: 5.578 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.2107, allocations: 0 / 0.7908 GB, free: 5.578 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.2107, allocations: 8.031 kB / 0.7908 GB, free: 5.57 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.997e-05/0.2108, allocations: 157.6 kB / 0.791 GB, free: 5.367 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.2108, allocations: 0 / 0.791 GB, free: 5.367 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.325e-05/0.2108, allocations: 11.88 kB / 0.791 GB, free: 5.355 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.2108, allocations: 0 / 0.791 GB, free: 5.355 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.661e-06/0.2108, allocations: 0 / 0.791 GB, free: 5.355 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.898e-06/0.2108, allocations: 3.984 kB / 0.791 GB, free: 5.352 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.2109, allocations: 0 / 0.791 GB, free: 5.352 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.963e-05/0.211, allocations: 69.08 kB / 0.791 GB, free: 5.266 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.068e-05/0.211, allocations: 85.03 kB / 0.7911 GB, free: 5.164 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.324e-05/0.211, allocations: 3.938 kB / 0.7911 GB, free: 5.16 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.414e-05/0.2111, allocations: 0 / 0.7911 GB, free: 5.16 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.517e-05/0.2111, allocations: 8 kB / 0.7911 GB, free: 5.152 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.345e-06/0.2111, allocations: 0 / 0.7911 GB, free: 5.152 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.001e-05/0.2111, allocations: 83.53 kB / 0.7912 GB, free: 5.07 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2111, allocations: 0 / 0.7912 GB, free: 5.07 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002086/0.2114, allocations: 23.98 kB / 0.7912 GB, free: 5.047 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.0001908/0.2116, allocations: 127.3 kB / 0.7913 GB, free: 4.914 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 8.169e-05/0.2116, allocations: 15.98 kB / 0.7914 GB, free: 4.898 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.2117, allocations: 0 / 0.7914 GB, free: 4.898 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.533e-05/0.2117, allocations: 7.938 kB / 0.7914 GB, free: 4.891 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000274/0.212, allocations: 4 kB / 0.7914 GB, free: 4.887 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003394/0.2123, allocations: 147.6 kB / 0.7915 GB, free: 4.711 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002587/0.2126, allocations: 0.6768 MB / 0.7922 GB, free: 4.008 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.9e-05/0.2126, allocations: 0 / 0.7922 GB, free: 4.008 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.153e-05/0.2126, allocations: 11.44 kB / 0.7922 GB, free: 3.996 MB / 0.6075 GB Notification: Performance of SimCode: time 2.5e-07/0.2126, allocations: 0 / 0.7922 GB, free: 3.996 MB / 0.6075 GB Notification: Performance of Templates: time 0.003/0.2156, allocations: 0.7491 MB / 0.7929 GB, free: 3.258 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)