Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.658/2.658, allocations: 287.3 MB / 302.3 MB, free: 8.293 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001527/0.001527, allocations: 189 kB / 370.8 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.175/2.175, allocations: 205.4 MB / 0.6295 GB, free: 10.57 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001163/0.001162, allocations: 98.41 kB / 0.7428 GB, free: 6.586 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000489/0.000489, allocations: 16.05 kB / 0.8657 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2162/0.2167, allocations: 115.3 MB / 0.9782 GB, free: 28.34 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.0036/0.2204, allocations: 2.424 MB / 0.9806 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003418/0.2238, allocations: 1.95 MB / 0.9825 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002155/0.2241, allocations: 4 kB / 0.9825 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001807/0.2259, allocations: 439.1 kB / 0.9829 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0004361/0.2264, allocations: 155.6 kB / 0.9831 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001542/0.2265, allocations: 35.91 kB / 0.9831 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0005029/0.2271, allocations: 320.1 kB / 0.9834 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002871/0.2274, allocations: 118.9 kB / 0.9835 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002252/0.2276, allocations: 135.4 kB / 0.9836 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002033/0.2278, allocations: 159.3 kB / 0.9838 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.36e-05/0.2279, allocations: 16 kB / 0.9838 GB, free: 22.58 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.533e-05/0.228, allocations: 20 kB / 0.9838 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.000104/0.2281, allocations: 71.69 kB / 0.9839 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.7e-05/0.2282, allocations: 105.5 kB / 0.984 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000459/0.2286, allocations: 438.7 kB / 0.9844 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.414e-06/0.2287, allocations: 0 / 0.9844 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.013e-06/0.2287, allocations: 0 / 0.9844 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.463e-06/0.2287, allocations: 0 / 0.9844 GB, free: 21.95 MB / 0.6198 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.001161/0.2299, allocations: 0.648 MB / 0.9851 GB, free: 21.26 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/0.2299, allocations: 12.03 kB / 0.9851 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.728e-05/0.23, allocations: 47.39 kB / 0.9851 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005421/0.2306, allocations: 361.1 kB / 0.9855 GB, free: 20.81 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.231e-05/0.2306, allocations: 20.44 kB / 0.9855 GB, free: 20.79 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.484e-05/0.2307, allocations: 23.91 kB / 0.9855 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005634/0.2312, allocations: 207.2 kB / 0.9857 GB, free: 20.55 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.189e-05/0.2313, allocations: 7.984 kB / 0.9857 GB, free: 20.55 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.97e-05/0.2314, allocations: 4 kB / 0.9857 GB, free: 20.54 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.609e-06/0.2314, allocations: 7.938 kB / 0.9857 GB, free: 20.54 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005886/0.232, allocations: 177.7 kB / 0.9859 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001571/0.2336, allocations: 0.8701 MB / 0.9867 GB, free: 19.42 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004491/0.2341, allocations: 163.9 kB / 0.9869 GB, free: 19.25 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.469e-05/0.2341, allocations: 4 kB / 0.9869 GB, free: 19.25 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.599e-05/0.2341, allocations: 34.5 kB / 0.9869 GB, free: 19.21 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=18): time 3.467e-06/0.2342, allocations: 0 / 0.9869 GB, free: 19.21 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18): time 0.0009041/0.2351, allocations: 275.5 kB / 0.9872 GB, free: 18.93 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.02e-05/0.2351, allocations: 51.41 kB / 0.9872 GB, free: 18.87 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006423/0.2358, allocations: 413.7 kB / 0.9876 GB, free: 18.46 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.106e-05/0.2358, allocations: 29.7 kB / 0.9877 GB, free: 18.43 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001478/0.236, allocations: 200.2 kB / 0.9879 GB, free: 18.23 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 7.402e-05/0.2361, allocations: 78.98 kB / 0.9879 GB, free: 18.15 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.169e-05/0.2361, allocations: 0 / 0.9879 GB, free: 18.15 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.305e-05/0.2362, allocations: 350.8 kB / 0.9883 GB, free: 17.8 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002345/0.2364, allocations: 59.97 kB / 0.9883 GB, free: 17.74 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000223/0.2367, allocations: 63.86 kB / 0.9884 GB, free: 17.68 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002475/0.2369, allocations: 73.88 kB / 0.9885 GB, free: 17.61 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.2369, allocations: 0 / 0.9885 GB, free: 17.61 MB / 0.6198 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006342/0.2376, allocations: 209.2 kB / 0.9887 GB, free: 17.39 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/0.2376, allocations: 12 kB / 0.9887 GB, free: 17.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/0.2376, allocations: 0 / 0.9887 GB, free: 17.38 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.001e-05/0.2377, allocations: 0 / 0.9887 GB, free: 17.38 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004303/0.2381, allocations: 59.89 kB / 0.9887 GB, free: 17.32 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.295e-06/0.2381, allocations: 0 / 0.9887 GB, free: 17.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000301/0.2384, allocations: 31.73 kB / 0.9887 GB, free: 17.29 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.669e-05/0.2385, allocations: 8 kB / 0.9888 GB, free: 17.29 MB / 0.6198 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.0002306/0.2387, allocations: 161.8 kB / 0.9889 GB, free: 17.12 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.469e-05/0.2388, allocations: 35.61 kB / 0.9889 GB, free: 17.08 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.964e-05/0.2389, allocations: 39.59 kB / 0.989 GB, free: 17.04 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.2389, allocations: 7.938 kB / 0.989 GB, free: 17.03 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.2389, allocations: 0 / 0.989 GB, free: 17.03 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.2389, allocations: 0 / 0.989 GB, free: 17.03 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005445/0.2395, allocations: 377.2 kB / 0.9894 GB, free: 16.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.2395, allocations: 3.984 kB / 0.9894 GB, free: 16.61 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004686/0.24, allocations: 63.91 kB / 0.9894 GB, free: 16.55 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.634e-06/0.24, allocations: 4 kB / 0.9894 GB, free: 16.54 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.875e-05/0.24, allocations: 0 / 0.9894 GB, free: 16.54 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/0.24, allocations: 0 / 0.9894 GB, free: 16.54 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.2401, allocations: 0 / 0.9894 GB, free: 16.54 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008897/0.241, allocations: 398.8 kB / 0.9898 GB, free: 16.14 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00014/0.2411, allocations: 124.6 kB / 0.9899 GB, free: 16 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.884e-05/0.2412, allocations: 7.938 kB / 0.9899 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002865/0.2415, allocations: 20.05 kB / 0.9899 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.368e-05/0.2416, allocations: 11.92 kB / 0.99 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.624e-05/0.2416, allocations: 8 kB / 0.99 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0004523/0.2421, allocations: 299.1 kB / 0.9902 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.71e-07/0.2421, allocations: 0 / 0.9902 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004317/0.2425, allocations: 71.84 kB / 0.9903 GB, free: 15.59 MB / 0.6198 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.0001347/0.2427, allocations: 109.3 kB / 0.9904 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005512/0.2432, allocations: 152.4 kB / 0.9906 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.2432, allocations: 0 / 0.9906 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002696/0.2435, allocations: 83.89 kB / 0.9906 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007317/0.2443, allocations: 90.72 kB / 0.9907 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001577/0.2459, allocations: 0.8937 MB / 0.9916 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002624/0.2461, allocations: 0.8109 MB / 0.9924 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001887/0.2463, allocations: 30.97 kB / 0.9924 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.064e-05/0.2464, allocations: 27.44 kB / 0.9925 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of SimCode: time 9.82e-07/0.2465, allocations: 0 / 0.9925 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of Templates: time 0.01077/0.2572, allocations: 3.566 MB / 0.9959 GB, free: 9.871 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & ./Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1)