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.495/1.495, allocations: 252 MB / 268 MB, free: 10.87 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.001064/0.001065, allocations: 182.2 kB / 327.6 MB, free: 2.105 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.997/1.997, allocations: 205.4 MB / 0.5786 GB, free: 20.16 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.0009373/0.0009371, allocations: 88.81 kB / 0.6832 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005412/0.0005412, allocations: 12.16 kB / 0.7976 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2577/0.2583, allocations: 106.3 MB / 0.9015 GB, free: 63.47 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.003071/0.2614, allocations: 2.71 MB / 0.9041 GB, free: 60.74 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002298/0.2638, allocations: 2.122 MB / 0.9062 GB, free: 58.6 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001596/0.264, allocations: 11.94 kB / 0.9062 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001196/0.2652, allocations: 478 kB / 0.9067 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002265/0.2654, allocations: 135.1 kB / 0.9068 GB, free: 57.99 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 9.818e-05/0.2655, allocations: 51.97 kB / 0.9069 GB, free: 57.94 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0003829/0.2659, allocations: 461.8 kB / 0.9073 GB, free: 57.48 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002122/0.2661, allocations: 135.9 kB / 0.9074 GB, free: 57.35 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001519/0.2663, allocations: 127.4 kB / 0.9075 GB, free: 57.22 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001703/0.2665, allocations: 167.2 kB / 0.9077 GB, free: 57.06 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.216e-05/0.2665, allocations: 20 kB / 0.9077 GB, free: 57.04 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 5.122e-05/0.2666, allocations: 16 kB / 0.9077 GB, free: 57.02 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001/0.2667, allocations: 83.61 kB / 0.9078 GB, free: 56.94 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001585/0.2668, allocations: 224.6 kB / 0.908 GB, free: 56.71 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003009/0.2671, allocations: 438.7 kB / 0.9085 GB, free: 56.29 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 7.284e-06/0.2671, allocations: 7.984 kB / 0.9085 GB, free: 56.28 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.763e-06/0.2672, allocations: 0 / 0.9085 GB, free: 56.28 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.324e-06/0.2672, allocations: 0 / 0.9085 GB, free: 56.28 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.0008558/0.268, allocations: 0.6424 MB / 0.9091 GB, free: 55.59 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/0.2681, allocations: 12.02 kB / 0.9091 GB, free: 55.57 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.706e-05/0.2682, allocations: 48.38 kB / 0.9091 GB, free: 55.53 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003905/0.2686, allocations: 374.1 kB / 0.9095 GB, free: 55.12 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.006e-05/0.2686, allocations: 16.81 kB / 0.9095 GB, free: 55.1 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.617e-05/0.2686, allocations: 20.38 kB / 0.9095 GB, free: 55.08 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003496/0.269, allocations: 207.6 kB / 0.9097 GB, free: 54.88 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.424e-05/0.269, allocations: 4 kB / 0.9097 GB, free: 54.88 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.98e-05/0.269, allocations: 11.98 kB / 0.9098 GB, free: 54.86 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.717e-06/0.269, allocations: 12 kB / 0.9098 GB, free: 54.85 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00034/0.2694, allocations: 177.6 kB / 0.9099 GB, free: 54.68 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000957/0.2704, allocations: 0.874 MB / 0.9108 GB, free: 53.73 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002548/0.2706, allocations: 154.5 kB / 0.9109 GB, free: 53.57 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001897/0.2708, allocations: 120.8 kB / 0.911 GB, free: 53.45 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.592e-05/0.2708, allocations: 4 kB / 0.9111 GB, free: 53.45 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.639e-05/0.2709, allocations: 34.56 kB / 0.9111 GB, free: 53.41 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=18): time 1.373e-06/0.2709, allocations: 0 / 0.9111 GB, free: 53.41 MB / 0.6042 GB Notification: Performance of matching and sorting (n=18): time 0.0005368/0.2714, allocations: 277.4 kB / 0.9114 GB, free: 53.13 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.84e-05/0.2715, allocations: 55.41 kB / 0.9114 GB, free: 53.06 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003641/0.2718, allocations: 417.6 kB / 0.9118 GB, free: 52.65 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.452e-05/0.2719, allocations: 29.7 kB / 0.9118 GB, free: 52.61 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 9.931e-05/0.272, allocations: 216.1 kB / 0.912 GB, free: 52.4 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.453e-05/0.272, allocations: 55.11 kB / 0.9121 GB, free: 52.34 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.365e-06/0.272, allocations: 8 kB / 0.9121 GB, free: 52.34 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.247e-05/0.2721, allocations: 350.8 kB / 0.9124 GB, free: 51.98 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001277/0.2722, allocations: 55.97 kB / 0.9125 GB, free: 51.93 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001205/0.2724, allocations: 69.81 kB / 0.9126 GB, free: 51.86 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000251/0.2726, allocations: 147 kB / 0.9127 GB, free: 51.72 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.2726, allocations: 0 / 0.9127 GB, free: 51.72 MB / 0.6042 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003232/0.273, allocations: 213.1 kB / 0.9129 GB, free: 51.5 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.273, allocations: 12 kB / 0.9129 GB, free: 51.49 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.273, allocations: 0 / 0.9129 GB, free: 51.49 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.273, allocations: 3.938 kB / 0.9129 GB, free: 51.49 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000232/0.2733, allocations: 63.89 kB / 0.913 GB, free: 51.43 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.2733, allocations: 0 / 0.913 GB, free: 51.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001486/0.2734, allocations: 19.84 kB / 0.913 GB, free: 51.41 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.153e-05/0.2735, allocations: 15.98 kB / 0.913 GB, free: 51.39 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000124/0.2736, allocations: 161.8 kB / 0.9132 GB, free: 51.22 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.635e-05/0.2736, allocations: 35.53 kB / 0.9132 GB, free: 51.19 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.174e-05/0.2737, allocations: 47.52 kB / 0.9132 GB, free: 51.14 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.2737, allocations: 4 kB / 0.9132 GB, free: 51.13 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.2737, allocations: 0 / 0.9132 GB, free: 51.13 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.2737, allocations: 0 / 0.9132 GB, free: 51.13 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003075/0.274, allocations: 369.4 kB / 0.9136 GB, free: 50.72 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.2741, allocations: 0 / 0.9136 GB, free: 50.72 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002275/0.2743, allocations: 59.95 kB / 0.9137 GB, free: 50.66 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.2743, allocations: 0 / 0.9137 GB, free: 50.66 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.646e-05/0.2743, allocations: 11.94 kB / 0.9137 GB, free: 50.65 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.2743, allocations: 0 / 0.9137 GB, free: 50.65 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.2743, allocations: 0 / 0.9137 GB, free: 50.65 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005/0.2748, allocations: 401.6 kB / 0.914 GB, free: 50.25 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.624e-05/0.2749, allocations: 116.6 kB / 0.9142 GB, free: 50.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.137e-05/0.275, allocations: 11.94 kB / 0.9142 GB, free: 50.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001565/0.2751, allocations: 16.06 kB / 0.9142 GB, free: 50.09 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.142e-05/0.2752, allocations: 15.91 kB / 0.9142 GB, free: 50.07 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.726e-06/0.2752, allocations: 7.938 kB / 0.9142 GB, free: 50.06 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002831/0.2755, allocations: 303.2 kB / 0.9145 GB, free: 49.77 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.21e-07/0.2755, allocations: 0 / 0.9145 GB, free: 49.77 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002624/0.2758, allocations: 71.84 kB / 0.9146 GB, free: 49.7 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 (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.0001276/0.2759, allocations: 111.2 kB / 0.9147 GB, free: 49.58 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003239/0.2762, allocations: 153.7 kB / 0.9148 GB, free: 49.43 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.2762, allocations: 0 / 0.9148 GB, free: 49.43 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001464/0.2764, allocations: 83.91 kB / 0.9149 GB, free: 49.35 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005554/0.277, allocations: 97 kB / 0.915 GB, free: 49.26 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0011/0.2781, allocations: 0.9677 MB / 0.9159 GB, free: 48.26 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002159/0.2783, allocations: 0.7992 MB / 0.9167 GB, free: 47.43 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.622e-05/0.2784, allocations: 23.44 kB / 0.9167 GB, free: 47.41 MB / 0.6042 GB Notification: Performance of SimCode: time 4.2e-07/0.2784, allocations: 4 kB / 0.9167 GB, free: 47.41 MB / 0.6042 GB Notification: Performance of Templates: time 0.005318/0.2837, allocations: 4.274 MB / 0.9209 GB, free: 43.16 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)