Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.DC.Loads.Examples.Resistor.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.Electrical.DC.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.DC.Loads.Examples.Resistor") translateModel(Buildings.Electrical.DC.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.DC.Loads.Examples.Resistor") [/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 2.69e-05/2.691e-05, allocations: 2.5 kB / 0.5922 GB, free: 18.52 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.Resistor): time 0.004394/0.004428, allocations: 3.797 MB / 0.5959 GB, free: 15.12 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002419/0.006865, allocations: 1.838 MB / 0.5977 GB, free: 13.28 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001579/0.00704, allocations: 8 kB / 0.5978 GB, free: 13.27 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001187/0.008235, allocations: 0.4893 MB / 0.5982 GB, free: 12.78 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004544/0.008698, allocations: 234.8 kB / 0.5985 GB, free: 12.55 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004655/0.009214, allocations: 211.5 kB / 0.5987 GB, free: 12.34 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004351/0.009656, allocations: 0.5141 MB / 0.5992 GB, free: 11.83 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004609/0.01012, allocations: 313.5 kB / 0.5995 GB, free: 11.53 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001425/0.01028, allocations: 195.2 kB / 0.5996 GB, free: 11.34 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002797/0.01056, allocations: 179.3 kB / 0.5998 GB, free: 11.16 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.267e-05/0.01061, allocations: 20 kB / 0.5998 GB, free: 11.14 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002807/0.01089, allocations: 199.4 kB / 0.6 GB, free: 10.95 MB / 446.1 MB Notification: Performance of combineBinaries: time 0.0002764/0.01118, allocations: 475.1 kB / 0.6005 GB, free: 10.48 MB / 446.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001324/0.01132, allocations: 300.1 kB / 0.6008 GB, free: 10.18 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.459e-05/0.01137, allocations: 47.81 kB / 0.6008 GB, free: 10.13 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.684e-05/0.01141, allocations: 8 kB / 0.6008 GB, free: 10.12 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: 78 (60) * Number of variables: 78 (53) Notification: Performance of Bindings: time 0.000968/0.01239, allocations: 1.378 MB / 0.6022 GB, free: 8.637 MB / 446.1 MB Notification: Performance of FunctionAlias: time 8.933e-05/0.01248, allocations: 79.8 kB / 0.6022 GB, free: 8.559 MB / 446.1 MB Notification: Performance of Early Inline: time 0.0006202/0.01311, allocations: 0.783 MB / 0.603 GB, free: 7.75 MB / 446.1 MB Notification: Performance of simplify1: time 4.913e-05/0.01317, allocations: 63.91 kB / 0.6031 GB, free: 7.688 MB / 446.1 MB Notification: Performance of Alias: time 0.0008106/0.01398, allocations: 0.8855 MB / 0.6039 GB, free: 6.641 MB / 446.1 MB Notification: Performance of simplify2: time 3.891e-05/0.01403, allocations: 47.94 kB / 0.604 GB, free: 6.594 MB / 446.1 MB Notification: Performance of Events: time 0.0001336/0.01417, allocations: 111.8 kB / 0.6041 GB, free: 6.484 MB / 446.1 MB Notification: Performance of Detect States: time 0.0001461/0.01433, allocations: 200.5 kB / 0.6043 GB, free: 6.277 MB / 446.1 MB Notification: Performance of Partitioning: time 0.0002448/0.01458, allocations: 304.8 kB / 0.6046 GB, free: 5.941 MB / 446.1 MB Notification: Performance of Causalize: time 0.001571/0.01616, allocations: 2.266 MB / 0.6068 GB, free: 3.676 MB / 446.1 MB Notification: Performance of After Index Reduction Inline: time 0.0004169/0.01658, allocations: 0.6244 MB / 0.6074 GB, free: 3.023 MB / 446.1 MB Notification: Performance of Inline: time 0.0008262/0.01742, allocations: 1.164 MB / 0.6085 GB, free: 1.824 MB / 446.1 MB Notification: Performance of Partitioning: time 4.759e-05/0.01748, allocations: 62.3 kB / 0.6086 GB, free: 1.758 MB / 446.1 MB Notification: Performance of Cleanup: time 3.665e-05/0.01752, allocations: 51.89 kB / 0.6086 GB, free: 1.707 MB / 446.1 MB Notification: Performance of Causalize: time 0.001744/0.01927, allocations: 2.371 MB / 0.6109 GB, free: 15.39 MB / 462.1 MB Notification: Performance of Tearing: time 0.001017/0.0203, allocations: 1.01 MB / 0.6119 GB, free: 14.27 MB / 462.1 MB Notification: Performance of Initialization: time 5.71e-07/0.02031, allocations: 0 / 0.6119 GB, free: 14.27 MB / 462.1 MB Notification: Performance of Tearing: time 0.0008582/0.02117, allocations: 1.013 MB / 0.6129 GB, free: 13.15 MB / 462.1 MB Notification: Performance of Categorize: time 1.786e-05/0.0212, allocations: 4.031 kB / 0.6129 GB, free: 13.14 MB / 462.1 MB Notification: Performance of Solve: time 0.0003571/0.02157, allocations: 218 kB / 0.6131 GB, free: 12.93 MB / 462.1 MB Notification: Performance of Jacobian: time 3.878e-06/0.02158, allocations: 0 / 0.6131 GB, free: 12.93 MB / 462.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 5 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 0 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 0 (0) {} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 5 (5) {$SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 40 (scalar:27, array:13, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 5 (generic: 5, entwined:0) * Number of algebraic-loop strong components: ... 2 (linear: 0, nonlinear:2) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 50 (scalar:37, array:13, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 5 (generic: 5, entwined:0) * Number of algebraic-loop strong components: ... 2 (linear: 0, nonlinear:2) Notification: Performance of backend: time 5.261e-05/0.02164, allocations: 36.47 kB / 0.6132 GB, free: 12.9 MB / 462.1 MB Error: Internal error NSimStrongComponent.Block.createResidual failed for [ARRY] (2) $RES_BND_63 = res2.terminal.i - res2.i ($RES_BND_63)