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.382/1.382, allocations: 251.5 MB / 267.4 MB, free: 11.04 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.001222/0.001222, allocations: 179.3 kB / 326.5 MB, free: 2.676 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.081/2.081, allocations: 205 MB / 0.5766 GB, free: 21.01 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.001017/0.001016, allocations: 93.42 kB / 0.6804 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003456/0.0003456, allocations: 10.28 kB / 0.7938 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2393/0.2397, allocations: 105.4 MB / 0.8968 GB, free: 68.13 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.003691/0.2434, allocations: 3.852 MB / 0.9005 GB, free: 64.25 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002841/0.2463, allocations: 2.422 MB / 0.9029 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003707/0.2467, allocations: 8 kB / 0.9029 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001372/0.2481, allocations: 0.4978 MB / 0.9034 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.000484/0.2486, allocations: 214.5 kB / 0.9036 GB, free: 61.1 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002076/0.2488, allocations: 115.9 kB / 0.9037 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0005682/0.2494, allocations: 0.812 MB / 0.9045 GB, free: 60.17 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003396/0.2497, allocations: 280.1 kB / 0.9048 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002231/0.25, allocations: 243 kB / 0.905 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002424/0.2502, allocations: 286.6 kB / 0.9053 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 5.429e-05/0.2503, allocations: 36 kB / 0.9053 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 7.715e-05/0.2504, allocations: 35.94 kB / 0.9054 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001104/0.2505, allocations: 127.5 kB / 0.9055 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0002037/0.2507, allocations: 334.2 kB / 0.9058 GB, free: 58.85 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0004717/0.2512, allocations: 0.7868 MB / 0.9066 GB, free: 58.06 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.2512, allocations: 0 / 0.9066 GB, free: 58.06 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.532e-06/0.2512, allocations: 4 kB / 0.9066 GB, free: 58.06 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.446e-06/0.2512, allocations: 0 / 0.9066 GB, free: 58.06 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.001058/0.2523, allocations: 0.8335 MB / 0.9074 GB, free: 57.17 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/0.2523, allocations: 12.03 kB / 0.9074 GB, free: 57.16 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.5e-05/0.2524, allocations: 79.98 kB / 0.9075 GB, free: 57.08 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000454/0.2529, allocations: 453.7 kB / 0.9079 GB, free: 56.6 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.485e-05/0.2529, allocations: 33.38 kB / 0.9079 GB, free: 56.57 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.413e-05/0.253, allocations: 44.38 kB / 0.908 GB, free: 56.52 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000644/0.2536, allocations: 446.7 kB / 0.9084 GB, free: 56.08 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.775e-05/0.2537, allocations: 0 / 0.9084 GB, free: 56.08 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.443e-05/0.2537, allocations: 20 kB / 0.9084 GB, free: 56.06 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.139e-05/0.2537, allocations: 12 kB / 0.9084 GB, free: 56.05 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006055/0.2543, allocations: 375.8 kB / 0.9088 GB, free: 55.68 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001668/0.256, allocations: 1.547 MB / 0.9103 GB, free: 54.06 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004486/0.2565, allocations: 350.7 kB / 0.9106 GB, free: 53.71 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004019/0.2569, allocations: 332.5 kB / 0.911 GB, free: 53.38 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.854e-05/0.2569, allocations: 4 kB / 0.911 GB, free: 53.38 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.925e-05/0.257, allocations: 42.5 kB / 0.911 GB, free: 53.32 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=42): time 1.884e-06/0.257, allocations: 0 / 0.911 GB, free: 53.32 MB / 0.6042 GB Notification: Performance of matching and sorting (n=42): time 0.0008202/0.2578, allocations: 0.5094 MB / 0.9115 GB, free: 52.81 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.175e-05/0.2578, allocations: 59.34 kB / 0.9115 GB, free: 52.74 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004607/0.2583, allocations: 485.9 kB / 0.912 GB, free: 52.26 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.022e-05/0.2583, allocations: 29.7 kB / 0.912 GB, free: 52.22 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001259/0.2585, allocations: 276.4 kB / 0.9123 GB, free: 51.95 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 9.068e-05/0.2586, allocations: 149.8 kB / 0.9124 GB, free: 51.8 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.253e-05/0.2586, allocations: 37.7 kB / 0.9125 GB, free: 51.76 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.491e-05/0.2587, allocations: 362.8 kB / 0.9128 GB, free: 51.39 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002091/0.2589, allocations: 129.5 kB / 0.913 GB, free: 51.27 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001969/0.2591, allocations: 129.5 kB / 0.9131 GB, free: 51.14 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004369/0.2596, allocations: 306.5 kB / 0.9134 GB, free: 50.84 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.2596, allocations: 0 / 0.9134 GB, free: 50.84 MB / 0.6042 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.000529/0.2601, allocations: 408.4 kB / 0.9138 GB, free: 50.43 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/0.2601, allocations: 7.938 kB / 0.9138 GB, free: 50.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.2602, allocations: 4 kB / 0.9138 GB, free: 50.42 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.802e-05/0.2602, allocations: 7.938 kB / 0.9138 GB, free: 50.41 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004518/0.2606, allocations: 123.9 kB / 0.9139 GB, free: 50.29 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.686e-06/0.2607, allocations: 4 kB / 0.9139 GB, free: 50.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002581/0.2609, allocations: 47.67 kB / 0.9139 GB, free: 50.24 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.955e-05/0.2609, allocations: 19.97 kB / 0.914 GB, free: 50.22 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001828/0.2611, allocations: 193.8 kB / 0.9141 GB, free: 50.02 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.189e-05/0.2612, allocations: 55.28 kB / 0.9142 GB, free: 49.97 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.12e-05/0.2613, allocations: 61.09 kB / 0.9143 GB, free: 49.91 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.2613, allocations: 4 kB / 0.9143 GB, free: 49.9 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/0.2613, allocations: 0 / 0.9143 GB, free: 49.9 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.2613, allocations: 7.984 kB / 0.9143 GB, free: 49.89 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004904/0.2618, allocations: 0.5635 MB / 0.9148 GB, free: 49.28 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.2618, allocations: 0 / 0.9148 GB, free: 49.28 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000467/0.2623, allocations: 135.8 kB / 0.915 GB, free: 49.15 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.2623, allocations: 0 / 0.915 GB, free: 49.15 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.239e-05/0.2623, allocations: 8 kB / 0.915 GB, free: 49.14 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.2624, allocations: 0 / 0.915 GB, free: 49.14 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.2624, allocations: 4 kB / 0.915 GB, free: 49.14 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008153/0.2632, allocations: 0.6674 MB / 0.9156 GB, free: 48.45 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 8.594e-05/0.2633, allocations: 140.3 kB / 0.9157 GB, free: 48.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.648e-05/0.2633, allocations: 12 kB / 0.9158 GB, free: 48.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002223/0.2636, allocations: 19.98 kB / 0.9158 GB, free: 48.27 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.333e-05/0.2636, allocations: 23.97 kB / 0.9158 GB, free: 48.24 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.504e-05/0.2637, allocations: 12 kB / 0.9158 GB, free: 48.23 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0003103/0.264, allocations: 351.1 kB / 0.9161 GB, free: 47.89 MB / 0.6042 GB Notification: Performance of sort global known variables: time 9.02e-07/0.264, allocations: 4 kB / 0.9162 GB, free: 47.89 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003578/0.2644, allocations: 151.5 kB / 0.9163 GB, free: 47.74 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 (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.0001464/0.2645, allocations: 111.2 kB / 0.9164 GB, free: 47.62 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005109/0.265, allocations: 339.5 kB / 0.9167 GB, free: 47.29 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.265, allocations: 0 / 0.9167 GB, free: 47.29 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002418/0.2653, allocations: 191.8 kB / 0.9169 GB, free: 47.11 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006941/0.266, allocations: 117.8 kB / 0.917 GB, free: 46.99 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001766/0.2678, allocations: 1.44 MB / 0.9184 GB, free: 45.52 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003385/0.2681, allocations: 0.8668 MB / 0.9193 GB, free: 44.62 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001123/0.2682, allocations: 39.44 kB / 0.9193 GB, free: 44.58 MB / 0.6042 GB Notification: Performance of SimCode: time 5.01e-07/0.2682, allocations: 0 / 0.9193 GB, free: 44.58 MB / 0.6042 GB Notification: Performance of Templates: time 0.008013/0.2763, allocations: 6.739 MB / 0.9259 GB, free: 37.9 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)