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.001453/0.001453, allocations: 105.2 kB / 15.98 MB, free: 6.352 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001674/0.001674, allocations: 193 kB / 16.91 MB, free: 6.188 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.442/1.442, allocations: 205.1 MB / 222.8 MB, free: 4.691 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.685/1.685, allocations: 292.3 MB / 0.5492 GB, free: 13.61 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.001573/0.001573, allocations: 71.09 kB / 0.6717 GB, free: 26.4 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2534/0.255, allocations: 114.5 MB / 0.7835 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.003078/0.2582, allocations: 1.351 MB / 0.7848 GB, free: 12.53 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004607/0.2628, allocations: 3.727 MB / 0.7885 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.251e-05/0.2629, allocations: 0 / 0.7885 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.002e-05/0.2629, allocations: 4 kB / 0.7885 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0005241/0.2635, allocations: 95.55 kB / 0.7886 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003801/0.2639, allocations: 114.5 kB / 0.7887 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.883e-05/0.2639, allocations: 27.86 kB / 0.7887 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.859e-05/0.264, allocations: 4 kB / 0.7887 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001122/0.2641, allocations: 31.84 kB / 0.7887 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 9.211e-05/0.2642, allocations: 35.95 kB / 0.7888 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.222e-05/0.2642, allocations: 4 kB / 0.7888 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004629/0.2647, allocations: 303.6 kB / 0.7891 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.24e-05/0.2647, allocations: 3.938 kB / 0.7891 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.587e-05/0.2648, allocations: 8 kB / 0.7891 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001678/0.2649, allocations: 80.08 kB / 0.7892 GB, free: 8.082 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.2649, allocations: 0 / 0.7892 GB, free: 8.082 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.653e-06/0.265, allocations: 3.938 kB / 0.7892 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.666e-06/0.265, allocations: 0 / 0.7892 GB, free: 8.078 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.0003968/0.2654, allocations: 363.4 kB / 0.7895 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.2654, allocations: 12.03 kB / 0.7895 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.102e-05/0.2655, allocations: 0.9375 kB / 0.7895 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001313/0.2656, allocations: 164.3 kB / 0.7897 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.107e-05/0.2656, allocations: 384 / 0.7897 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.428e-06/0.2656, allocations: 8.375 kB / 0.7897 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.201e-05/0.2657, allocations: 37.81 kB / 0.7897 GB, free: 7.414 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.713e-06/0.2657, allocations: 0 / 0.7897 GB, free: 7.414 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.2658, allocations: 7.984 kB / 0.7897 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.409e-06/0.2658, allocations: 0 / 0.7897 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.491e-05/0.2658, allocations: 7.938 kB / 0.7897 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001723/0.266, allocations: 153.7 kB / 0.7899 GB, free: 7.199 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 5.643e-05/0.266, allocations: 26.58 kB / 0.7899 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.047e-05/0.2661, allocations: 8.922 kB / 0.7899 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002584/0.2663, allocations: 109 kB / 0.79 GB, free: 7.027 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.385e-05/0.2664, allocations: 34.5 kB / 0.7901 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.2664, allocations: 0 / 0.7901 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0001607/0.2665, allocations: 45.64 kB / 0.7901 GB, free: 6.934 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.01e-05/0.2666, allocations: 55.39 kB / 0.7902 GB, free: 6.867 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.725e-05/0.2667, allocations: 97.86 kB / 0.7902 GB, free: 6.762 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.43e-05/0.2667, allocations: 25.7 kB / 0.7903 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.335e-05/0.2667, allocations: 88.27 kB / 0.7904 GB, free: 6.641 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.3e-05/0.2668, allocations: 3.906 kB / 0.7904 GB, free: 6.637 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.205e-05/0.2668, allocations: 21.7 kB / 0.7904 GB, free: 6.609 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001144/0.2669, allocations: 310.8 kB / 0.7907 GB, free: 6.297 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.202e-05/0.2669, allocations: 0 / 0.7907 GB, free: 6.297 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.088e-05/0.267, allocations: 4 kB / 0.7907 GB, free: 6.293 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.487e-05/0.267, allocations: 12.86 kB / 0.7907 GB, free: 6.277 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.267, allocations: 4.062 kB / 0.7907 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.746e-05/0.2671, allocations: 53.5 kB / 0.7907 GB, free: 6.215 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.2671, allocations: 4 kB / 0.7908 GB, free: 6.211 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.2671, allocations: 0 / 0.7908 GB, free: 6.211 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.2671, allocations: 0 / 0.7908 GB, free: 6.211 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.238e-05/0.2672, allocations: 4 kB / 0.7908 GB, free: 6.207 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.2672, allocations: 0 / 0.7908 GB, free: 6.207 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.65e-05/0.2672, allocations: 0 / 0.7908 GB, free: 6.207 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.216e-06/0.2672, allocations: 8 kB / 0.7908 GB, free: 6.199 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 9.189e-05/0.2673, allocations: 111 kB / 0.7909 GB, free: 6.082 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.122e-05/0.2673, allocations: 7.844 kB / 0.7909 GB, free: 6.074 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001072/0.2675, allocations: 52.75 kB / 0.7909 GB, free: 6.016 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.2675, allocations: 0 / 0.7909 GB, free: 6.016 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.2675, allocations: 256 / 0.7909 GB, free: 6.016 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.2675, allocations: 0 / 0.7909 GB, free: 6.016 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001125/0.2676, allocations: 161.6 kB / 0.7911 GB, free: 5.809 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.2676, allocations: 0 / 0.7911 GB, free: 5.809 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.556e-05/0.2676, allocations: 11.92 kB / 0.7911 GB, free: 5.797 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.2677, allocations: 4.031 kB / 0.7911 GB, free: 5.793 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.915e-06/0.2677, allocations: 4 kB / 0.7911 GB, free: 5.789 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.2677, allocations: 0 / 0.7911 GB, free: 5.789 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.2677, allocations: 0 / 0.7911 GB, free: 5.789 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.662e-05/0.2678, allocations: 57.14 kB / 0.7912 GB, free: 5.715 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.592e-05/0.2678, allocations: 92.97 kB / 0.7912 GB, free: 5.605 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.091e-05/0.2678, allocations: 0 / 0.7912 GB, free: 5.605 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.402e-05/0.2679, allocations: 0 / 0.7912 GB, free: 5.605 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.565e-05/0.2679, allocations: 7.969 kB / 0.7913 GB, free: 5.598 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.057e-06/0.2679, allocations: 4 kB / 0.7913 GB, free: 5.594 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.814e-05/0.2679, allocations: 87.27 kB / 0.7913 GB, free: 5.508 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2679, allocations: 0 / 0.7913 GB, free: 5.508 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002052/0.2681, allocations: 20 kB / 0.7914 GB, free: 5.488 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.0002048/0.2684, allocations: 127.2 kB / 0.7915 GB, free: 5.355 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 8.198e-05/0.2684, allocations: 15.98 kB / 0.7915 GB, free: 5.34 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.2685, allocations: 4.062 kB / 0.7915 GB, free: 5.336 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.421e-05/0.2685, allocations: 4 kB / 0.7915 GB, free: 5.332 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002409/0.2687, allocations: 11.88 kB / 0.7915 GB, free: 5.32 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00031/0.269, allocations: 165.1 kB / 0.7917 GB, free: 5.129 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002628/0.2693, allocations: 0.6768 MB / 0.7923 GB, free: 4.426 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.233e-05/0.2693, allocations: 15.5 kB / 0.7923 GB, free: 4.41 MB / 0.6075 GB Notification: Performance of SimCode: time 2.21e-07/0.2693, allocations: 0 / 0.7923 GB, free: 4.41 MB / 0.6075 GB Notification: Performance of Templates: time 0.002246/0.2716, allocations: 0.7212 MB / 0.793 GB, free: 3.691 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)