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.731/2.731, allocations: 287.5 MB / 302.4 MB, free: 8.199 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.001327/0.001327, allocations: 190.5 kB / 371 MB, free: 10.91 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.013/2.013, allocations: 205.4 MB / 0.6297 GB, free: 10.68 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.0009505/0.0009503, allocations: 88.88 kB / 0.743 GB, free: 6.699 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004895/0.0004897, allocations: 17.31 kB / 0.8658 GB, free: 140.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2055/0.206, allocations: 115.3 MB / 0.9784 GB, free: 28.39 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.003608/0.2096, allocations: 2.599 MB / 0.9809 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003175/0.2129, allocations: 1.988 MB / 0.9829 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001975/0.2131, allocations: 4 kB / 0.9829 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001551/0.2146, allocations: 423.3 kB / 0.9833 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003293/0.215, allocations: 127.2 kB / 0.9834 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001333/0.2151, allocations: 47.89 kB / 0.9834 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004933/0.2156, allocations: 417.9 kB / 0.9838 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002318/0.2159, allocations: 119 kB / 0.984 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001913/0.2161, allocations: 135.4 kB / 0.9841 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002143/0.2163, allocations: 167.2 kB / 0.9842 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.633e-05/0.2164, allocations: 20 kB / 0.9843 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001029/0.2165, allocations: 20 kB / 0.9843 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.801e-05/0.2166, allocations: 79.67 kB / 0.9844 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.357e-05/0.2167, allocations: 105.5 kB / 0.9845 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004327/0.2171, allocations: 438.7 kB / 0.9849 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.2172, allocations: 0 / 0.9849 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.104e-06/0.2172, allocations: 0 / 0.9849 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.363e-06/0.2172, allocations: 0 / 0.9849 GB, free: 21.7 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.00111/0.2183, allocations: 0.6483 MB / 0.9855 GB, free: 21 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.2184, allocations: 12.03 kB / 0.9855 GB, free: 20.99 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.671e-05/0.2185, allocations: 47.39 kB / 0.9856 GB, free: 20.94 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005287/0.219, allocations: 357.1 kB / 0.9859 GB, free: 20.55 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.429e-05/0.219, allocations: 20.44 kB / 0.9859 GB, free: 20.54 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.458e-05/0.2191, allocations: 23.91 kB / 0.9859 GB, free: 20.51 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005481/0.2197, allocations: 207.3 kB / 0.9861 GB, free: 20.3 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.755e-05/0.2197, allocations: 0 / 0.9861 GB, free: 20.3 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.915e-05/0.2197, allocations: 8 kB / 0.9862 GB, free: 20.29 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.157e-06/0.2198, allocations: 8 kB / 0.9862 GB, free: 20.29 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005741/0.2203, allocations: 169.7 kB / 0.9863 GB, free: 20.12 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001422/0.2218, allocations: 0.8818 MB / 0.9872 GB, free: 19.17 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004072/0.2222, allocations: 162.5 kB / 0.9873 GB, free: 19 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003327/0.2226, allocations: 114.8 kB / 0.9874 GB, free: 18.89 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.581e-05/0.2226, allocations: 3.938 kB / 0.9875 GB, free: 18.88 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.894e-05/0.2226, allocations: 42.5 kB / 0.9875 GB, free: 18.83 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=18): time 2.184e-06/0.2226, allocations: 0 / 0.9875 GB, free: 18.83 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18): time 0.0008448/0.2235, allocations: 263.6 kB / 0.9877 GB, free: 18.57 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.951e-05/0.2235, allocations: 51.41 kB / 0.9878 GB, free: 18.51 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005662/0.2241, allocations: 417.7 kB / 0.9882 GB, free: 18.09 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.046e-05/0.2241, allocations: 37.7 kB / 0.9882 GB, free: 18.05 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001405/0.2243, allocations: 204.2 kB / 0.9884 GB, free: 17.85 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.392e-05/0.2244, allocations: 71.02 kB / 0.9885 GB, free: 17.78 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.286e-05/0.2244, allocations: 4 kB / 0.9885 GB, free: 17.77 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.789e-05/0.2245, allocations: 346.8 kB / 0.9888 GB, free: 17.43 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002279/0.2247, allocations: 55.97 kB / 0.9889 GB, free: 17.37 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002271/0.225, allocations: 71.92 kB / 0.9889 GB, free: 17.3 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002408/0.2252, allocations: 67.92 kB / 0.989 GB, free: 17.23 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.2252, allocations: 0 / 0.989 GB, free: 17.23 MB / 0.6198 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005722/0.2258, allocations: 218.8 kB / 0.9892 GB, free: 17.02 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.2258, allocations: 4 kB / 0.9892 GB, free: 17.01 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.2259, allocations: 0 / 0.9892 GB, free: 17.01 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.2259, allocations: 4 kB / 0.9892 GB, free: 17.01 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004242/0.2263, allocations: 59.91 kB / 0.9893 GB, free: 16.95 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.2263, allocations: 3.984 kB / 0.9893 GB, free: 16.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000284/0.2266, allocations: 23.84 kB / 0.9893 GB, free: 16.92 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.612e-05/0.2267, allocations: 8 kB / 0.9893 GB, free: 16.91 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.0001856/0.2269, allocations: 165.8 kB / 0.9895 GB, free: 16.74 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.892e-05/0.2269, allocations: 31.62 kB / 0.9895 GB, free: 16.71 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.968e-05/0.227, allocations: 43.58 kB / 0.9895 GB, free: 16.66 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.227, allocations: 0 / 0.9895 GB, free: 16.66 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.2271, allocations: 0 / 0.9895 GB, free: 16.66 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.2271, allocations: 8 kB / 0.9896 GB, free: 16.66 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004848/0.2276, allocations: 373.3 kB / 0.9899 GB, free: 16.24 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.2276, allocations: 0 / 0.9899 GB, free: 16.24 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004462/0.228, allocations: 63.89 kB / 0.99 GB, free: 16.18 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.848e-06/0.2281, allocations: 0 / 0.99 GB, free: 16.18 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.928e-05/0.2281, allocations: 7.984 kB / 0.99 GB, free: 16.17 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.2281, allocations: 4 kB / 0.99 GB, free: 16.17 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/0.2281, allocations: 0 / 0.99 GB, free: 16.17 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008457/0.229, allocations: 401 kB / 0.9904 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001023/0.2291, allocations: 116.7 kB / 0.9905 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.874e-05/0.2292, allocations: 11.98 kB / 0.9905 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002756/0.2294, allocations: 12 kB / 0.9905 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.467e-05/0.2295, allocations: 11.92 kB / 0.9905 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.444e-05/0.2295, allocations: 7.984 kB / 0.9905 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0004081/0.23, allocations: 299.2 kB / 0.9908 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.91e-07/0.23, allocations: 0 / 0.9908 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004169/0.2304, allocations: 71.84 kB / 0.9909 GB, free: 15.23 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.0001283/0.2305, allocations: 115.2 kB / 0.991 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000529/0.2311, allocations: 143.9 kB / 0.9911 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.2311, allocations: 0 / 0.9911 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002536/0.2314, allocations: 87.91 kB / 0.9912 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000836/0.2322, allocations: 100.6 kB / 0.9913 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001576/0.2338, allocations: 0.8879 MB / 0.9922 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002622/0.2341, allocations: 0.7953 MB / 0.9929 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001895/0.2343, allocations: 34.95 kB / 0.993 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.604e-05/0.2344, allocations: 23.44 kB / 0.993 GB, free: 12.99 MB / 0.6198 GB Notification: Performance of SimCode: time 9.72e-07/0.2344, allocations: 0 / 0.993 GB, free: 12.99 MB / 0.6198 GB Notification: Performance of Templates: time 0.01103/0.2455, allocations: 3.575 MB / 0.9965 GB, free: 9.512 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)