Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.ConvectionResistance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) 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 3.0.0/package.mo", uses=false) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.ConvectionResistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.ConvectionResistance") translateModel(Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.ConvectionResistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.ConvectionResistance") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 3.271e-05/3.272e-05, allocations: 5.312 kB / 0.5923 GB, free: 18.33 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.003574/0.003617, allocations: 1.292 MB / 0.5935 GB, free: 17.32 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005274/0.008908, allocations: 3.733 MB / 0.5972 GB, free: 13.81 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.182e-05/0.008978, allocations: 0 / 0.5972 GB, free: 13.81 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.283e-05/0.009013, allocations: 3.938 kB / 0.5972 GB, free: 13.8 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006317/0.009653, allocations: 107.5 kB / 0.5973 GB, free: 13.7 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005524/0.01022, allocations: 135.5 kB / 0.5974 GB, free: 13.57 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001272/0.01036, allocations: 27.91 kB / 0.5975 GB, free: 13.54 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.604e-05/0.01042, allocations: 8 kB / 0.5975 GB, free: 13.53 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001404/0.01057, allocations: 27.86 kB / 0.5975 GB, free: 13.5 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001285/0.01071, allocations: 39.89 kB / 0.5975 GB, free: 13.46 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.47e-05/0.01073, allocations: 4 kB / 0.5975 GB, free: 13.46 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005734/0.01132, allocations: 299.6 kB / 0.5978 GB, free: 13.17 MB / 446.1 MB Notification: Performance of combineBinaries: time 6.586e-05/0.0114, allocations: 35.52 kB / 0.5978 GB, free: 13.13 MB / 446.1 MB Notification: Performance of replaceArrayConstructors: time 1.166e-05/0.01142, allocations: 27.66 kB / 0.5979 GB, free: 13.11 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.63e-05/0.01144, allocations: 0 / 0.5979 GB, free: 13.11 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.422e-05/0.01146, allocations: 0 / 0.5979 GB, free: 13.11 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 (1) * Number of variables: 2 (2) Notification: Performance of Bindings: time 0.0002788/0.01175, allocations: 208.8 kB / 0.5981 GB, free: 12.8 MB / 446.1 MB Notification: Performance of FunctionAlias: time 6.643e-05/0.01183, allocations: 14.23 kB / 0.5981 GB, free: 12.79 MB / 446.1 MB Notification: Performance of Early Inline: time 8.757e-05/0.01192, allocations: 80.28 kB / 0.5982 GB, free: 12.68 MB / 446.1 MB Notification: Performance of simplify1: time 5.961e-06/0.01194, allocations: 4 kB / 0.5982 GB, free: 12.68 MB / 446.1 MB Notification: Performance of Alias: time 5.284e-05/0.012, allocations: 60.59 kB / 0.5982 GB, free: 12.58 MB / 446.1 MB Notification: Performance of simplify2: time 2.425e-06/0.01201, allocations: 0 / 0.5982 GB, free: 12.58 MB / 446.1 MB Notification: Performance of Events: time 1.904e-05/0.01204, allocations: 0 / 0.5982 GB, free: 12.58 MB / 446.1 MB Notification: Performance of Detect States: time 6.975e-05/0.01212, allocations: 36.19 kB / 0.5983 GB, free: 12.53 MB / 446.1 MB Notification: Performance of Partitioning: time 6.477e-05/0.01219, allocations: 28.11 kB / 0.5983 GB, free: 12.5 MB / 446.1 MB Notification: Performance of Causalize: time 0.000185/0.01239, allocations: 68.08 kB / 0.5984 GB, free: 12.42 MB / 446.1 MB Notification: Performance of After Index Reduction Inline: time 6.254e-05/0.01246, allocations: 76.34 kB / 0.5984 GB, free: 12.32 MB / 446.1 MB Notification: Performance of Inline: time 0.0001052/0.01258, allocations: 100.3 kB / 0.5985 GB, free: 12.19 MB / 446.1 MB Notification: Performance of Partitioning: time 9.899e-06/0.0126, allocations: 12.12 kB / 0.5985 GB, free: 12.17 MB / 446.1 MB Notification: Performance of Cleanup: time 1.19e-05/0.01262, allocations: 4 kB / 0.5985 GB, free: 12.16 MB / 446.1 MB Notification: Performance of Causalize: time 0.0001362/0.01276, allocations: 83.58 kB / 0.5986 GB, free: 12.08 MB / 446.1 MB Error: Internal error NBEquation.Equation.getResidualExp failed for: [ALGO] (2) ($RES_SIM_0) [----] m_flow := (time - 0.5) * m_flow_nominal * 2.0; [----] R := $FUN_1; Error: Internal error NBInitialization.main failed to apply modules!