Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Bodylight_Bodylight.Chemical.Examples.TwoConcentrationCompartments.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002591/0.002591, allocations: 77.22 kB / 20.67 MB, free: 3.832 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.003154/0.003154, allocations: 169 kB / 24.07 MB, free: 444 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.701/1.701, allocations: 177.1 MB / 204.5 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/package.mo): time 0.093/0.093, allocations: 12.76 MB / 273.8 MB, free: 88 kB / 250.7 MB " [Timeout remaining time 180] Using package Bodylight with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Bodylight.Chemical.Examples.TwoConcentrationCompartments,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Bodylight_Bodylight.Chemical.Examples.TwoConcentrationCompartments") translateModel(Bodylight.Chemical.Examples.TwoConcentrationCompartments,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Bodylight_Bodylight.Chemical.Examples.TwoConcentrationCompartments") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.839e-05/1.839e-05, allocations: 5.125 kB / 347.9 MB, free: 0.957 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Chemical.Examples.TwoConcentrationCompartments): time 0.005233/0.005251, allocations: 3.747 MB / 351.7 MB, free: 13.19 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.005642/0.01089, allocations: 3.007 MB / 354.7 MB, free: 10.17 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001713/0.01107, allocations: 15.81 kB / 354.7 MB, free: 10.16 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002016/0.01127, allocations: 67.3 kB / 354.8 MB, free: 10.09 MB / 282.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/Types.mo:6207:6-6223:18:writable] Warning: Pure function 'Bodylight.Chemical.Examples.TwoConcentrationCompartments.substance.Utilities.UnitConversions.findUnit' contains a call to impure function 'Modelica.Utilities.Streams.print'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/Types.mo:5637:15-5729:17:writable] Warning: Pure function 'Bodylight.Chemical.Examples.TwoConcentrationCompartments.substance.Utilities.readReal' contains a call to impure function 'Bodylight.Chemical.Examples.TwoConcentrationCompartments.substance.Utilities.UnitConversions.findUnit'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/Types.mo:6207:6-6223:18:writable] Warning: Pure function 'Bodylight.Chemical.Examples.TwoConcentrationCompartments.substance1.Utilities.UnitConversions.findUnit' contains a call to impure function 'Modelica.Utilities.Streams.print'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/Types.mo:5637:15-5729:17:writable] Warning: Pure function 'Bodylight.Chemical.Examples.TwoConcentrationCompartments.substance1.Utilities.readReal' contains a call to impure function 'Bodylight.Chemical.Examples.TwoConcentrationCompartments.substance1.Utilities.UnitConversions.findUnit'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/Hydraulic.mo:1482:17-1484:29:writable] Warning: In relation resistor.Resistance == 0.0, == on Real operands is deprecated in non-function contexts. Notification: Performance of NFTyping.typeBindings: time 0.00134/0.01261, allocations: 0.5044 MB / 355.3 MB, free: 9.586 MB / 282.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/Types.mo:5783:15-5804:18:writable] Warning: Pure function 'Bodylight.Chemical.Examples.TwoConcentrationCompartments.substance.Utilities.writeReal' contains a call to impure function 'Modelica.Utilities.Files.createDirectory'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/Types.mo:5845:15-5881:24:writable] Warning: Pure function 'Bodylight.Chemical.Examples.TwoConcentrationCompartments.substance.Utilities.writeComparison' contains a call to impure function 'Modelica.Utilities.Files.createDirectory'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/Types.mo:5783:15-5804:18:writable] Warning: Pure function 'Bodylight.Chemical.Examples.TwoConcentrationCompartments.substance1.Utilities.writeReal' contains a call to impure function 'Modelica.Utilities.Files.createDirectory'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/Types.mo:5845:15-5881:24:writable] Warning: Pure function 'Bodylight.Chemical.Examples.TwoConcentrationCompartments.substance1.Utilities.writeComparison' contains a call to impure function 'Modelica.Utilities.Files.createDirectory'. Notification: Performance of NFTyping.typeClassSections: time 0.001241/0.01385, allocations: 0.5239 MB / 355.8 MB, free: 9.062 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001087/0.01493, allocations: 0.7428 MB / 356.5 MB, free: 8.316 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001824/0.01512, allocations: 62.55 kB / 356.6 MB, free: 8.25 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002823/0.01794, allocations: 1.889 MB / 358.5 MB, free: 6.359 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003825/0.01832, allocations: 199.4 kB / 358.7 MB, free: 6.164 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 8.69e-05/0.01841, allocations: 36 kB / 358.7 MB, free: 6.129 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.323e-05/0.0185, allocations: 40 kB / 358.7 MB, free: 6.09 MB / 282.7 MB Notification: Performance of combineBinaries: time 0.000792/0.01929, allocations: 0.726 MB / 359.5 MB, free: 5.359 MB / 282.7 MB Notification: Performance of replaceArrayConstructors: time 0.0005746/0.01987, allocations: 404.7 kB / 359.9 MB, free: 4.961 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 7.52e-05/0.01994, allocations: 48 kB / 359.9 MB, free: 4.914 MB / 282.7 MB Notification: Performance of FrontEnd: time 0.0001227/0.02007, allocations: 47.81 kB / 360 MB, free: 4.867 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 164 (65) * Number of variables: 164 (65) Notification: Performance of [SIM] Bindings: time 0.003114/0.02318, allocations: 1.96 MB / 361.9 MB, free: 2.777 MB / 282.7 MB Notification: Performance of [SIM] FunctionAlias: time 0.0004969/0.02368, allocations: 276.8 kB / 362.2 MB, free: 2.496 MB / 282.7 MB Notification: Performance of [SIM] Early Inline: time 0.001699/0.02538, allocations: 1.234 MB / 363.4 MB, free: 1.234 MB / 282.7 MB Notification: Performance of [SIM] Simplify 1: time 0.0003979/0.02577, allocations: 220 kB / 363.6 MB, free: 0.9922 MB / 282.7 MB Notification: Performance of [SIM] Alias: time 0.002727/0.0285, allocations: 1.601 MB / 365.2 MB, free: 15.2 MB / 298.7 MB Notification: Performance of [SIM] Simplify 2: time 0.000341/0.02884, allocations: 181.6 kB / 365.4 MB, free: 14.99 MB / 298.7 MB Notification: Performance of [SIM] Remove Stream: time 0.0001863/0.02903, allocations: 125.6 kB / 365.5 MB, free: 14.84 MB / 298.7 MB Notification: Performance of [SIM] Detect States: time 0.0008903/0.02992, allocations: 418.6 kB / 366 MB, free: 14.37 MB / 298.7 MB Notification: Performance of [SIM] Events: time 0.0003334/0.03025, allocations: 174.3 kB / 366.1 MB, free: 14.19 MB / 298.7 MB " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.6733723459765315]