Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.596/2.596, allocations: 287.3 MB / 302.3 MB, free: 8.219 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.001501/0.001501, allocations: 172.5 kB / 370.8 MB, free: 10.87 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.106/2.106, allocations: 205.4 MB / 0.6295 GB, free: 10.63 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.001142/0.001142, allocations: 99.95 kB / 0.7428 GB, free: 6.633 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004708/0.0004707, allocations: 16.94 kB / 0.8656 GB, free: 139.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.222/0.2225, allocations: 115.3 MB / 0.9782 GB, free: 28.4 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.001513/0.2241, allocations: 1.005 MB / 0.9792 GB, free: 27.38 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.004685/0.2288, allocations: 3.274 MB / 0.9824 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.461e-05/0.2289, allocations: 0 / 0.9824 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.346e-05/0.2289, allocations: 0 / 0.9824 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.000492/0.2294, allocations: 75.78 kB / 0.9824 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004032/0.2298, allocations: 96.8 kB / 0.9825 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.742e-05/0.2299, allocations: 27.91 kB / 0.9826 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.029e-05/0.23, allocations: 0 / 0.9826 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001348/0.2301, allocations: 23.91 kB / 0.9826 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001149/0.2303, allocations: 27.97 kB / 0.9826 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.217e-05/0.2303, allocations: 3.938 kB / 0.9826 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000579/0.2309, allocations: 291.6 kB / 0.9829 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.001e-05/0.2309, allocations: 0 / 0.9829 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.278e-05/0.2309, allocations: 25.7 kB / 0.9829 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002026/0.2311, allocations: 88.08 kB / 0.983 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.2312, allocations: 0 / 0.983 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.324e-06/0.2312, allocations: 4 kB / 0.983 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.2312, allocations: 0 / 0.983 GB, free: 23.44 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.0003786/0.2316, allocations: 353.2 kB / 0.9833 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.422e-05/0.2316, allocations: 12.02 kB / 0.9834 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.248e-05/0.2317, allocations: 7.891 kB / 0.9834 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.717e-05/0.2318, allocations: 167.1 kB / 0.9835 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.505e-05/0.2318, allocations: 0 / 0.9835 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.035e-05/0.2318, allocations: 0 / 0.9835 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001044/0.2319, allocations: 41.62 kB / 0.9836 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.232, allocations: 0 / 0.9836 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.618e-06/0.232, allocations: 0 / 0.9836 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.511e-06/0.232, allocations: 0 / 0.9836 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.733e-05/0.232, allocations: 7.953 kB / 0.9836 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001547/0.2322, allocations: 153.7 kB / 0.9837 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 6.05e-05/0.2323, allocations: 26.61 kB / 0.9837 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003027/0.2326, allocations: 101.1 kB / 0.9838 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.261e-05/0.2326, allocations: 34.55 kB / 0.9839 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 2.485e-06/0.2326, allocations: 0 / 0.9839 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0001647/0.2328, allocations: 49.55 kB / 0.9839 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.854e-05/0.2329, allocations: 51.41 kB / 0.984 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.229e-05/0.2329, allocations: 101.8 kB / 0.9841 GB, free: 22.15 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.528e-06/0.233, allocations: 29.7 kB / 0.9841 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.269e-05/0.233, allocations: 84.27 kB / 0.9842 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.391e-05/0.233, allocations: 3.906 kB / 0.9842 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.537e-06/0.233, allocations: 0 / 0.9842 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.729e-05/0.2331, allocations: 318.8 kB / 0.9845 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.971e-05/0.2332, allocations: 7.984 kB / 0.9845 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.507e-05/0.2332, allocations: 4 kB / 0.9845 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.34e-05/0.2332, allocations: 0 / 0.9845 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.2332, allocations: 0 / 0.9845 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.442e-05/0.2333, allocations: 49.7 kB / 0.9845 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/0.2333, allocations: 5.875 kB / 0.9845 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-06/0.2334, allocations: 3.938 kB / 0.9846 GB, free: 21.63 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.2334, allocations: 0 / 0.9846 GB, free: 21.63 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.252e-05/0.2335, allocations: 7.984 kB / 0.9846 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.2335, allocations: 0 / 0.9846 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.464e-05/0.2335, allocations: 0 / 0.9846 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.753e-06/0.2335, allocations: 0 / 0.9846 GB, free: 21.62 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 6.207e-05/0.2336, allocations: 113.8 kB / 0.9847 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.828e-06/0.2336, allocations: 7.969 kB / 0.9847 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001458/0.2338, allocations: 52.75 kB / 0.9847 GB, free: 21.44 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.2338, allocations: 0 / 0.9847 GB, free: 21.44 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.2338, allocations: 256 / 0.9847 GB, free: 21.44 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.838e-06/0.2338, allocations: 0 / 0.9847 GB, free: 21.44 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.835e-05/0.2339, allocations: 161.6 kB / 0.9849 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.2339, allocations: 0 / 0.9849 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.625e-05/0.234, allocations: 4 kB / 0.9849 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.234, allocations: 0 / 0.9849 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-06/0.234, allocations: 4.031 kB / 0.9849 GB, free: 21.22 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.234, allocations: 0 / 0.9849 GB, free: 21.22 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.234, allocations: 4 kB / 0.9849 GB, free: 21.22 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.651e-05/0.2341, allocations: 68.98 kB / 0.985 GB, free: 21.13 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.981e-05/0.2342, allocations: 85.05 kB / 0.985 GB, free: 21.03 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.602e-05/0.2342, allocations: 3.938 kB / 0.985 GB, free: 21.03 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.476e-05/0.2342, allocations: 4 kB / 0.985 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.7e-05/0.2343, allocations: 8.016 kB / 0.9851 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.488e-06/0.2343, allocations: 0 / 0.9851 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.888e-05/0.2343, allocations: 79.28 kB / 0.9851 GB, free: 20.94 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.91e-07/0.2343, allocations: 0 / 0.9851 GB, free: 20.94 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002873/0.2346, allocations: 24 kB / 0.9852 GB, free: 20.91 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.0002249/0.2349, allocations: 127.2 kB / 0.9853 GB, free: 20.78 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 8.672e-05/0.235, allocations: 12 kB / 0.9853 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.235, allocations: 0 / 0.9853 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.982e-05/0.235, allocations: 8.062 kB / 0.9853 GB, free: 20.76 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001953/0.2352, allocations: 7.953 kB / 0.9853 GB, free: 20.75 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003219/0.2356, allocations: 162.3 kB / 0.9855 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001318/0.2357, allocations: 0.6809 MB / 0.9861 GB, free: 19.86 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.279e-05/0.2358, allocations: 8.062 kB / 0.9861 GB, free: 19.85 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2e-05/0.2358, allocations: 7.438 kB / 0.9861 GB, free: 19.84 MB / 0.6198 GB Notification: Performance of SimCode: time 6.81e-07/0.2358, allocations: 0 / 0.9861 GB, free: 19.84 MB / 0.6198 GB Notification: Performance of Templates: time 0.003494/0.2393, allocations: 0.7074 MB / 0.9868 GB, free: 19.14 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.sim & ./Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe 2>&1)