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.708/1.708, allocations: 288.3 MB / 303.2 MB, free: 8.055 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.001162/0.001162, allocations: 181 kB / 371.8 MB, free: 10.24 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.657/1.657, allocations: 205.4 MB / 0.6306 GB, free: 9.977 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.0008955/0.0008954, allocations: 86.97 kB / 0.7439 GB, free: 5.906 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005249/0.000525, allocations: 12.56 kB / 0.8668 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2754/0.276, allocations: 115.3 MB / 0.9794 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.001678/0.2777, allocations: 0.994 MB / 0.9804 GB, free: 26.69 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.004583/0.2823, allocations: 3.281 MB / 0.9836 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.177e-05/0.2824, allocations: 0 / 0.9836 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.636e-05/0.2824, allocations: 0 / 0.9836 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0005365/0.283, allocations: 91.7 kB / 0.9837 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004255/0.2834, allocations: 86.38 kB / 0.9838 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.631e-05/0.2835, allocations: 19.91 kB / 0.9838 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.486e-05/0.2836, allocations: 0 / 0.9838 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001303/0.2837, allocations: 31.91 kB / 0.9838 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001096/0.2838, allocations: 35.89 kB / 0.9838 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.045e-05/0.2838, allocations: 0 / 0.9838 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005246/0.2844, allocations: 283.6 kB / 0.9841 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.268e-05/0.2844, allocations: 3.984 kB / 0.9841 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.108e-05/0.2844, allocations: 29.7 kB / 0.9842 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002046/0.2846, allocations: 84.09 kB / 0.9842 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.2847, allocations: 0 / 0.9842 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.925e-06/0.2847, allocations: 0 / 0.9842 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.089e-06/0.2847, allocations: 3.938 kB / 0.9842 GB, free: 22.73 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.0003418/0.285, allocations: 351.3 kB / 0.9846 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.2851, allocations: 12.02 kB / 0.9846 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.274e-05/0.2851, allocations: 7.953 kB / 0.9846 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.79e-05/0.2852, allocations: 159.1 kB / 0.9847 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.588e-05/0.2853, allocations: 7.938 kB / 0.9847 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.058e-05/0.2853, allocations: 4 kB / 0.9848 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001004/0.2854, allocations: 29.69 kB / 0.9848 GB, free: 22.08 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.2854, allocations: 4 kB / 0.9848 GB, free: 22.08 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.2854, allocations: 0 / 0.9848 GB, free: 22.08 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.2854, allocations: 0 / 0.9848 GB, free: 22.08 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.067e-05/0.2855, allocations: 8 kB / 0.9848 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001606/0.2857, allocations: 161.7 kB / 0.9849 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.91e-05/0.2857, allocations: 26.52 kB / 0.985 GB, free: 21.83 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002561/0.286, allocations: 97.14 kB / 0.9851 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.654e-05/0.286, allocations: 38.56 kB / 0.9851 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.222e-06/0.286, allocations: 0 / 0.9851 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0001516/0.2862, allocations: 41.61 kB / 0.9851 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.461e-05/0.2862, allocations: 59.34 kB / 0.9852 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.44e-05/0.2863, allocations: 101.8 kB / 0.9853 GB, free: 21.44 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.198e-06/0.2863, allocations: 25.7 kB / 0.9853 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.275e-05/0.2864, allocations: 80.14 kB / 0.9854 GB, free: 21.33 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.384e-05/0.2864, allocations: 7.906 kB / 0.9854 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.206e-06/0.2864, allocations: 128 / 0.9854 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.639e-05/0.2865, allocations: 322.8 kB / 0.9857 GB, free: 21 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.5e-05/0.2865, allocations: 7.938 kB / 0.9857 GB, free: 20.99 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.171e-05/0.2865, allocations: 4 kB / 0.9857 GB, free: 20.98 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.068e-05/0.2865, allocations: 4 kB / 0.9857 GB, free: 20.98 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.2865, allocations: 0 / 0.9857 GB, free: 20.98 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.648e-05/0.2866, allocations: 37.7 kB / 0.9858 GB, free: 20.94 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.2867, allocations: 4 kB / 0.9858 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.2867, allocations: 7.938 kB / 0.9858 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.079e-05/0.2867, allocations: 4.094 kB / 0.9858 GB, free: 20.92 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.611e-05/0.2868, allocations: 3.984 kB / 0.9858 GB, free: 20.92 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-06/0.2868, allocations: 4 kB / 0.9858 GB, free: 20.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.943e-05/0.2868, allocations: 0 / 0.9858 GB, free: 20.91 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.557e-06/0.2868, allocations: 0 / 0.9858 GB, free: 20.91 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.336e-05/0.2869, allocations: 110.3 kB / 0.9859 GB, free: 20.8 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.071e-05/0.2869, allocations: 4 kB / 0.9859 GB, free: 20.79 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001133/0.287, allocations: 52.75 kB / 0.9859 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.287, allocations: 0 / 0.9859 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.287, allocations: 0 / 0.9859 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.2871, allocations: 7.984 kB / 0.986 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.588e-05/0.2871, allocations: 157.6 kB / 0.9861 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.2872, allocations: 0 / 0.9861 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.625e-05/0.2872, allocations: 4 kB / 0.9861 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.2872, allocations: 0 / 0.9861 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.154e-06/0.2872, allocations: 0 / 0.9861 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.2872, allocations: 0 / 0.9861 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.2872, allocations: 0 / 0.9861 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.945e-05/0.2873, allocations: 80.95 kB / 0.9862 GB, free: 20.42 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.538e-05/0.2874, allocations: 81.05 kB / 0.9863 GB, free: 20.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.355e-05/0.2874, allocations: 0 / 0.9863 GB, free: 20.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.918e-05/0.2874, allocations: 0 / 0.9863 GB, free: 20.32 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.627e-05/0.2874, allocations: 7.984 kB / 0.9863 GB, free: 20.32 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.436e-06/0.2874, allocations: 4.188 kB / 0.9863 GB, free: 20.31 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.377e-05/0.2875, allocations: 87.28 kB / 0.9864 GB, free: 20.23 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2875, allocations: 4.031 kB / 0.9864 GB, free: 20.22 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003217/0.2878, allocations: 20 kB / 0.9864 GB, free: 20.2 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.0002053/0.288, allocations: 131.2 kB / 0.9865 GB, free: 20.06 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 8.066e-05/0.2881, allocations: 12 kB / 0.9865 GB, free: 20.05 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.2881, allocations: 0 / 0.9865 GB, free: 20.05 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.656e-05/0.2881, allocations: 7.938 kB / 0.9865 GB, free: 20.04 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002086/0.2884, allocations: 7.547 kB / 0.9865 GB, free: 20.04 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003074/0.2887, allocations: 166.5 kB / 0.9867 GB, free: 19.85 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001127/0.2888, allocations: 0.677 MB / 0.9874 GB, free: 19.15 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.532e-05/0.2889, allocations: 0 / 0.9874 GB, free: 19.15 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.877e-05/0.2889, allocations: 11.44 kB / 0.9874 GB, free: 19.14 MB / 0.6198 GB Notification: Performance of SimCode: time 2.61e-07/0.2889, allocations: 4 kB / 0.9874 GB, free: 19.13 MB / 0.6198 GB Notification: Performance of Templates: time 0.003198/0.2921, allocations: 0.7185 MB / 0.9881 GB, free: 18.45 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)