Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.43/1.43, allocations: 252 MB / 267.6 MB, free: 10.9 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001108/0.001108, allocations: 187.8 kB / 327.3 MB, free: 2.203 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.171/2.171, allocations: 205.4 MB / 0.5783 GB, free: 20.48 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009224/0.0009226, allocations: 85.89 kB / 0.6829 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003736/0.0003736, allocations: 9.469 kB / 0.797 GB, free: 134.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2512/0.2516, allocations: 106.3 MB / 0.9009 GB, free: 64.24 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.003137/0.2547, allocations: 2.604 MB / 0.9034 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002693/0.2575, allocations: 1.988 MB / 0.9054 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003665/0.2579, allocations: 4 kB / 0.9054 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001457/0.2594, allocations: 434.1 kB / 0.9058 GB, free: 59.19 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.000457/0.2598, allocations: 123.2 kB / 0.9059 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001541/0.26, allocations: 35.97 kB / 0.9059 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0005628/0.2606, allocations: 429.9 kB / 0.9063 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002279/0.2608, allocations: 107 kB / 0.9064 GB, free: 58.51 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000278/0.2611, allocations: 139.4 kB / 0.9066 GB, free: 58.37 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002497/0.2614, allocations: 163.2 kB / 0.9067 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.763e-05/0.2614, allocations: 16 kB / 0.9067 GB, free: 58.2 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.739e-05/0.2615, allocations: 20 kB / 0.9068 GB, free: 58.18 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 8.477e-05/0.2616, allocations: 71.69 kB / 0.9068 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001161/0.2617, allocations: 117.4 kB / 0.9069 GB, free: 57.98 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003508/0.2621, allocations: 438.7 kB / 0.9074 GB, free: 57.55 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.2621, allocations: 4 kB / 0.9074 GB, free: 57.55 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.884e-06/0.2621, allocations: 0 / 0.9074 GB, free: 57.55 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.441e-05/0.2621, allocations: 0 / 0.9074 GB, free: 57.55 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0009528/0.2631, allocations: 0.6423 MB / 0.908 GB, free: 56.86 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/0.2631, allocations: 12.03 kB / 0.908 GB, free: 56.85 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001093/0.2633, allocations: 47.39 kB / 0.908 GB, free: 56.8 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004927/0.2638, allocations: 365.1 kB / 0.9084 GB, free: 56.4 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.576e-05/0.2638, allocations: 12.44 kB / 0.9084 GB, free: 56.39 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.606e-05/0.2638, allocations: 20 kB / 0.9084 GB, free: 56.37 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004439/0.2643, allocations: 211.3 kB / 0.9086 GB, free: 56.16 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.915e-05/0.2643, allocations: 7.984 kB / 0.9086 GB, free: 56.15 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.189e-05/0.2644, allocations: 8 kB / 0.9086 GB, free: 56.14 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.339e-05/0.2644, allocations: 8 kB / 0.9087 GB, free: 56.14 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000381/0.2648, allocations: 165.7 kB / 0.9088 GB, free: 55.97 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001241/0.266, allocations: 0.8779 MB / 0.9097 GB, free: 55.03 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002957/0.2663, allocations: 154.6 kB / 0.9098 GB, free: 54.87 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002033/0.2665, allocations: 122.5 kB / 0.9099 GB, free: 54.75 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.963e-05/0.2666, allocations: 4 kB / 0.9099 GB, free: 54.74 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.728e-05/0.2666, allocations: 46.55 kB / 0.91 GB, free: 54.69 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=18): time 2.264e-06/0.2666, allocations: 3.938 kB / 0.91 GB, free: 54.68 MB / 0.6042 GB Notification: Performance of matching and sorting (n=18): time 0.0005819/0.2672, allocations: 265.4 kB / 0.9102 GB, free: 54.42 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.241e-05/0.2672, allocations: 55.41 kB / 0.9103 GB, free: 54.35 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004278/0.2677, allocations: 413.6 kB / 0.9107 GB, free: 53.94 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.82e-05/0.2677, allocations: 33.7 kB / 0.9107 GB, free: 53.9 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001245/0.2678, allocations: 208.2 kB / 0.9109 GB, free: 53.69 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 6.006e-05/0.2679, allocations: 59.11 kB / 0.911 GB, free: 53.63 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.365e-06/0.2679, allocations: 4 kB / 0.911 GB, free: 53.63 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.669e-05/0.268, allocations: 350.8 kB / 0.9113 GB, free: 53.28 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001387/0.2682, allocations: 55.97 kB / 0.9114 GB, free: 53.22 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001275/0.2683, allocations: 70.48 kB / 0.9114 GB, free: 53.16 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001442/0.2685, allocations: 71.98 kB / 0.9115 GB, free: 53.09 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.2685, allocations: 0 / 0.9115 GB, free: 53.09 MB / 0.6042 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003609/0.2688, allocations: 219.3 kB / 0.9117 GB, free: 52.87 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.2689, allocations: 4 kB / 0.9117 GB, free: 52.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.2689, allocations: 4 kB / 0.9117 GB, free: 52.86 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/0.2689, allocations: 4 kB / 0.9117 GB, free: 52.86 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002489/0.2691, allocations: 51.97 kB / 0.9118 GB, free: 52.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.2692, allocations: 0 / 0.9118 GB, free: 52.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001846/0.2694, allocations: 31.77 kB / 0.9118 GB, free: 52.77 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.324e-05/0.2694, allocations: 4 kB / 0.9118 GB, free: 52.77 MB / 0.6042 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 (20): * Single equations (assignments): 20 * 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 0.0001729/0.2696, allocations: 169.8 kB / 0.912 GB, free: 52.59 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.413e-05/0.2696, allocations: 39.53 kB / 0.912 GB, free: 52.55 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.13e-05/0.2697, allocations: 39.59 kB / 0.912 GB, free: 52.51 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.2697, allocations: 4 kB / 0.912 GB, free: 52.51 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.2697, allocations: 0 / 0.912 GB, free: 52.51 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.2697, allocations: 3.984 kB / 0.912 GB, free: 52.5 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003681/0.2701, allocations: 381.2 kB / 0.9124 GB, free: 52.08 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.2701, allocations: 0 / 0.9124 GB, free: 52.08 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00026/0.2704, allocations: 59.91 kB / 0.9125 GB, free: 52.02 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.549e-06/0.2704, allocations: 0 / 0.9125 GB, free: 52.02 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.764e-05/0.2704, allocations: 11.98 kB / 0.9125 GB, free: 52.01 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.2704, allocations: 0 / 0.9125 GB, free: 52.01 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.2704, allocations: 0 / 0.9125 GB, free: 52.01 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005458/0.271, allocations: 389.5 kB / 0.9128 GB, free: 51.62 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 8.861e-05/0.2711, allocations: 120.6 kB / 0.913 GB, free: 51.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.349e-05/0.2711, allocations: 4 kB / 0.913 GB, free: 51.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001703/0.2713, allocations: 11.98 kB / 0.913 GB, free: 51.46 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.316e-05/0.2714, allocations: 20.05 kB / 0.913 GB, free: 51.45 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.923e-06/0.2714, allocations: 0 / 0.913 GB, free: 51.45 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002856/0.2717, allocations: 307.1 kB / 0.9133 GB, free: 51.14 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2717, allocations: 3.938 kB / 0.9133 GB, free: 51.14 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002851/0.272, allocations: 71.84 kB / 0.9134 GB, free: 51.07 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (intRes1UTub.capFil1.T,intRes1UTub.capFil2.T) * 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 (18): * Single equations (assignments): 18 * 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.0001341/0.2721, allocations: 107.2 kB / 0.9135 GB, free: 50.96 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003524/0.2725, allocations: 163.8 kB / 0.9136 GB, free: 50.8 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.2725, allocations: 3.938 kB / 0.9136 GB, free: 50.79 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001468/0.2726, allocations: 79.91 kB / 0.9137 GB, free: 50.71 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005825/0.2732, allocations: 89.45 kB / 0.9138 GB, free: 50.63 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001258/0.2745, allocations: 0.9286 MB / 0.9147 GB, free: 49.67 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002675/0.2748, allocations: 0.7953 MB / 0.9155 GB, free: 48.85 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.53e-05/0.2749, allocations: 23.44 kB / 0.9155 GB, free: 48.82 MB / 0.6042 GB Notification: Performance of SimCode: time 4.21e-07/0.2749, allocations: 0 / 0.9155 GB, free: 48.82 MB / 0.6042 GB Notification: Performance of Templates: time 0.006331/0.2812, allocations: 4.312 MB / 0.9197 GB, free: 44.55 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1)