Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.636/1.636, allocations: 288.4 MB / 303.7 MB, free: 8.148 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.001129/0.001129, allocations: 190.8 kB / 372.3 MB, free: 10.09 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.506/1.506, allocations: 205.4 MB / 0.631 GB, free: 9.887 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.0008491/0.0008491, allocations: 96.84 kB / 0.7444 GB, free: 5.797 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003946/0.0003948, allocations: 15.94 kB / 0.8675 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1925/0.193, allocations: 115.3 MB / 0.9802 GB, free: 27.29 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.002999/0.196, allocations: 2.595 MB / 0.9827 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002571/0.1986, allocations: 1.992 MB / 0.9846 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003334/0.199, allocations: 8 kB / 0.9847 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001341/0.2003, allocations: 438.2 kB / 0.9851 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003044/0.2007, allocations: 127.1 kB / 0.9852 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001144/0.2008, allocations: 47.89 kB / 0.9852 GB, free: 22.06 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004523/0.2012, allocations: 443.5 kB / 0.9857 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002235/0.2015, allocations: 131.9 kB / 0.9858 GB, free: 21.49 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001953/0.2017, allocations: 127.5 kB / 0.9859 GB, free: 21.37 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001743/0.2019, allocations: 167.2 kB / 0.9861 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.604e-05/0.2019, allocations: 20 kB / 0.9861 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.286e-05/0.202, allocations: 16 kB / 0.9861 GB, free: 21.17 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.661e-05/0.202, allocations: 83.67 kB / 0.9862 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001356/0.2022, allocations: 220.7 kB / 0.9864 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002896/0.2025, allocations: 442.7 kB / 0.9868 GB, free: 20.43 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.2025, allocations: 0 / 0.9868 GB, free: 20.43 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.272e-06/0.2025, allocations: 0 / 0.9868 GB, free: 20.43 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.282e-05/0.2025, allocations: 0 / 0.9868 GB, free: 20.43 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.0007666/0.2033, allocations: 0.6385 MB / 0.9874 GB, free: 19.74 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.374e-05/0.2033, allocations: 12.03 kB / 0.9875 GB, free: 19.73 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.947e-05/0.2034, allocations: 48.38 kB / 0.9875 GB, free: 19.68 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003711/0.2038, allocations: 374.1 kB / 0.9879 GB, free: 19.28 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.354e-05/0.2038, allocations: 12.81 kB / 0.9879 GB, free: 19.27 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.583e-05/0.2039, allocations: 20.38 kB / 0.9879 GB, free: 19.25 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003467/0.2042, allocations: 219.5 kB / 0.9881 GB, free: 19.03 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.2042, allocations: 0 / 0.9881 GB, free: 19.03 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.6e-05/0.2042, allocations: 4 kB / 0.9881 GB, free: 19.02 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.2043, allocations: 8 kB / 0.9881 GB, free: 19.02 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003343/0.2046, allocations: 169.7 kB / 0.9883 GB, free: 18.85 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009254/0.2055, allocations: 0.8779 MB / 0.9891 GB, free: 17.9 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002554/0.2058, allocations: 166.5 kB / 0.9893 GB, free: 17.73 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001822/0.206, allocations: 116.8 kB / 0.9894 GB, free: 17.61 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.52e-05/0.206, allocations: 0 / 0.9894 GB, free: 17.61 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.626e-05/0.206, allocations: 38.56 kB / 0.9894 GB, free: 17.57 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=18): time 1.052e-06/0.206, allocations: 0 / 0.9894 GB, free: 17.57 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18): time 0.0005528/0.2066, allocations: 274.6 kB / 0.9897 GB, free: 17.29 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.263e-05/0.2066, allocations: 51.41 kB / 0.9897 GB, free: 17.23 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003483/0.207, allocations: 417.7 kB / 0.9901 GB, free: 16.81 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.232e-05/0.207, allocations: 29.7 kB / 0.9902 GB, free: 16.78 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.819e-05/0.2071, allocations: 204.2 kB / 0.9904 GB, free: 16.57 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.265e-05/0.2072, allocations: 63.09 kB / 0.9904 GB, free: 16.51 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.524e-06/0.2072, allocations: 8 kB / 0.9904 GB, free: 16.5 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.947e-05/0.2072, allocations: 338.8 kB / 0.9908 GB, free: 16.16 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001317/0.2074, allocations: 63.95 kB / 0.9908 GB, free: 16.1 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001206/0.2075, allocations: 61.34 kB / 0.9909 GB, free: 16.04 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002587/0.2078, allocations: 158.9 kB / 0.991 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.2078, allocations: 0 / 0.991 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003279/0.2081, allocations: 217.2 kB / 0.9912 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/0.2081, allocations: 4 kB / 0.9912 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.2081, allocations: 0 / 0.9912 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.2082, allocations: 3.938 kB / 0.9912 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002323/0.2084, allocations: 55.91 kB / 0.9913 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.61e-06/0.2084, allocations: 0 / 0.9913 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001487/0.2086, allocations: 35.73 kB / 0.9913 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.967e-06/0.2086, allocations: 4 kB / 0.9913 GB, free: 15.57 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.0001262/0.2087, allocations: 165.8 kB / 0.9915 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.618e-05/0.2088, allocations: 31.62 kB / 0.9915 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.296e-05/0.2088, allocations: 43.53 kB / 0.9916 GB, free: 15.31 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.2088, allocations: 4 kB / 0.9916 GB, free: 15.31 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.2089, allocations: 0 / 0.9916 GB, free: 15.31 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.2089, allocations: 0 / 0.9916 GB, free: 15.31 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003011/0.2092, allocations: 385.3 kB / 0.9919 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.2092, allocations: 0 / 0.9919 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000241/0.2094, allocations: 55.91 kB / 0.992 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.958e-06/0.2094, allocations: 4 kB / 0.992 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.435e-05/0.2095, allocations: 11.88 kB / 0.992 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.2095, allocations: 0 / 0.992 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.2095, allocations: 0 / 0.992 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005143/0.21, allocations: 398 kB / 0.9924 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.68e-05/0.2101, allocations: 116.6 kB / 0.9925 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.235e-05/0.2101, allocations: 11.94 kB / 0.9925 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001912/0.2103, allocations: 20.05 kB / 0.9925 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.045e-05/0.2104, allocations: 11.98 kB / 0.9925 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.226e-06/0.2104, allocations: 4 kB / 0.9925 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002525/0.2107, allocations: 299.1 kB / 0.9928 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2.7e-07/0.2107, allocations: 0 / 0.9928 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002723/0.2109, allocations: 75.84 kB / 0.9929 GB, free: 13.87 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.0001034/0.211, allocations: 107.2 kB / 0.993 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003226/0.2114, allocations: 155.9 kB / 0.9931 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.2114, allocations: 0 / 0.9931 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001456/0.2115, allocations: 87.91 kB / 0.9932 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005303/0.2121, allocations: 85.38 kB / 0.9933 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001043/0.2131, allocations: 0.8927 MB / 0.9942 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002108/0.2134, allocations: 0.7953 MB / 0.995 GB, free: 11.7 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001281/0.2135, allocations: 34.95 kB / 0.995 GB, free: 11.66 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.51e-05/0.2135, allocations: 23.44 kB / 0.995 GB, free: 11.64 MB / 0.6198 GB Notification: Performance of SimCode: time 2.21e-07/0.2136, allocations: 0 / 0.995 GB, free: 11.64 MB / 0.6198 GB Notification: Performance of Templates: time 0.00665/0.2202, allocations: 3.631 MB / 0.9986 GB, free: 8.117 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1)