Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Physiolibrary_Physiolibrary.Population.Examples.PredatorPrey.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo", uses=false) Using package Physiolibrary with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.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) Using package Chemical with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/package.mo) Running command: translateModel(Physiolibrary.Population.Examples.PredatorPrey,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Population.Examples.PredatorPrey") translateModel(Physiolibrary.Population.Examples.PredatorPrey,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Population.Examples.PredatorPrey") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/package.mo): time 0.1097/0.1097, allocations: 15.28 MB / 31.6 MB, free: 4.129 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001047/0.001047, allocations: 105.5 kB / 36.59 MB, free: 3.18 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001637/0.001636, allocations: 189.1 kB / 41.7 MB, free: 7.145 MB / 34.91 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.507/1.507, allocations: 222.9 MB / 269.6 MB, free: 6.961 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo): time 0.1411/0.1411, allocations: 23.34 MB / 347.2 MB, free: 0.6602 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.522e-05/2.524e-05, allocations: 5.375 kB / 479.4 MB, free: 1.922 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Population.Examples.PredatorPrey): time 0.003427/0.003461, allocations: 2.322 MB / 481.7 MB, free: 15.59 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003371/0.003815, allocations: 147.4 kB / 481.9 MB, free: 15.44 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001039/0.003928, allocations: 4 kB / 481.9 MB, free: 15.44 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001457/0.00408, allocations: 31.66 kB / 481.9 MB, free: 15.41 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001121/0.004211, allocations: 47.56 kB / 481.9 MB, free: 15.36 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001545/0.004372, allocations: 31.95 kB / 482 MB, free: 15.33 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000272/0.004651, allocations: 207.1 kB / 482.2 MB, free: 15.12 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001819/0.004841, allocations: 65.94 kB / 482.2 MB, free: 15.06 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.681e-05/0.004915, allocations: 59.73 kB / 482.3 MB, free: 15 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001165/0.005037, allocations: 67.7 kB / 482.4 MB, free: 14.94 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.687e-05/0.00507, allocations: 12 kB / 482.4 MB, free: 14.93 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.489e-05/0.0051, allocations: 12 kB / 482.4 MB, free: 14.91 MB / 350.1 MB Notification: Performance of combineBinaries: time 0.0002121/0.005317, allocations: 249.2 kB / 482.6 MB, free: 14.67 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 8.343e-05/0.005408, allocations: 153.8 kB / 482.8 MB, free: 14.52 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.145e-05/0.005448, allocations: 31.81 kB / 482.8 MB, free: 14.48 MB / 350.1 MB Notification: Performance of FrontEnd: time 5.654e-05/0.00551, allocations: 19.98 kB / 482.8 MB, free: 14.46 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 (30) * Number of variables: 30 (30) Notification: Performance of Bindings: time 0.0007397/0.006256, allocations: 0.7323 MB / 483.6 MB, free: 13.63 MB / 350.1 MB Notification: Performance of FunctionAlias: time 3.281e-05/0.006295, allocations: 27.94 kB / 483.6 MB, free: 13.6 MB / 350.1 MB Notification: Performance of Early Inline: time 0.0002814/0.006583, allocations: 304.1 kB / 483.9 MB, free: 13.28 MB / 350.1 MB Notification: Performance of simplify1: time 3.124e-05/0.00662, allocations: 27.97 kB / 483.9 MB, free: 13.25 MB / 350.1 MB Notification: Performance of Alias: time 0.0007417/0.007367, allocations: 0.5732 MB / 484.5 MB, free: 12.59 MB / 350.1 MB Notification: Performance of simplify2: time 1.831e-05/0.007395, allocations: 20.17 kB / 484.5 MB, free: 12.57 MB / 350.1 MB Notification: Performance of Events: time 2.236e-05/0.007423, allocations: 15.98 kB / 484.5 MB, free: 12.55 MB / 350.1 MB Notification: Performance of Detect States: time 0.0001479/0.007576, allocations: 88.16 kB / 484.6 MB, free: 12.45 MB / 350.1 MB Notification: Performance of Partitioning: time 0.0001224/0.007706, allocations: 92.09 kB / 484.7 MB, free: 12.36 MB / 350.1 MB Notification: Performance of Causalize: time 0.0003822/0.008094, allocations: 346.8 kB / 485 MB, free: 12.01 MB / 350.1 MB Notification: Performance of After Index Reduction Inline: time 0.0001734/0.008276, allocations: 208.2 kB / 485.3 MB, free: 11.78 MB / 350.1 MB Notification: Performance of Inline: time 0.0002765/0.008558, allocations: 292.3 kB / 485.5 MB, free: 11.46 MB / 350.1 MB Notification: Performance of Partitioning: time 3.088e-05/0.008596, allocations: 32.11 kB / 485.6 MB, free: 11.42 MB / 350.1 MB Notification: Performance of Cleanup: time 1.664e-05/0.008618, allocations: 11.94 kB / 485.6 MB, free: 11.41 MB / 350.1 MB Notification: Performance of Causalize: time 0.0009036/0.009526, allocations: 0.7424 MB / 486.3 MB, free: 10.66 MB / 350.1 MB Notification: Performance of Tearing: time 7.293e-06/0.009544, allocations: 0 / 486.3 MB, free: 10.66 MB / 350.1 MB Notification: Performance of Initialization: time 3.51e-07/0.009551, allocations: 4 kB / 486.3 MB, free: 10.65 MB / 350.1 MB Notification: Performance of Tearing: time 1.102e-06/0.009557, allocations: 0 / 486.3 MB, free: 10.65 MB / 350.1 MB Notification: Performance of Categorize: time 7.715e-06/0.009569, allocations: 0 / 486.3 MB, free: 10.65 MB / 350.1 MB Notification: Performance of Solve: time 0.0001243/0.009698, allocations: 59.92 kB / 486.4 MB, free: 10.59 MB / 350.1 MB Notification: Performance of Jacobian: time 0.0002517/0.009971, allocations: 285.9 kB / 486.7 MB, free: 10.28 MB / 350.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: ............... 1 * 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.population, prey.population} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 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 (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: ........... 18 (scalar:18, 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 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 4.138e-05/0.01002, allocations: 26.41 kB / 486.7 MB, free: 10.26 MB / 350.1 MB Notification: Performance of SimCode: time 0.0008053/0.01083, allocations: 1.084 MB / 487.8 MB, free: 9.145 MB / 350.1 MB Notification: Performance of Templates: time 0.003034/0.01387, allocations: 0.7852 MB / 488.6 MB, free: 8.359 MB / 350.1 MB make -j1 -f Physiolibrary_Physiolibrary.Population.Examples.PredatorPrey.makefile (rm -f Physiolibrary_Physiolibrary.Population.Examples.PredatorPrey.pipe ; mkfifo Physiolibrary_Physiolibrary.Population.Examples.PredatorPrey.pipe ; head -c 1048576 < Physiolibrary_Physiolibrary.Population.Examples.PredatorPrey.pipe >> ../files/Physiolibrary_Physiolibrary.Population.Examples.PredatorPrey.sim & ./Physiolibrary_Physiolibrary.Population.Examples.PredatorPrey -abortSlowSimulation -alarm=480 -lv LOG_STATS > Physiolibrary_Physiolibrary.Population.Examples.PredatorPrey.pipe 2>&1)