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: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,fileNamePrefix="Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,fileNamePrefix="Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000817/0.000817, allocations: 91.69 kB / 15.36 MB, free: 0.7383 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.005068/0.005068, allocations: 172.8 kB / 16.26 MB, free: 6.613 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.145/1.145, allocations: 205.4 MB / 222.5 MB, free: 5.551 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.505/1.505, allocations: 292.7 MB / 0.5502 GB, free: 14.46 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.0008113/0.0008113, allocations: 15.28 kB / 0.6745 GB, free: 25.88 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1834/0.1843, allocations: 116.3 MB / 0.788 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.003038/0.1873, allocations: 2.71 MB / 0.7907 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002551/0.1899, allocations: 2.111 MB / 0.7927 GB, free: 6.574 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002127/0.1902, allocations: 4 kB / 0.7928 GB, free: 6.57 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001271/0.1914, allocations: 478 kB / 0.7932 GB, free: 6.102 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003174/0.1918, allocations: 135.2 kB / 0.7933 GB, free: 5.969 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001229/0.1919, allocations: 51.91 kB / 0.7934 GB, free: 5.918 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0005078/0.1924, allocations: 465.9 kB / 0.7938 GB, free: 5.461 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002241/0.1926, allocations: 127.9 kB / 0.794 GB, free: 5.332 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002302/0.1929, allocations: 139.3 kB / 0.7941 GB, free: 5.195 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002489/0.1931, allocations: 175.1 kB / 0.7943 GB, free: 5.023 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.165e-05/0.1932, allocations: 16 kB / 0.7943 GB, free: 5.008 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 5.919e-05/0.1933, allocations: 24 kB / 0.7943 GB, free: 4.984 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.613e-05/0.1934, allocations: 79.62 kB / 0.7944 GB, free: 4.906 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001919/0.1936, allocations: 216.7 kB / 0.7946 GB, free: 4.688 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003904/0.194, allocations: 0.5175 MB / 0.7951 GB, free: 4.168 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.194, allocations: 0 / 0.7951 GB, free: 4.168 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.492e-06/0.194, allocations: 0 / 0.7951 GB, free: 4.168 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.387e-06/0.194, allocations: 0 / 0.7951 GB, free: 4.168 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.0008338/0.1948, allocations: 0.6424 MB / 0.7957 GB, free: 3.477 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.536e-05/0.1949, allocations: 12.03 kB / 0.7957 GB, free: 3.465 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.009e-05/0.1949, allocations: 54.67 kB / 0.7958 GB, free: 3.402 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.702e-05/0.195, allocations: 48.38 kB / 0.7958 GB, free: 3.355 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004196/0.1954, allocations: 378 kB / 0.7962 GB, free: 2.945 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.768e-05/0.1955, allocations: 20.75 kB / 0.7962 GB, free: 2.922 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.647e-05/0.1955, allocations: 28.38 kB / 0.7962 GB, free: 2.895 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003794/0.1959, allocations: 203.4 kB / 0.7964 GB, free: 2.695 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.1959, allocations: 0 / 0.7964 GB, free: 2.695 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.966e-05/0.1959, allocations: 8 kB / 0.7964 GB, free: 2.688 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.606e-06/0.196, allocations: 8 kB / 0.7964 GB, free: 2.68 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003748/0.1963, allocations: 177.6 kB / 0.7966 GB, free: 2.504 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00107/0.1974, allocations: 0.8778 MB / 0.7975 GB, free: 1.559 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002828/0.1977, allocations: 154.6 kB / 0.7976 GB, free: 1.398 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002082/0.1979, allocations: 123.6 kB / 0.7977 GB, free: 1.277 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.303e-05/0.1979, allocations: 3.938 kB / 0.7977 GB, free: 1.273 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.89e-05/0.198, allocations: 30.88 kB / 0.7978 GB, free: 1.234 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=18): time 1.433e-06/0.198, allocations: 0 / 0.7978 GB, free: 1.234 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18): time 0.0005684/0.1986, allocations: 273 kB / 0.798 GB, free: 0.9609 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.438e-05/0.1986, allocations: 59.41 kB / 0.7981 GB, free: 0.8906 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004231/0.199, allocations: 413.7 kB / 0.7985 GB, free: 488 kB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.772e-05/0.1991, allocations: 33.7 kB / 0.7985 GB, free: 448 kB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001205/0.1992, allocations: 208.2 kB / 0.7987 GB, free: 236 kB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.237e-05/0.1992, allocations: 67 kB / 0.7988 GB, free: 168 kB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.082e-05/0.1993, allocations: 21.72 kB / 0.7988 GB, free: 140 kB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000127/0.1994, allocations: 346.8 kB / 0.7991 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001416/0.1996, allocations: 55.97 kB / 0.7992 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000136/0.1997, allocations: 71.89 kB / 0.7992 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002944/0.2, allocations: 147.5 kB / 0.7994 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.2, allocations: 0 / 0.7994 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003655/0.2004, allocations: 217.1 kB / 0.7996 GB, free: 15.3 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.2004, allocations: 8 kB / 0.7996 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/0.2004, allocations: 3.938 kB / 0.7996 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.2004, allocations: 3.984 kB / 0.7996 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002401/0.2007, allocations: 63.91 kB / 0.7997 GB, free: 15.22 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.2007, allocations: 0 / 0.7997 GB, free: 15.22 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001502/0.2008, allocations: 23.83 kB / 0.7997 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.112e-05/0.2009, allocations: 4 kB / 0.7997 GB, free: 15.2 MB / 0.6231 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.0001418/0.201, allocations: 166.4 kB / 0.7998 GB, free: 15.02 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.346e-05/0.2011, allocations: 35.62 kB / 0.7999 GB, free: 14.99 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.287e-05/0.2011, allocations: 47.53 kB / 0.7999 GB, free: 14.94 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/0.2012, allocations: 4 kB / 0.7999 GB, free: 14.93 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.2012, allocations: 0 / 0.7999 GB, free: 14.93 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.2012, allocations: 3.938 kB / 0.7999 GB, free: 14.93 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003675/0.2015, allocations: 377.2 kB / 0.8003 GB, free: 14.51 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.2016, allocations: 0 / 0.8003 GB, free: 14.51 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002363/0.2018, allocations: 51.97 kB / 0.8003 GB, free: 14.46 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.2018, allocations: 0 / 0.8003 GB, free: 14.46 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.826e-05/0.2018, allocations: 15.94 kB / 0.8004 GB, free: 14.45 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.2018, allocations: 4 kB / 0.8004 GB, free: 14.44 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.2018, allocations: 0 / 0.8004 GB, free: 14.44 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00057/0.2024, allocations: 402 kB / 0.8007 GB, free: 14.04 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 8.822e-05/0.2025, allocations: 116.6 kB / 0.8009 GB, free: 13.9 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.276e-05/0.2026, allocations: 11.94 kB / 0.8009 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001597/0.2027, allocations: 11.98 kB / 0.8009 GB, free: 13.88 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.077e-05/0.2028, allocations: 11.98 kB / 0.8009 GB, free: 13.87 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.914e-06/0.2028, allocations: 4 kB / 0.8009 GB, free: 13.86 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002953/0.2031, allocations: 311.2 kB / 0.8012 GB, free: 13.56 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2031, allocations: 0 / 0.8012 GB, free: 13.56 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0002768/0.2034, allocations: 71.84 kB / 0.8013 GB, free: 13.49 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.0007899/0.2042, allocations: 0.9344 MB / 0.8022 GB, free: 12.53 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0003183/0.2045, allocations: 154.5 kB / 0.8023 GB, free: 12.38 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.2045, allocations: 0 / 0.8023 GB, free: 12.38 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001579/0.2047, allocations: 79.91 kB / 0.8024 GB, free: 12.3 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005329/0.2052, allocations: 99.86 kB / 0.8025 GB, free: 12.21 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00425/0.2095, allocations: 3.744 MB / 0.8061 GB, free: 8.383 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003039/0.2098, allocations: 0.7951 MB / 0.8069 GB, free: 7.562 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001142/0.2099, allocations: 30.97 kB / 0.807 GB, free: 7.535 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001463/0.2101, allocations: 123.4 kB / 0.8071 GB, free: 7.414 MB / 0.6231 GB Notification: Performance of SimCode: time 4.41e-07/0.2101, allocations: 0 / 0.8071 GB, free: 7.414 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.854/4.064, allocations: 7.376 MB / 0.8143 GB, free: 344 kB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003178/4.064, allocations: 268.9 kB / 0.8145 GB, free: 15.98 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.786/5.851, allocations: 5.875 kB / 0.8145 GB, free: 15.97 MB / 0.6387 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube.fmu > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1)