Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.TestMedium.TestStatesSat.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo", uses=false) Using package ExternalMedia with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(ExternalMedia.Test.TestMedium.TestStatesSat,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.TestMedium.TestStatesSat") translateModel(ExternalMedia.Test.TestMedium.TestStatesSat,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.TestMedium.TestStatesSat") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00127/0.00127, allocations: 109.1 kB / 16.42 MB, free: 6.434 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.001336/0.001337, allocations: 185.5 kB / 17.36 MB, free: 5.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.385/1.385, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.01226/0.01226, allocations: 2.779 MB / 294 MB, free: 11.95 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.684e-05/2.685e-05, allocations: 5.375 kB / 406.5 MB, free: 29.14 MB / 302.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.TestMedium.TestStatesSat): time 0.07025/0.07029, allocations: 83.3 MB / 489.8 MB, free: 9.535 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.3942/0.4646, allocations: 51.44 MB / 0.5286 GB, free: 3.371 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002077/0.4667, allocations: 12.72 kB / 0.5286 GB, free: 3.367 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004178/0.4709, allocations: 1.277 MB / 0.5298 GB, free: 3.348 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/Media/BaseClasses/ExternalTwoPhaseMedium.mo:1148:25-1162:18:writable] Warning: Pure function 'ExternalMedia.Test.TestMedium.TestStatesSat.completeBubbleDewStates1.Medium.setDewState' contains a call to impure function 'ExternalMedia.Test.TestMedium.TestStatesSat.completeBubbleDewStates1.Medium.setState_ph'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/Media/BaseClasses/ExternalTwoPhaseMedium.mo:1132:25-1146:21:writable] Warning: Pure function 'ExternalMedia.Test.TestMedium.TestStatesSat.completeBubbleDewStates1.Medium.setBubbleState' contains a call to impure function 'ExternalMedia.Test.TestMedium.TestStatesSat.completeBubbleDewStates1.Medium.setState_ph'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/Media/BaseClasses/ExternalTwoPhaseMedium.mo:1148:25-1162:18:writable] Warning: Pure function 'ExternalMedia.Test.TestMedium.TestStatesSat.completeBubbleDewStates2.Medium.setDewState' contains a call to impure function 'ExternalMedia.Test.TestMedium.TestStatesSat.completeBubbleDewStates2.Medium.setState_ph'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/Media/BaseClasses/ExternalTwoPhaseMedium.mo:1132:25-1146:21:writable] Warning: Pure function 'ExternalMedia.Test.TestMedium.TestStatesSat.completeBubbleDewStates2.Medium.setBubbleState' contains a call to impure function 'ExternalMedia.Test.TestMedium.TestStatesSat.completeBubbleDewStates2.Medium.setState_ph'. Notification: Performance of NFTyping.typeBindings: time 0.03015/0.5011, allocations: 7.176 MB / 0.5368 GB, free: 3.082 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/Media/BaseClasses/ExternalTwoPhaseMedium.mo:1092:15-1106:21:writable] Warning: Pure function 'ExternalMedia.Test.TestMedium.TestStatesSat.Medium.setSat_p_state' contains a call to impure function 'ExternalMedia.Test.TestMedium.TestStatesSat.Medium.setSat_p'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/Media/BaseClasses/ExternalTwoPhaseMedium.mo:1132:25-1146:21:writable] Warning: Pure function 'ExternalMedia.Test.TestMedium.TestStatesSat.Medium.setBubbleState' contains a call to impure function 'ExternalMedia.Test.TestMedium.TestStatesSat.Medium.setState_ph'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/Media/BaseClasses/ExternalTwoPhaseMedium.mo:1148:25-1162:18:writable] Warning: Pure function 'ExternalMedia.Test.TestMedium.TestStatesSat.Medium.setDewState' contains a call to impure function 'ExternalMedia.Test.TestMedium.TestStatesSat.Medium.setState_ph'. Notification: Performance of NFTyping.typeClassSections: time 0.00634/0.5075, allocations: 1.702 MB / 0.5385 GB, free: 2.512 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003963/0.5115, allocations: 2.034 MB / 0.5405 GB, free: 1.84 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001418/0.5116, allocations: 55.98 kB / 0.5405 GB, free: 1.82 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005872/0.5175, allocations: 0.6094 MB / 0.5411 GB, free: 1.652 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00177/0.5193, allocations: 0.6131 MB / 0.5417 GB, free: 1.469 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000122/0.5194, allocations: 36.03 kB / 0.5418 GB, free: 1.469 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02165/0.5411, allocations: 3.425 MB / 0.5451 GB, free: 1.27 MB / 382.1 MB Notification: Performance of combineBinaries: time 0.002753/0.5439, allocations: 2.303 MB / 0.5474 GB, free: 0 / 382.1 MB Notification: Performance of replaceArrayConstructors: time 0.001393/0.5453, allocations: 1.652 MB / 0.549 GB, free: 14.93 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004136/0.5457, allocations: 209.5 kB / 0.5492 GB, free: 14.91 MB / 398.1 MB Notification: Performance of FrontEnd: time 0.000208/0.5459, allocations: 17.16 kB / 0.5492 GB, free: 14.91 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 490 (190) * Number of variables: 490 (490) Notification: Performance of Bindings: time 0.009677/0.5556, allocations: 9.235 MB / 0.5582 GB, free: 9.254 MB / 398.1 MB Notification: Performance of FunctionAlias: time 0.0006124/0.5562, allocations: 437.2 kB / 0.5586 GB, free: 9.098 MB / 398.1 MB Notification: Performance of Early Inline: time 0.01011/0.5663, allocations: 8.095 MB / 0.5665 GB, free: 5.449 MB / 398.1 MB Notification: Performance of simplify1: time 0.0004999/0.5669, allocations: 430.2 kB / 0.5669 GB, free: 5.273 MB / 398.1 MB Notification: Performance of Alias: time 0.005707/0.5726, allocations: 4.271 MB / 0.5711 GB, free: 1.348 MB / 398.1 MB Notification: Performance of simplify2: time 0.000727/0.5733, allocations: 436.4 kB / 0.5715 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of Detect States: time 0.00154/0.5749, allocations: 1.478 MB / 0.573 GB, free: 15.47 MB / 414.1 MB Notification: Performance of Events: time 0.0008911/0.5758, allocations: 0.7146 MB / 0.5737 GB, free: 14.77 MB / 414.1 MB Error: Internal error NBPartitioning.partitioningClocked (ODE) failed because the following variables could not be assigned to a partition: {[ALGB] (1) Real Ts (start = 288.15, min = 1.0, max = 1e4, nominal = 300.0)}