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.InternalResistancesTwoUTube.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.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.385/1.385, allocations: 252 MB / 267.6 MB, free: 10.91 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.001083/0.001083, allocations: 179.6 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.084/2.084, allocations: 205.4 MB / 0.5783 GB, free: 20.52 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.0007473/0.0007475, allocations: 90.25 kB / 0.6829 GB, free: 13.31 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004083/0.0004084, allocations: 16.34 kB / 0.797 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2341/0.2346, allocations: 106.3 MB / 0.9009 GB, free: 64.21 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.003498/0.2381, allocations: 3.592 MB / 0.9044 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002461/0.2406, allocations: 2.257 MB / 0.9066 GB, free: 58.32 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002699/0.2409, allocations: 12 kB / 0.9066 GB, free: 58.31 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001058/0.242, allocations: 453.9 kB / 0.907 GB, free: 57.87 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0003937/0.2424, allocations: 222.4 kB / 0.9072 GB, free: 57.65 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001743/0.2425, allocations: 79.94 kB / 0.9073 GB, free: 57.57 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0005297/0.2431, allocations: 0.7552 MB / 0.9081 GB, free: 56.81 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003134/0.2434, allocations: 241.5 kB / 0.9083 GB, free: 56.57 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002169/0.2436, allocations: 227.1 kB / 0.9085 GB, free: 56.35 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002698/0.2439, allocations: 278.7 kB / 0.9088 GB, free: 56.08 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 5.601e-05/0.244, allocations: 36 kB / 0.9088 GB, free: 56.04 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.078e-05/0.2441, allocations: 36 kB / 0.9088 GB, free: 56.01 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001029/0.2442, allocations: 119.5 kB / 0.909 GB, free: 55.89 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 9.723e-05/0.2443, allocations: 169.3 kB / 0.9091 GB, free: 55.72 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0004522/0.2447, allocations: 0.7906 MB / 0.9099 GB, free: 54.93 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.2447, allocations: 0 / 0.9099 GB, free: 54.93 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.924e-06/0.2448, allocations: 0 / 0.9099 GB, free: 54.93 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.896e-06/0.2448, allocations: 0 / 0.9099 GB, free: 54.93 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001095/0.2459, allocations: 0.8373 MB / 0.9107 GB, free: 54.04 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.2459, allocations: 12.03 kB / 0.9107 GB, free: 54.02 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.813e-05/0.246, allocations: 82.98 kB / 0.9108 GB, free: 53.94 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004704/0.2465, allocations: 440.8 kB / 0.9112 GB, free: 53.47 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.921e-05/0.2465, allocations: 40.94 kB / 0.9113 GB, free: 53.43 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.51e-05/0.2466, allocations: 43.91 kB / 0.9113 GB, free: 53.39 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000663/0.2473, allocations: 430.5 kB / 0.9117 GB, free: 52.96 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.952e-05/0.2473, allocations: 0 / 0.9117 GB, free: 52.96 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.586e-05/0.2474, allocations: 20 kB / 0.9117 GB, free: 52.94 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.448e-06/0.2474, allocations: 12 kB / 0.9117 GB, free: 52.93 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006093/0.248, allocations: 379.8 kB / 0.9121 GB, free: 52.56 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001651/0.2496, allocations: 1.536 MB / 0.9136 GB, free: 50.95 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004486/0.2501, allocations: 355.4 kB / 0.9139 GB, free: 50.59 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004295/0.2505, allocations: 356.7 kB / 0.9143 GB, free: 50.24 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.29e-05/0.2506, allocations: 4 kB / 0.9143 GB, free: 50.23 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.269e-05/0.2506, allocations: 42.5 kB / 0.9143 GB, free: 50.18 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=42): time 2.214e-06/0.2506, allocations: 0 / 0.9143 GB, free: 50.18 MB / 0.6042 GB Notification: Performance of matching and sorting (n=42): time 0.000823/0.2514, allocations: 0.5009 MB / 0.9148 GB, free: 49.68 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.698e-05/0.2515, allocations: 59.39 kB / 0.9149 GB, free: 49.61 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004485/0.2519, allocations: 481.9 kB / 0.9153 GB, free: 49.13 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.31e-05/0.252, allocations: 33.7 kB / 0.9154 GB, free: 49.09 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001292/0.2521, allocations: 276.4 kB / 0.9156 GB, free: 48.82 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 8.611e-05/0.2522, allocations: 145.8 kB / 0.9158 GB, free: 48.68 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.558e-05/0.2522, allocations: 12 kB / 0.9158 GB, free: 48.66 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.656e-05/0.2523, allocations: 358.8 kB / 0.9161 GB, free: 48.3 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000218/0.2525, allocations: 128.7 kB / 0.9162 GB, free: 48.18 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002094/0.2528, allocations: 133.1 kB / 0.9164 GB, free: 48.05 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002342/0.253, allocations: 145.9 kB / 0.9165 GB, free: 47.9 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.253, allocations: 3.953 kB / 0.9165 GB, free: 47.9 MB / 0.6042 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005383/0.2536, allocations: 396.6 kB / 0.9169 GB, free: 47.51 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.2536, allocations: 15.98 kB / 0.9169 GB, free: 47.49 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.2536, allocations: 0 / 0.9169 GB, free: 47.49 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.2536, allocations: 0 / 0.9169 GB, free: 47.49 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000477/0.2541, allocations: 127.9 kB / 0.917 GB, free: 47.37 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/0.2541, allocations: 0 / 0.917 GB, free: 47.37 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002503/0.2544, allocations: 55.67 kB / 0.9171 GB, free: 47.31 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.901e-05/0.2544, allocations: 12 kB / 0.9171 GB, free: 47.3 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 (46): * Single equations (assignments): 46 * 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.0001883/0.2546, allocations: 197.7 kB / 0.9173 GB, free: 47.1 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.598e-05/0.2547, allocations: 55.3 kB / 0.9173 GB, free: 47.04 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.531e-05/0.2548, allocations: 65.09 kB / 0.9174 GB, free: 46.98 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.2548, allocations: 7.938 kB / 0.9174 GB, free: 46.97 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.712e-06/0.2548, allocations: 4 kB / 0.9174 GB, free: 46.96 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-06/0.2548, allocations: 3.984 kB / 0.9174 GB, free: 46.96 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004915/0.2553, allocations: 0.5713 MB / 0.918 GB, free: 46.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.2553, allocations: 0 / 0.918 GB, free: 46.34 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004758/0.2558, allocations: 131.8 kB / 0.9181 GB, free: 46.21 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.2558, allocations: 3.938 kB / 0.9181 GB, free: 46.21 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.265e-05/0.2558, allocations: 12 kB / 0.9181 GB, free: 46.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.2558, allocations: 3.984 kB / 0.9181 GB, free: 46.19 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.2558, allocations: 4 kB / 0.9181 GB, free: 46.19 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008145/0.2567, allocations: 0.6594 MB / 0.9188 GB, free: 45.51 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 9.106e-05/0.2568, allocations: 140.4 kB / 0.9189 GB, free: 45.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.644e-05/0.2568, allocations: 15.94 kB / 0.9189 GB, free: 45.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002268/0.2571, allocations: 23.98 kB / 0.9189 GB, free: 45.32 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.832e-05/0.2571, allocations: 19.97 kB / 0.9189 GB, free: 45.3 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.489e-05/0.2571, allocations: 8 kB / 0.919 GB, free: 45.29 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0003191/0.2575, allocations: 359 kB / 0.9193 GB, free: 44.95 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2575, allocations: 0 / 0.9193 GB, free: 44.95 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003464/0.2578, allocations: 143.6 kB / 0.9194 GB, free: 44.8 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (intRes2UTub.capFil1.T,intRes2UTub.capFil2.T,intRes2UTub.capFil3.T,intRes2UTub.capFil4.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 (42): * Single equations (assignments): 42 * 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.0001428/0.258, allocations: 115.2 kB / 0.9195 GB, free: 44.68 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000505/0.2585, allocations: 327.6 kB / 0.9199 GB, free: 44.36 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.2585, allocations: 0 / 0.9199 GB, free: 44.36 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002322/0.2587, allocations: 183.8 kB / 0.92 GB, free: 44.18 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006561/0.2594, allocations: 117.8 kB / 0.9201 GB, free: 44.06 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001677/0.2611, allocations: 1.485 MB / 0.9216 GB, free: 42.54 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002666/0.2614, allocations: 0.8706 MB / 0.9224 GB, free: 41.64 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001081/0.2615, allocations: 39.44 kB / 0.9225 GB, free: 41.61 MB / 0.6042 GB Notification: Performance of SimCode: time 4.21e-07/0.2615, allocations: 4 kB / 0.9225 GB, free: 41.6 MB / 0.6042 GB Notification: Performance of Templates: time 0.008194/0.2697, allocations: 6.732 MB / 0.9291 GB, free: 34.93 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1)