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.402/1.402, allocations: 252 MB / 268 MB, free: 10.86 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.001312/0.001312, allocations: 172.5 kB / 327.6 MB, free: 2.117 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.942/1.942, allocations: 205.4 MB / 0.5786 GB, free: 20.47 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.0009714/0.0009713, allocations: 88.23 kB / 0.6832 GB, free: 13.23 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003508/0.0003508, allocations: 11.16 kB / 0.7976 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2248/0.2252, allocations: 106.3 MB / 0.9015 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.003631/0.2289, allocations: 3.769 MB / 0.9052 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003182/0.2321, allocations: 2.395 MB / 0.9075 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006009/0.2327, allocations: 19.88 kB / 0.9075 GB, free: 57.6 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001744/0.2345, allocations: 0.4957 MB / 0.908 GB, free: 57.1 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0009841/0.2355, allocations: 218.5 kB / 0.9082 GB, free: 56.89 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003472/0.2358, allocations: 123.9 kB / 0.9083 GB, free: 56.77 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0009432/0.2368, allocations: 0.802 MB / 0.9091 GB, free: 55.96 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000438/0.2373, allocations: 284.1 kB / 0.9094 GB, free: 55.68 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004001/0.2377, allocations: 231 kB / 0.9096 GB, free: 55.45 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003977/0.2381, allocations: 290.6 kB / 0.9099 GB, free: 55.17 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 8.627e-05/0.2382, allocations: 36 kB / 0.9099 GB, free: 55.13 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001387/0.2383, allocations: 36 kB / 0.91 GB, free: 55.1 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001393/0.2385, allocations: 127.5 kB / 0.9101 GB, free: 54.97 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0003362/0.2388, allocations: 359.9 kB / 0.9104 GB, free: 54.61 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000526/0.2393, allocations: 0.7906 MB / 0.9112 GB, free: 53.82 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.2394, allocations: 4 kB / 0.9112 GB, free: 53.82 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.104e-06/0.2394, allocations: 0 / 0.9112 GB, free: 53.82 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 2.317e-05/0.2394, allocations: 0 / 0.9112 GB, free: 53.82 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.001274/0.2407, allocations: 0.8356 MB / 0.912 GB, free: 52.93 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/0.2407, allocations: 8.031 kB / 0.912 GB, free: 52.92 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001453/0.2409, allocations: 84 kB / 0.9121 GB, free: 52.84 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005633/0.2414, allocations: 453.7 kB / 0.9125 GB, free: 52.36 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.845e-05/0.2415, allocations: 33.38 kB / 0.9126 GB, free: 52.32 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.777e-05/0.2416, allocations: 48.38 kB / 0.9126 GB, free: 52.28 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000738/0.2423, allocations: 438.7 kB / 0.913 GB, free: 51.84 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.97e-05/0.2423, allocations: 4 kB / 0.913 GB, free: 51.84 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.531e-05/0.2424, allocations: 16 kB / 0.9131 GB, free: 51.82 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.041e-05/0.2424, allocations: 16 kB / 0.9131 GB, free: 51.81 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006331/0.243, allocations: 371.8 kB / 0.9134 GB, free: 51.45 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00181/0.2449, allocations: 1.547 MB / 0.9149 GB, free: 49.82 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004472/0.2453, allocations: 342.7 kB / 0.9153 GB, free: 49.48 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000396/0.2457, allocations: 332.5 kB / 0.9156 GB, free: 49.15 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.467e-05/0.2458, allocations: 4 kB / 0.9156 GB, free: 49.14 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.015e-05/0.2458, allocations: 42.5 kB / 0.9156 GB, free: 49.09 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=42): time 2.013e-06/0.2458, allocations: 0 / 0.9156 GB, free: 49.09 MB / 0.6042 GB Notification: Performance of matching and sorting (n=42): time 0.0008739/0.2467, allocations: 0.5101 MB / 0.9161 GB, free: 48.58 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.927e-05/0.2467, allocations: 55.41 kB / 0.9162 GB, free: 48.51 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00046/0.2472, allocations: 485.9 kB / 0.9166 GB, free: 48.03 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.984e-05/0.2472, allocations: 33.7 kB / 0.9167 GB, free: 47.99 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001267/0.2473, allocations: 276.4 kB / 0.9169 GB, free: 47.72 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001057/0.2475, allocations: 149.8 kB / 0.9171 GB, free: 47.57 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.911e-05/0.2475, allocations: 12 kB / 0.9171 GB, free: 47.56 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001095/0.2476, allocations: 362.7 kB / 0.9174 GB, free: 47.2 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000224/0.2478, allocations: 124.7 kB / 0.9176 GB, free: 47.07 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002068/0.248, allocations: 137.4 kB / 0.9177 GB, free: 46.94 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004421/0.2485, allocations: 302.6 kB / 0.918 GB, free: 46.64 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.2485, allocations: 0 / 0.918 GB, free: 46.64 MB / 0.6042 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005549/0.2491, allocations: 416.3 kB / 0.9184 GB, free: 46.23 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.2491, allocations: 4 kB / 0.9184 GB, free: 46.22 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.2491, allocations: 0 / 0.9184 GB, free: 46.22 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/0.2491, allocations: 4 kB / 0.9184 GB, free: 46.22 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004472/0.2496, allocations: 123.9 kB / 0.9185 GB, free: 46.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.008e-05/0.2496, allocations: 8 kB / 0.9185 GB, free: 46.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002715/0.2499, allocations: 47.66 kB / 0.9185 GB, free: 46.04 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.898e-05/0.2499, allocations: 11.98 kB / 0.9186 GB, free: 46.03 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.0001955/0.2501, allocations: 201.8 kB / 0.9188 GB, free: 45.82 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.735e-05/0.2502, allocations: 55.28 kB / 0.9188 GB, free: 45.77 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.586e-05/0.2503, allocations: 57.11 kB / 0.9189 GB, free: 45.71 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.2503, allocations: 7.984 kB / 0.9189 GB, free: 45.7 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/0.2503, allocations: 0 / 0.9189 GB, free: 45.7 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.2503, allocations: 0 / 0.9189 GB, free: 45.7 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005301/0.2508, allocations: 0.5713 MB / 0.9194 GB, free: 45.08 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.2509, allocations: 0 / 0.9194 GB, free: 45.08 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004678/0.2513, allocations: 135.8 kB / 0.9196 GB, free: 44.95 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.2513, allocations: 0 / 0.9196 GB, free: 44.95 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.376e-05/0.2514, allocations: 12 kB / 0.9196 GB, free: 44.94 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.2514, allocations: 4 kB / 0.9196 GB, free: 44.93 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.2514, allocations: 0 / 0.9196 GB, free: 44.93 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008227/0.2522, allocations: 0.6712 MB / 0.9202 GB, free: 44.25 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001116/0.2523, allocations: 140.4 kB / 0.9204 GB, free: 44.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.862e-05/0.2524, allocations: 8 kB / 0.9204 GB, free: 44.08 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000239/0.2527, allocations: 31.92 kB / 0.9204 GB, free: 44.05 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.389e-05/0.2527, allocations: 27.95 kB / 0.9204 GB, free: 44.02 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.494e-05/0.2527, allocations: 4 kB / 0.9204 GB, free: 44.02 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0003055/0.2531, allocations: 351.1 kB / 0.9208 GB, free: 43.68 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2531, allocations: 0 / 0.9208 GB, free: 43.68 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003544/0.2534, allocations: 143.6 kB / 0.9209 GB, free: 43.54 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.000134/0.2536, allocations: 119.2 kB / 0.921 GB, free: 43.42 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005576/0.2541, allocations: 339.5 kB / 0.9213 GB, free: 43.09 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.2541, allocations: 0 / 0.9213 GB, free: 43.09 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000246/0.2544, allocations: 179.8 kB / 0.9215 GB, free: 42.91 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006918/0.2551, allocations: 129.8 kB / 0.9216 GB, free: 42.78 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001822/0.2569, allocations: 1.529 MB / 0.9231 GB, free: 41.22 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002604/0.2572, allocations: 0.8668 MB / 0.924 GB, free: 40.32 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001219/0.2573, allocations: 39.44 kB / 0.924 GB, free: 40.29 MB / 0.6042 GB Notification: Performance of SimCode: time 3.51e-07/0.2573, allocations: 0 / 0.924 GB, free: 40.29 MB / 0.6042 GB Notification: Performance of Templates: time 0.009584/0.2669, allocations: 6.733 MB / 0.9306 GB, free: 33.61 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)