Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Bodylight_Bodylight.Population.UniformPopulation.Examples.PredatorPrey.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.001722/0.001722, allocations: 73.88 kB / 20.67 MB, free: 3.824 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.001832/0.001832, allocations: 169 kB / 24.07 MB, free: 436 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.654/1.654, allocations: 177.1 MB / 204.5 MB, free: 5.461 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.1057/0.1057, allocations: 12.76 MB / 273.8 MB, free: 76 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.Population.UniformPopulation.Examples.PredatorPrey,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Bodylight_Bodylight.Population.UniformPopulation.Examples.PredatorPrey") translateModel(Bodylight.Population.UniformPopulation.Examples.PredatorPrey,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Bodylight_Bodylight.Population.UniformPopulation.Examples.PredatorPrey") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.114e-05/2.114e-05, allocations: 4.281 kB / 347.9 MB, free: 0.9414 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Population.UniformPopulation.Examples.PredatorPrey): time 0.003805/0.003826, allocations: 2.48 MB / 350.4 MB, free: 14.45 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.005289/0.009115, allocations: 2.699 MB / 353.1 MB, free: 11.74 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000173/0.009288, allocations: 7.938 kB / 353.1 MB, free: 11.73 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001533/0.009442, allocations: 35.66 kB / 353.2 MB, free: 11.7 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.Population.UniformPopulation.Examples.PredatorPrey.predator.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.Population.UniformPopulation.Examples.PredatorPrey.predator.Utilities.readReal' contains a call to impure function 'Bodylight.Population.UniformPopulation.Examples.PredatorPrey.predator.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.Population.UniformPopulation.Examples.PredatorPrey.prey.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.Population.UniformPopulation.Examples.PredatorPrey.prey.Utilities.readReal' contains a call to impure function 'Bodylight.Population.UniformPopulation.Examples.PredatorPrey.prey.Utilities.UnitConversions.findUnit'. Notification: Performance of NFTyping.typeBindings: time 0.001259/0.0107, allocations: 373.9 kB / 353.5 MB, free: 11.33 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.Population.UniformPopulation.Examples.PredatorPrey.predator.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.Population.UniformPopulation.Examples.PredatorPrey.predator.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.Population.UniformPopulation.Examples.PredatorPrey.prey.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.Population.UniformPopulation.Examples.PredatorPrey.prey.Utilities.writeComparison' contains a call to impure function 'Modelica.Utilities.Files.createDirectory'. Notification: Performance of NFTyping.typeClassSections: time 0.001127/0.01183, allocations: 426.6 kB / 353.9 MB, free: 10.91 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005051/0.01233, allocations: 326.7 kB / 354.3 MB, free: 10.59 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001646/0.0125, allocations: 41.06 kB / 354.3 MB, free: 10.55 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002897/0.01539, allocations: 1.671 MB / 356 MB, free: 8.871 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001998/0.01559, allocations: 63.8 kB / 356 MB, free: 8.809 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.426e-05/0.01563, allocations: 12 kB / 356 MB, free: 8.797 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.172e-05/0.01567, allocations: 20 kB / 356.1 MB, free: 8.777 MB / 282.7 MB Notification: Performance of combineBinaries: time 0.0003727/0.01604, allocations: 329.6 kB / 356.4 MB, free: 8.453 MB / 282.7 MB Notification: Performance of replaceArrayConstructors: time 0.0001919/0.01623, allocations: 214.2 kB / 356.6 MB, free: 8.242 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.708e-05/0.01627, allocations: 16 kB / 356.6 MB, free: 8.227 MB / 282.7 MB Notification: Performance of FrontEnd: time 0.0001021/0.01637, allocations: 39.83 kB / 356.6 MB, free: 8.188 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: 34 (34) * Number of variables: 34 (34) Notification: Performance of [SIM] Bindings: time 0.001242/0.01761, allocations: 0.8959 MB / 357.5 MB, free: 7.172 MB / 282.7 MB Notification: Performance of [SIM] FunctionAlias: time 0.0001052/0.01772, allocations: 75.91 kB / 357.6 MB, free: 7.098 MB / 282.7 MB Notification: Performance of [SIM] Early Inline: time 0.0005051/0.01823, allocations: 424 kB / 358 MB, free: 6.656 MB / 282.7 MB Notification: Performance of [SIM] Simplify 1: time 0.0001264/0.01835, allocations: 72.27 kB / 358.1 MB, free: 6.559 MB / 282.7 MB Notification: Performance of [SIM] Alias: time 0.00123/0.01958, allocations: 0.7048 MB / 358.8 MB, free: 5.742 MB / 282.7 MB Notification: Performance of [SIM] Simplify 2: time 9.063e-05/0.01967, allocations: 60.39 kB / 358.9 MB, free: 5.656 MB / 282.7 MB Notification: Performance of [SIM] Remove Stream: time 7.747e-05/0.01975, allocations: 56.41 kB / 358.9 MB, free: 5.574 MB / 282.7 MB Notification: Performance of [SIM] Detect States: time 0.0002814/0.02003, allocations: 172.2 kB / 359.1 MB, free: 5.344 MB / 282.7 MB Notification: Performance of [SIM] Events: time 4.662e-05/0.02008, allocations: 31.84 kB / 359.1 MB, free: 5.312 MB / 282.7 MB Notification: Performance of [SIM] Partitioning: time 0.0002561/0.02033, allocations: 158.2 kB / 359.3 MB, free: 5.121 MB / 282.7 MB Notification: Performance of [SIM] Causalize: time 0.000294/0.02063, allocations: 176.3 kB / 359.4 MB, free: 4.945 MB / 282.7 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.000233/0.02086, allocations: 207.8 kB / 359.6 MB, free: 4.742 MB / 282.7 MB Notification: Performance of [INI] Simplify: time 0.0004117/0.02127, allocations: 220.7 kB / 359.9 MB, free: 4.473 MB / 282.7 MB Notification: Performance of [INI] Inline: time 0.0004124/0.02168, allocations: 342.2 kB / 360.2 MB, free: 4.133 MB / 282.7 MB Notification: Performance of [INI] Partitioning: time 2.973e-05/0.02171, allocations: 20.12 kB / 360.2 MB, free: 4.105 MB / 282.7 MB Notification: Performance of [INI] Cleanup: time 7.431e-05/0.02179, allocations: 63.94 kB / 360.3 MB, free: 4.043 MB / 282.7 MB Notification: Performance of [INI] Causalize: time 0.0005831/0.02237, allocations: 329.7 kB / 360.6 MB, free: 3.719 MB / 282.7 MB Notification: Performance of [INI] Tearing: time 1.873e-05/0.02239, allocations: 16 kB / 360.6 MB, free: 3.703 MB / 282.7 MB Notification: Performance of [SIM] Initialization: time 4.71e-07/0.02239, allocations: 0 / 360.6 MB, free: 3.703 MB / 282.7 MB Notification: Performance of [SIM] Remove Dummies: time 3.105e-06/0.02239, allocations: 0 / 360.6 MB, free: 3.703 MB / 282.7 MB Notification: Performance of [SIM] Tearing: time 8.747e-06/0.0224, allocations: 8 kB / 360.6 MB, free: 3.695 MB / 282.7 MB Notification: Performance of [SIM] Categorize: time 5.18e-06/0.02241, allocations: 0 / 360.6 MB, free: 3.695 MB / 282.7 MB Notification: Performance of [SIM] Solve: time 0.0002397/0.02265, allocations: 123.8 kB / 360.7 MB, free: 3.574 MB / 282.7 MB Notification: Performance of [SIM] Jacobian: time 0.000342/0.02299, allocations: 192.4 kB / 360.9 MB, free: 3.348 MB / 282.7 MB Notification: Performance of [SIM] Minimize Homotopy System: time 6.31e-07/0.02299, allocations: 0 / 360.9 MB, free: 3.348 MB / 282.7 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 1 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 0 * 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: ............................. 2 (2) {predator.state, prey.state} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 0 (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: ........... 16 (scalar:16, 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: ........... 26 (scalar:26, 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.181e-05/0.02303, allocations: 31.28 kB / 361 MB, free: 3.324 MB / 282.7 MB Notification: Performance of SimCode: time 0.0008151/0.02385, allocations: 471.6 kB / 361.4 MB, free: 2.84 MB / 282.7 MB Notification: Performance of Templates: time 0.004819/0.02867, allocations: 1.154 MB / 362.6 MB, free: 1.688 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Bodylight_Bodylight.Population.UniformPopulation.Examples.PredatorPrey.makefile [Timeout 660] (rm -f Bodylight_Bodylight.Population.UniformPopulation.Examples.PredatorPrey.pipe ; mkfifo Bodylight_Bodylight.Population.UniformPopulation.Examples.PredatorPrey.pipe ; head -c 1048576 < Bodylight_Bodylight.Population.UniformPopulation.Examples.PredatorPrey.pipe >> ../files/Bodylight_Bodylight.Population.UniformPopulation.Examples.PredatorPrey.sim & ./Bodylight_Bodylight.Population.UniformPopulation.Examples.PredatorPrey -abortSlowSimulation -alarm=240 -lv LOG_STATS > Bodylight_Bodylight.Population.UniformPopulation.Examples.PredatorPrey.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.362536144908518]