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/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.703/1.703, allocations: 292.3 MB / 308.1 MB, free: 4.234 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.001345/0.001345, allocations: 197.5 kB / 376.9 MB, free: 1.801 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.517/1.517, allocations: 205.1 MB / 0.6354 GB, free: 9.746 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009021/0.0009022, allocations: 101.9 kB / 0.748 GB, free: 61.16 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001077/0.001077, allocations: 63.89 kB / 0.8704 GB, free: 13.06 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2516/0.2527, allocations: 114.5 MB / 0.9822 GB, free: 10.37 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.002496/0.2552, allocations: 1.34 MB / 0.9835 GB, free: 9.008 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.004454/0.2597, allocations: 3.78 MB / 0.9872 GB, free: 5.203 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.539e-05/0.2597, allocations: 0 / 0.9872 GB, free: 5.203 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.155e-05/0.2598, allocations: 0 / 0.9872 GB, free: 5.203 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0004746/0.2603, allocations: 91.55 kB / 0.9873 GB, free: 5.113 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.000321/0.2606, allocations: 95.75 kB / 0.9874 GB, free: 5.02 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 6.206e-05/0.2607, allocations: 31.8 kB / 0.9874 GB, free: 4.988 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 3.355e-05/0.2607, allocations: 4 kB / 0.9874 GB, free: 4.984 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001303/0.2608, allocations: 23.92 kB / 0.9875 GB, free: 4.961 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001101/0.261, allocations: 39.89 kB / 0.9875 GB, free: 4.922 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 9.758e-06/0.261, allocations: 0 / 0.9875 GB, free: 4.922 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004772/0.2615, allocations: 303.6 kB / 0.9878 GB, free: 4.625 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.48e-05/0.2615, allocations: 11.92 kB / 0.9878 GB, free: 4.613 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.221e-05/0.2615, allocations: 3.938 kB / 0.9878 GB, free: 4.609 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002252/0.2618, allocations: 124 kB / 0.9879 GB, free: 4.488 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.2618, allocations: 0 / 0.9879 GB, free: 4.488 MB / 0.7136 GB Notification: Performance of FrontEnd: time 5.81e-07/0.2618, allocations: 0 / 0.9879 GB, free: 4.488 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.226e-06/0.2618, allocations: 0 / 0.9879 GB, free: 4.488 MB / 0.7136 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.000383/0.2622, allocations: 355.5 kB / 0.9883 GB, free: 4.094 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.2622, allocations: 12.03 kB / 0.9883 GB, free: 4.082 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.613e-05/0.2623, allocations: 4.938 kB / 0.9883 GB, free: 4.078 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.934e-05/0.2624, allocations: 172.3 kB / 0.9884 GB, free: 3.871 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.848e-06/0.2624, allocations: 384 / 0.9884 GB, free: 3.871 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.838e-06/0.2624, allocations: 4.375 kB / 0.9885 GB, free: 3.867 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.298e-05/0.2625, allocations: 37.83 kB / 0.9885 GB, free: 3.824 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.2625, allocations: 0 / 0.9885 GB, free: 3.824 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.674e-06/0.2625, allocations: 0 / 0.9885 GB, free: 3.824 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.117e-06/0.2625, allocations: 0 / 0.9885 GB, free: 3.824 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.412e-05/0.2626, allocations: 7.938 kB / 0.9885 GB, free: 3.816 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001521/0.2627, allocations: 161.6 kB / 0.9886 GB, free: 3.609 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 4.725e-05/0.2628, allocations: 18.58 kB / 0.9887 GB, free: 3.582 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.287e-05/0.2628, allocations: 20.91 kB / 0.9887 GB, free: 3.559 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002654/0.2631, allocations: 97.09 kB / 0.9888 GB, free: 3.445 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.611e-05/0.2631, allocations: 34.5 kB / 0.9888 GB, free: 3.402 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.202e-06/0.2631, allocations: 4 kB / 0.9888 GB, free: 3.398 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001471/0.2633, allocations: 49.62 kB / 0.9889 GB, free: 3.344 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.336e-05/0.2633, allocations: 51.41 kB / 0.9889 GB, free: 3.281 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.139e-05/0.2634, allocations: 97.86 kB / 0.989 GB, free: 3.176 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.18e-05/0.2634, allocations: 29.7 kB / 0.989 GB, free: 3.141 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.071e-05/0.2635, allocations: 88.12 kB / 0.9891 GB, free: 3.051 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.118e-05/0.2635, allocations: 3.906 kB / 0.9891 GB, free: 3.047 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.244e-05/0.2635, allocations: 9.844 kB / 0.9891 GB, free: 3.031 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.254e-05/0.2636, allocations: 322.8 kB / 0.9894 GB, free: 2.707 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.384e-05/0.2636, allocations: 0 / 0.9894 GB, free: 2.707 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.095e-05/0.2637, allocations: 7.938 kB / 0.9894 GB, free: 2.699 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.934e-05/0.2637, allocations: 12.86 kB / 0.9895 GB, free: 2.684 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.2637, allocations: 0 / 0.9895 GB, free: 2.684 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.793e-05/0.2638, allocations: 49.56 kB / 0.9895 GB, free: 2.629 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.2638, allocations: 4 kB / 0.9895 GB, free: 2.625 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.567e-06/0.2638, allocations: 4.094 kB / 0.9895 GB, free: 2.621 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.2638, allocations: 0 / 0.9895 GB, free: 2.621 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.197e-05/0.2639, allocations: 4 kB / 0.9895 GB, free: 2.617 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.648e-06/0.2639, allocations: 0 / 0.9895 GB, free: 2.617 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.562e-05/0.2639, allocations: 0 / 0.9895 GB, free: 2.617 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.813e-06/0.2639, allocations: 4 kB / 0.9895 GB, free: 2.613 MB / 0.7136 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 7.199e-05/0.264, allocations: 117.8 kB / 0.9896 GB, free: 2.488 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.102e-05/0.264, allocations: 7.844 kB / 0.9896 GB, free: 2.48 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001107/0.2641, allocations: 52.77 kB / 0.9897 GB, free: 2.422 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.2641, allocations: 3.984 kB / 0.9897 GB, free: 2.418 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.2642, allocations: 0 / 0.9897 GB, free: 2.418 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.2642, allocations: 0 / 0.9897 GB, free: 2.418 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.583e-05/0.2643, allocations: 149.7 kB / 0.9898 GB, free: 2.223 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.2643, allocations: 0 / 0.9898 GB, free: 2.223 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.733e-05/0.2643, allocations: 7.938 kB / 0.9898 GB, free: 2.215 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.14e-06/0.2643, allocations: 3.984 kB / 0.9899 GB, free: 2.211 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.776e-06/0.2643, allocations: 8 kB / 0.9899 GB, free: 2.203 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.2643, allocations: 3.938 kB / 0.9899 GB, free: 2.199 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.2643, allocations: 0 / 0.9899 GB, free: 2.199 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003302/0.2647, allocations: 0.6123 MB / 0.9905 GB, free: 1.527 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.863e-05/0.2647, allocations: 88.94 kB / 0.9905 GB, free: 1.422 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.598e-05/0.2648, allocations: 4 kB / 0.9905 GB, free: 1.418 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.374e-05/0.2648, allocations: 0 / 0.9905 GB, free: 1.418 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.594e-05/0.2648, allocations: 0 / 0.9905 GB, free: 1.418 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.418e-06/0.2649, allocations: 4.031 kB / 0.9906 GB, free: 1.414 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.717e-05/0.2649, allocations: 87.53 kB / 0.9906 GB, free: 1.328 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.8e-07/0.2649, allocations: 0 / 0.9906 GB, free: 1.328 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0005695/0.2655, allocations: 31.92 kB / 0.9907 GB, free: 1.297 MB / 0.7136 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.0002533/0.2658, allocations: 123.2 kB / 0.9908 GB, free: 1.168 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 9.382e-05/0.2659, allocations: 19.86 kB / 0.9908 GB, free: 1.148 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.2659, allocations: 0 / 0.9908 GB, free: 1.148 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.61e-05/0.2659, allocations: 12.06 kB / 0.9908 GB, free: 1.137 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000323/0.2663, allocations: 2.391 kB / 0.9908 GB, free: 1.137 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004291/0.2667, allocations: 228.4 kB / 0.991 GB, free: 0.875 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001902/0.2669, allocations: 0.6809 MB / 0.9917 GB, free: 172 kB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.323e-05/0.267, allocations: 8.062 kB / 0.9917 GB, free: 164 kB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.655e-05/0.267, allocations: 7.438 kB / 0.9917 GB, free: 156 kB / 0.7136 GB Notification: Performance of SimCode: time 2.61e-07/0.267, allocations: 0 / 0.9917 GB, free: 156 kB / 0.7136 GB Notification: Performance of Templates: time 0.002858/0.2698, allocations: 0.7402 MB / 0.9924 GB, free: 15.41 MB / 0.7292 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)