Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_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_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001131/0.001131, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001278/0.001278, allocations: 188.3 kB / 16.25 MB, free: 6.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.479/1.479, allocations: 205.1 MB / 222.1 MB, free: 4.703 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.65/1.65, allocations: 292.2 MB / 0.5485 GB, free: 13.67 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001293, allocations: 66.56 kB / 0.671 GB, free: 26.36 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2207/0.222, allocations: 114.5 MB / 0.7829 GB, free: 13.87 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.005238/0.2273, allocations: 3.083 MB / 0.7859 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003193/0.2305, allocations: 2.162 MB / 0.788 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003218/0.2308, allocations: 4 kB / 0.788 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001532/0.2324, allocations: 470.1 kB / 0.7885 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002919/0.2327, allocations: 135.1 kB / 0.7886 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001199/0.2328, allocations: 51.97 kB / 0.7886 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004514/0.2333, allocations: 441.9 kB / 0.7891 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002489/0.2336, allocations: 151.2 kB / 0.7892 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00018/0.2338, allocations: 159.3 kB / 0.7894 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002005/0.234, allocations: 183.1 kB / 0.7895 GB, free: 7.016 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.784e-05/0.234, allocations: 47.92 kB / 0.7896 GB, free: 6.969 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 5.362e-05/0.2341, allocations: 32 kB / 0.7896 GB, free: 6.938 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001349/0.2342, allocations: 95.67 kB / 0.7897 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002489/0.2345, allocations: 218.9 kB / 0.7899 GB, free: 6.629 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000687/0.2352, allocations: 0.545 MB / 0.7904 GB, free: 6.082 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.2352, allocations: 0 / 0.7904 GB, free: 6.082 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.182e-06/0.2352, allocations: 0 / 0.7904 GB, free: 6.082 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.063e-06/0.2352, allocations: 0 / 0.7904 GB, free: 6.082 MB / 0.6075 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.001082/0.2363, allocations: 0.7045 MB / 0.7911 GB, free: 5.328 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/0.2363, allocations: 8.031 kB / 0.7911 GB, free: 5.32 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001043/0.2364, allocations: 48.38 kB / 0.7912 GB, free: 5.273 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004719/0.2369, allocations: 374.1 kB / 0.7915 GB, free: 4.867 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.947e-05/0.2369, allocations: 12.81 kB / 0.7916 GB, free: 4.852 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.202e-05/0.237, allocations: 32.31 kB / 0.7916 GB, free: 4.82 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003717/0.2374, allocations: 207.5 kB / 0.7918 GB, free: 4.617 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.562e-05/0.2374, allocations: 4 kB / 0.7918 GB, free: 4.613 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.827e-05/0.2374, allocations: 4 kB / 0.7918 GB, free: 4.609 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.2374, allocations: 4 kB / 0.7918 GB, free: 4.605 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000361/0.2378, allocations: 169.6 kB / 0.792 GB, free: 4.438 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001165/0.239, allocations: 0.8622 MB / 0.7928 GB, free: 3.508 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000333/0.2393, allocations: 165.2 kB / 0.793 GB, free: 3.34 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002398/0.2396, allocations: 108.8 kB / 0.7931 GB, free: 3.23 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.754e-05/0.2396, allocations: 0 / 0.7931 GB, free: 3.23 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.986e-05/0.2396, allocations: 30.56 kB / 0.7931 GB, free: 3.191 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=18): time 9.12e-07/0.2396, allocations: 0 / 0.7931 GB, free: 3.191 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18): time 0.0006003/0.2403, allocations: 265.2 kB / 0.7933 GB, free: 2.926 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.652e-05/0.2403, allocations: 55.41 kB / 0.7934 GB, free: 2.859 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004855/0.2408, allocations: 421.7 kB / 0.7938 GB, free: 2.438 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.875e-05/0.2408, allocations: 25.7 kB / 0.7938 GB, free: 2.406 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.00016/0.241, allocations: 208.2 kB / 0.794 GB, free: 2.199 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.412e-05/0.241, allocations: 59.11 kB / 0.7941 GB, free: 2.141 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.226e-05/0.2411, allocations: 29.72 kB / 0.7941 GB, free: 2.105 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001523/0.2413, allocations: 346.8 kB / 0.7944 GB, free: 1.758 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001415/0.2414, allocations: 63.95 kB / 0.7945 GB, free: 1.695 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001298/0.2415, allocations: 59.92 kB / 0.7945 GB, free: 1.637 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000282/0.2418, allocations: 131.2 kB / 0.7947 GB, free: 1.508 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.2418, allocations: 0 / 0.7947 GB, free: 1.508 MB / 0.6075 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000363/0.2422, allocations: 213.1 kB / 0.7949 GB, free: 1.293 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.2422, allocations: 7.984 kB / 0.7949 GB, free: 1.285 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.2423, allocations: 0 / 0.7949 GB, free: 1.285 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.2423, allocations: 3.938 kB / 0.7949 GB, free: 1.281 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002484/0.2425, allocations: 51.97 kB / 0.7949 GB, free: 1.23 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.473e-06/0.2425, allocations: 3.938 kB / 0.7949 GB, free: 1.227 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001579/0.2427, allocations: 23.83 kB / 0.795 GB, free: 1.203 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.101e-05/0.2427, allocations: 4 kB / 0.795 GB, free: 1.199 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001677/0.2429, allocations: 170.4 kB / 0.7951 GB, free: 1.023 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.052e-05/0.243, allocations: 39.47 kB / 0.7952 GB, free: 0.9844 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.253e-05/0.243, allocations: 43.53 kB / 0.7952 GB, free: 0.9375 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.2431, allocations: 4 kB / 0.7952 GB, free: 0.9336 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.2431, allocations: 0 / 0.7952 GB, free: 0.9336 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.2431, allocations: 0 / 0.7952 GB, free: 0.9336 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004229/0.2435, allocations: 381.3 kB / 0.7956 GB, free: 0.5117 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.2435, allocations: 0 / 0.7956 GB, free: 0.5117 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002522/0.2438, allocations: 59.91 kB / 0.7956 GB, free: 464 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.2438, allocations: 0 / 0.7956 GB, free: 464 kB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.669e-05/0.2438, allocations: 7.938 kB / 0.7956 GB, free: 456 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.248e-05/0.2438, allocations: 4 kB / 0.7956 GB, free: 452 kB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.2438, allocations: 0 / 0.7956 GB, free: 452 kB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005933/0.2444, allocations: 373.4 kB / 0.796 GB, free: 64 kB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001696/0.2446, allocations: 120.7 kB / 0.7961 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.782e-05/0.2447, allocations: 15.94 kB / 0.7961 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001578/0.2448, allocations: 7.984 kB / 0.7961 GB, free: 15.9 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.277e-05/0.2449, allocations: 11.98 kB / 0.7962 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.852e-06/0.2449, allocations: 4 kB / 0.7962 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0004441/0.2453, allocations: 303.1 kB / 0.7964 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2453, allocations: 0 / 0.7964 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003765/0.2457, allocations: 75.84 kB / 0.7965 GB, free: 15.52 MB / 0.6231 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 (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.0001483/0.2459, allocations: 111.2 kB / 0.7966 GB, free: 15.4 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0003771/0.2463, allocations: 150 kB / 0.7968 GB, free: 15.26 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.2463, allocations: 4 kB / 0.7968 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001523/0.2464, allocations: 75.91 kB / 0.7968 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006562/0.2471, allocations: 97.38 kB / 0.7969 GB, free: 15.09 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001244/0.2483, allocations: 0.8704 MB / 0.7978 GB, free: 14.19 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004634/0.2488, allocations: 0.7951 MB / 0.7986 GB, free: 13.37 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001238/0.249, allocations: 38.95 kB / 0.7986 GB, free: 13.33 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.158e-05/0.249, allocations: 23.44 kB / 0.7986 GB, free: 13.3 MB / 0.6231 GB Notification: Performance of SimCode: time 3.81e-07/0.249, allocations: 0 / 0.7986 GB, free: 13.3 MB / 0.6231 GB Notification: Performance of Templates: time 0.008029/0.2571, allocations: 3.879 MB / 0.8024 GB, free: 9.539 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & ./Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1)