Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Bodylight_Bodylight.SteadyStates.Examples.O2_in_water.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.002374/0.002374, allocations: 77.88 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.003126/0.003126, allocations: 165 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.636/1.636, allocations: 177.1 MB / 204.5 MB, free: 5.18 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.1064/0.1064, allocations: 12.76 MB / 273.8 MB, free: 8 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.SteadyStates.Examples.O2_in_water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Bodylight_Bodylight.SteadyStates.Examples.O2_in_water") translateModel(Bodylight.SteadyStates.Examples.O2_in_water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Bodylight_Bodylight.SteadyStates.Examples.O2_in_water") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.666e-05/1.666e-05, allocations: 2.312 kB / 348 MB, free: 0.8711 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Bodylight.SteadyStates.Examples.O2_in_water): time 0.00413/0.004146, allocations: 2.773 MB / 350.8 MB, free: 14.08 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00406/0.008206, allocations: 2.006 MB / 352.8 MB, free: 12.07 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001434/0.00835, allocations: 11.88 kB / 352.8 MB, free: 12.05 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001543/0.008504, allocations: 27.66 kB / 352.9 MB, free: 12.03 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.SteadyStates.Examples.O2_in_water.oxygen_dissolved.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.SteadyStates.Examples.O2_in_water.oxygen_dissolved.Utilities.readReal' contains a call to impure function 'Bodylight.SteadyStates.Examples.O2_in_water.oxygen_dissolved.Utilities.UnitConversions.findUnit'. Notification: Performance of NFTyping.typeBindings: time 0.000924/0.009428, allocations: 282.3 kB / 353.1 MB, free: 11.75 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.SteadyStates.Examples.O2_in_water.oxygen_dissolved.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.SteadyStates.Examples.O2_in_water.oxygen_dissolved.Utilities.writeComparison' contains a call to impure function 'Modelica.Utilities.Files.createDirectory'. Notification: Performance of NFTyping.typeClassSections: time 0.0007868/0.01021, allocations: 302.9 kB / 353.4 MB, free: 11.45 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004387/0.01065, allocations: 314.6 kB / 353.7 MB, free: 11.14 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001423/0.0108, allocations: 40.5 kB / 353.8 MB, free: 11.11 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001534/0.01233, allocations: 0.9171 MB / 354.7 MB, free: 10.19 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001691/0.0125, allocations: 71.73 kB / 354.8 MB, free: 10.12 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.781e-05/0.01253, allocations: 8 kB / 354.8 MB, free: 10.11 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.944e-05/0.0126, allocations: 20 kB / 354.8 MB, free: 10.09 MB / 282.7 MB Notification: Performance of combineBinaries: time 0.000326/0.01292, allocations: 294 kB / 355.1 MB, free: 9.801 MB / 282.7 MB Notification: Performance of replaceArrayConstructors: time 0.0001931/0.01312, allocations: 182.5 kB / 355.3 MB, free: 9.621 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.147e-05/0.01316, allocations: 20 kB / 355.3 MB, free: 9.602 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.732e-05/0.01322, allocations: 31.83 kB / 355.3 MB, free: 9.57 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: 29 (29) * Number of variables: 29 (29) Notification: Performance of [SIM] Bindings: time 0.00118/0.0144, allocations: 0.8287 MB / 356.1 MB, free: 8.621 MB / 282.7 MB Notification: Performance of [SIM] FunctionAlias: time 0.0002243/0.01463, allocations: 106.7 kB / 356.2 MB, free: 8.504 MB / 282.7 MB Notification: Performance of [SIM] Early Inline: time 0.0007375/0.01537, allocations: 0.5749 MB / 356.8 MB, free: 7.906 MB / 282.7 MB Notification: Performance of [SIM] Simplify 1: time 0.0001299/0.0155, allocations: 77.62 kB / 356.9 MB, free: 7.801 MB / 282.7 MB Warning: NBAlias.selectStartByConfidence: Alias set with conflicting unfixed start values of equal confidence detected. Use -d=dumprepl for more information. Notification: Performance of [SIM] Alias: time 0.001312/0.01681, allocations: 0.7195 MB / 357.6 MB, free: 6.965 MB / 282.7 MB Notification: Performance of [SIM] Simplify 2: time 0.0001069/0.01691, allocations: 64.39 kB / 357.7 MB, free: 6.875 MB / 282.7 MB Notification: Performance of [SIM] Remove Stream: time 7.142e-05/0.01699, allocations: 48.42 kB / 357.7 MB, free: 6.801 MB / 282.7 MB Notification: Performance of [SIM] Detect States: time 0.0002034/0.01719, allocations: 148.9 kB / 357.9 MB, free: 6.59 MB / 282.7 MB Notification: Performance of [SIM] Events: time 9.724e-05/0.01729, allocations: 51.89 kB / 357.9 MB, free: 6.539 MB / 282.7 MB Notification: Performance of [SIM] Partitioning: time 0.0002485/0.01754, allocations: 153.9 kB / 358.1 MB, free: 6.348 MB / 282.7 MB Notification: Performance of [SIM] Causalize: time 0.0002705/0.01781, allocations: 165.2 kB / 358.2 MB, free: 6.172 MB / 282.7 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0002359/0.01804, allocations: 207.8 kB / 358.4 MB, free: 5.969 MB / 282.7 MB Notification: Performance of [INI] Simplify: time 0.000465/0.01851, allocations: 238 kB / 358.7 MB, free: 5.676 MB / 282.7 MB Notification: Performance of [INI] Inline: time 0.0005647/0.01907, allocations: 468.6 kB / 359.1 MB, free: 5.215 MB / 282.7 MB Notification: Performance of [INI] Partitioning: time 3.374e-05/0.01911, allocations: 28.11 kB / 359.2 MB, free: 5.18 MB / 282.7 MB Notification: Performance of [INI] Cleanup: time 8.509e-05/0.01919, allocations: 71.84 kB / 359.2 MB, free: 5.109 MB / 282.7 MB Notification: Performance of [INI] Causalize: time 0.0004832/0.01967, allocations: 269.5 kB / 359.5 MB, free: 4.852 MB / 282.7 MB Notification: Performance of [INI] Tearing: time 1.623e-05/0.01969, allocations: 16 kB / 359.5 MB, free: 4.836 MB / 282.7 MB Notification: Performance of [SIM] Initialization: time 7.41e-07/0.01969, allocations: 0 / 359.5 MB, free: 4.836 MB / 282.7 MB Notification: Performance of [SIM] Remove Dummies: time 3.286e-06/0.01969, allocations: 0 / 359.5 MB, free: 4.836 MB / 282.7 MB Notification: Performance of [SIM] Tearing: time 6.532e-06/0.0197, allocations: 8 kB / 359.5 MB, free: 4.828 MB / 282.7 MB Notification: Performance of [SIM] Categorize: time 1.16e-05/0.01971, allocations: 7.875 kB / 359.5 MB, free: 4.82 MB / 282.7 MB Notification: Performance of [SIM] Solve: time 0.0003008/0.02001, allocations: 172 kB / 359.7 MB, free: 4.652 MB / 282.7 MB Notification: Performance of [SIM] Jacobian: time 5.651e-06/0.02002, allocations: 0 / 359.7 MB, free: 4.652 MB / 282.7 MB Notification: Performance of [SIM] Minimize Homotopy System: time 3.51e-07/0.02002, allocations: 0 / 359.7 MB, free: 4.652 MB / 282.7 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 1 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 1 * 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) {} * Number of discrete variables: ................. 2 (2) {$SEV_1, $SEV_0} * Number of clocks: ............................. 0 (0) {} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 13 (scalar:13, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 21 (scalar:21, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 4.08e-05/0.02006, allocations: 26.97 kB / 359.7 MB, free: 4.629 MB / 282.7 MB Notification: Performance of SimCode: time 0.0007032/0.02076, allocations: 393.1 kB / 360.1 MB, free: 4.23 MB / 282.7 MB Notification: Performance of Templates: time 0.004496/0.02526, allocations: 1.196 MB / 361.3 MB, free: 3.047 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Bodylight_Bodylight.SteadyStates.Examples.O2_in_water.makefile [Timeout 660] (rm -f Bodylight_Bodylight.SteadyStates.Examples.O2_in_water.pipe ; mkfifo Bodylight_Bodylight.SteadyStates.Examples.O2_in_water.pipe ; head -c 1048576 < Bodylight_Bodylight.SteadyStates.Examples.O2_in_water.pipe >> ../files/Bodylight_Bodylight.SteadyStates.Examples.O2_in_water.sim & ./Bodylight_Bodylight.SteadyStates.Examples.O2_in_water -abortSlowSimulation -alarm=240 -lv LOG_STATS > Bodylight_Bodylight.SteadyStates.Examples.O2_in_water.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.380474319215864]