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.InternalResistancesTwoUTube.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: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.622/1.622, allocations: 288.4 MB / 303.3 MB, free: 8.113 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.00164/0.00164, allocations: 185.5 kB / 372 MB, free: 10.28 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.431/1.431, allocations: 205.4 MB / 0.6307 GB, free: 10.02 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.0008779/0.0008781, allocations: 98.28 kB / 0.7441 GB, free: 5.941 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003651/0.0003654, allocations: 15.47 kB / 0.8671 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1896/0.19, allocations: 115.3 MB / 0.9797 GB, free: 27.55 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.003159/0.1932, allocations: 3.585 MB / 0.9832 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002753/0.196, allocations: 2.26 MB / 0.9854 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004743/0.1965, allocations: 8 kB / 0.9854 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001284/0.1978, allocations: 457.9 kB / 0.9858 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0005687/0.1983, allocations: 214.4 kB / 0.986 GB, free: 21 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002417/0.1986, allocations: 79.92 kB / 0.9861 GB, free: 20.92 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0007514/0.1994, allocations: 0.7513 MB / 0.9868 GB, free: 20.17 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003739/0.1997, allocations: 245.5 kB / 0.9871 GB, free: 19.93 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000307/0.2001, allocations: 235 kB / 0.9873 GB, free: 19.7 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00031/0.2004, allocations: 270.8 kB / 0.9876 GB, free: 19.43 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 7.833e-05/0.2005, allocations: 35.94 kB / 0.9876 GB, free: 19.39 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001157/0.2006, allocations: 36 kB / 0.9876 GB, free: 19.36 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.762e-05/0.2007, allocations: 127.5 kB / 0.9878 GB, free: 19.23 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001363/0.2008, allocations: 165.3 kB / 0.9879 GB, free: 19.07 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004925/0.2013, allocations: 0.7867 MB / 0.9887 GB, free: 18.28 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.2013, allocations: 8 kB / 0.9887 GB, free: 18.27 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.774e-06/0.2014, allocations: 0 / 0.9887 GB, free: 18.27 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 2.441e-05/0.2014, allocations: 0 / 0.9887 GB, free: 18.27 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001223/0.2026, allocations: 0.8488 MB / 0.9895 GB, free: 17.37 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.2027, allocations: 12.02 kB / 0.9895 GB, free: 17.36 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001059/0.2028, allocations: 90.52 kB / 0.9896 GB, free: 17.26 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001129/0.2029, allocations: 71.16 kB / 0.9897 GB, free: 17.19 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004955/0.2034, allocations: 436.7 kB / 0.9901 GB, free: 16.72 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.471e-05/0.2034, allocations: 41 kB / 0.9901 GB, free: 16.68 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.83e-05/0.2035, allocations: 48 kB / 0.9902 GB, free: 16.64 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006961/0.2042, allocations: 430.4 kB / 0.9906 GB, free: 16.21 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.997e-05/0.2042, allocations: 3.984 kB / 0.9906 GB, free: 16.2 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.475e-05/0.2043, allocations: 20 kB / 0.9906 GB, free: 16.18 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.588e-06/0.2043, allocations: 12 kB / 0.9906 GB, free: 16.17 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006283/0.2049, allocations: 379.8 kB / 0.991 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001717/0.2066, allocations: 1.535 MB / 0.9925 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004406/0.2071, allocations: 342.7 kB / 0.9928 GB, free: 13.85 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004096/0.2075, allocations: 364.6 kB / 0.9932 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.263e-05/0.2076, allocations: 4 kB / 0.9932 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.55e-05/0.2076, allocations: 38.5 kB / 0.9932 GB, free: 13.44 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=42): time 1.893e-06/0.2076, allocations: 0 / 0.9932 GB, free: 13.44 MB / 0.6198 GB Notification: Performance of matching and sorting (n=42): time 0.0008287/0.2084, allocations: 0.5104 MB / 0.9937 GB, free: 12.92 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.389e-05/0.2085, allocations: 59.34 kB / 0.9938 GB, free: 12.85 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004313/0.2089, allocations: 481.9 kB / 0.9942 GB, free: 12.38 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.011e-05/0.2089, allocations: 33.7 kB / 0.9943 GB, free: 12.34 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001157/0.209, allocations: 273.2 kB / 0.9945 GB, free: 12.06 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 7.876e-05/0.2091, allocations: 145.8 kB / 0.9947 GB, free: 11.92 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.383e-05/0.2091, allocations: 12 kB / 0.9947 GB, free: 11.91 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.173e-05/0.2092, allocations: 362.8 kB / 0.995 GB, free: 11.54 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002132/0.2094, allocations: 124.7 kB / 0.9951 GB, free: 11.42 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002036/0.2097, allocations: 129.2 kB / 0.9953 GB, free: 11.29 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002571/0.2099, allocations: 150.6 kB / 0.9954 GB, free: 11.14 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.2099, allocations: 3.938 kB / 0.9954 GB, free: 11.14 MB / 0.6198 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005401/0.2105, allocations: 407.8 kB / 0.9958 GB, free: 10.74 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.2105, allocations: 4 kB / 0.9958 GB, free: 10.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.2105, allocations: 4 kB / 0.9958 GB, free: 10.73 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.2105, allocations: 0 / 0.9958 GB, free: 10.73 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004689/0.211, allocations: 131.8 kB / 0.9959 GB, free: 10.6 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.211, allocations: 4 kB / 0.9959 GB, free: 10.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002657/0.2113, allocations: 51.58 kB / 0.996 GB, free: 10.55 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.832e-05/0.2113, allocations: 8 kB / 0.996 GB, free: 10.54 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 (46): * Single equations (assignments): 46 * 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.0001802/0.2115, allocations: 197.8 kB / 0.9962 GB, free: 10.34 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.377e-05/0.2116, allocations: 51.39 kB / 0.9962 GB, free: 10.29 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.43e-05/0.2117, allocations: 65.09 kB / 0.9963 GB, free: 10.22 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.568e-06/0.2117, allocations: 4 kB / 0.9963 GB, free: 10.22 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.74e-06/0.2117, allocations: 0 / 0.9963 GB, free: 10.22 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-06/0.2117, allocations: 7.984 kB / 0.9963 GB, free: 10.21 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005006/0.2122, allocations: 0.5712 MB / 0.9969 GB, free: 9.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.2122, allocations: 0 / 0.9969 GB, free: 9.59 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004762/0.2127, allocations: 127.9 kB / 0.997 GB, free: 9.465 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.212e-06/0.2127, allocations: 7.938 kB / 0.997 GB, free: 9.457 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.378e-05/0.2127, allocations: 8 kB / 0.997 GB, free: 9.449 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.2127, allocations: 4 kB / 0.997 GB, free: 9.445 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.2128, allocations: 0 / 0.997 GB, free: 9.445 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008039/0.2136, allocations: 0.666 MB / 0.9976 GB, free: 8.762 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.895e-05/0.2137, allocations: 132.5 kB / 0.9978 GB, free: 8.613 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.098e-05/0.2138, allocations: 15.95 kB / 0.9978 GB, free: 8.598 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002449/0.214, allocations: 23.89 kB / 0.9978 GB, free: 8.574 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.289e-05/0.2141, allocations: 27.91 kB / 0.9978 GB, free: 8.547 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.514e-05/0.2141, allocations: 8 kB / 0.9978 GB, free: 8.539 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0003072/0.2144, allocations: 351.1 kB / 0.9982 GB, free: 8.195 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2144, allocations: 7.938 kB / 0.9982 GB, free: 8.188 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003625/0.2148, allocations: 143.6 kB / 0.9983 GB, free: 8.047 MB / 0.6198 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 (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.0009761/0.2158, allocations: 1.216 MB / 0.9995 GB, free: 6.805 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004975/0.2163, allocations: 335.7 kB / 0.9998 GB, free: 6.477 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.2163, allocations: 0 / 0.9998 GB, free: 6.477 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002392/0.2165, allocations: 183.9 kB / 1 GB, free: 6.297 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006458/0.2172, allocations: 127.5 kB / 1 GB, free: 6.176 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004278/0.2215, allocations: 3.317 MB / 1.003 GB, free: 2.805 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002767/0.2218, allocations: 0.8706 MB / 1.004 GB, free: 1.91 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002012/0.222, allocations: 52.38 kB / 1.004 GB, free: 1.859 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002042/0.2222, allocations: 192.1 kB / 1.004 GB, free: 1.672 MB / 0.6198 GB Notification: Performance of SimCode: time 5.71e-07/0.2222, allocations: 0 / 1.004 GB, free: 1.672 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02381/0.246, allocations: 10.35 MB / 1.015 GB, free: 7.652 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002269/0.2463, allocations: 273.5 kB / 1.015 GB, free: 7.289 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.216/2.462, allocations: 0 / 1.015 GB, free: 7.289 MB / 0.6355 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1)