Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr SystemDynamics_SystemDynamics.IntroductoryExamples.Sugar_Cane.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/SystemDynamics 2.1.2-master/package.mo", uses=false) Using package SystemDynamics with version 2.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/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(SystemDynamics.IntroductoryExamples.Sugar_Cane,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.IntroductoryExamples.Sugar_Cane") translateModel(SystemDynamics.IntroductoryExamples.Sugar_Cane,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.IntroductoryExamples.Sugar_Cane") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001654/0.001654, allocations: 109.1 kB / 16.43 MB, free: 6.496 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.001903/0.001904, allocations: 188.3 kB / 17.35 MB, free: 5.754 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.506/1.506, allocations: 222.9 MB / 241 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo): time 0.2595/0.2595, allocations: 28.78 MB / 320 MB, free: 1.926 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.734e-05/2.735e-05, allocations: 2.281 kB / 444.9 MB, free: 2.676 MB / 318.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.IntroductoryExamples.Sugar_Cane): time 0.003736/0.003779, allocations: 2.115 MB / 447 MB, free: 0.5547 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007819/0.004576, allocations: 330.7 kB / 447.3 MB, free: 236 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002229/0.00481, allocations: 4 kB / 447.3 MB, free: 232 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002813/0.005098, allocations: 75.19 kB / 447.4 MB, free: 156 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001346/0.00524, allocations: 39.48 kB / 447.4 MB, free: 116 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003826/0.00564, allocations: 163.9 kB / 447.6 MB, free: 15.95 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005245/0.006174, allocations: 460.4 kB / 448 MB, free: 15.5 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005893/0.006772, allocations: 343 kB / 448.4 MB, free: 15.15 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000142/0.006925, allocations: 155.2 kB / 448.5 MB, free: 15 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000155/0.007088, allocations: 183 kB / 448.7 MB, free: 14.82 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.037e-05/0.007164, allocations: 44 kB / 448.8 MB, free: 14.77 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.47e-05/0.007214, allocations: 40 kB / 448.8 MB, free: 14.73 MB / 334.1 MB Notification: Performance of combineBinaries: time 0.0006003/0.007822, allocations: 0.7289 MB / 449.5 MB, free: 14 MB / 334.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002744/0.008103, allocations: 0.4884 MB / 450 MB, free: 13.5 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.045e-05/0.00819, allocations: 75.69 kB / 450.1 MB, free: 13.43 MB / 334.1 MB Notification: Performance of FrontEnd: time 0.0001025/0.008299, allocations: 43.56 kB / 450.1 MB, free: 13.38 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 131 (131) * Number of variables: 131 (131) Notification: Performance of Bindings: time 0.00217/0.01047, allocations: 2.26 MB / 452.4 MB, free: 10.99 MB / 334.1 MB Notification: Performance of FunctionAlias: time 0.0001044/0.01059, allocations: 87.91 kB / 452.5 MB, free: 10.9 MB / 334.1 MB Notification: Performance of Early Inline: time 0.001033/0.01163, allocations: 1.034 MB / 453.5 MB, free: 9.832 MB / 334.1 MB Notification: Performance of simplify1: time 0.0001099/0.01175, allocations: 91.86 kB / 453.6 MB, free: 9.742 MB / 334.1 MB Notification: Performance of Alias: time 0.004335/0.01609, allocations: 3.205 MB / 456.8 MB, free: 6.254 MB / 334.1 MB Notification: Performance of simplify2: time 3.351e-05/0.01614, allocations: 31.95 kB / 456.8 MB, free: 6.223 MB / 334.1 MB Notification: Performance of Events: time 3.631e-05/0.01618, allocations: 31.91 kB / 456.9 MB, free: 6.191 MB / 334.1 MB Notification: Performance of Detect States: time 0.000223/0.01641, allocations: 132.5 kB / 457 MB, free: 6.047 MB / 334.1 MB Notification: Performance of Partitioning: time 0.0001421/0.01656, allocations: 111.3 kB / 457.1 MB, free: 5.934 MB / 334.1 MB Notification: Performance of Causalize: time 0.0004797/0.01706, allocations: 381.4 kB / 457.5 MB, free: 5.551 MB / 334.1 MB Notification: Performance of After Index Reduction Inline: time 0.0002686/0.01734, allocations: 296.2 kB / 457.8 MB, free: 5.234 MB / 334.1 MB Notification: Performance of Inline: time 0.0009662/0.01831, allocations: 0.8884 MB / 458.7 MB, free: 4.305 MB / 334.1 MB Notification: Performance of Partitioning: time 6.263e-05/0.01839, allocations: 58.36 kB / 458.7 MB, free: 4.242 MB / 334.1 MB Notification: Performance of Cleanup: time 2.42e-05/0.01842, allocations: 27.91 kB / 458.7 MB, free: 4.215 MB / 334.1 MB Notification: Performance of Causalize: time 0.001498/0.01992, allocations: 1.057 MB / 459.8 MB, free: 3.148 MB / 334.1 MB Notification: Performance of Tearing: time 1.404e-05/0.01995, allocations: 0 / 459.8 MB, free: 3.148 MB / 334.1 MB Notification: Performance of Initialization: time 2.756e-06/0.01996, allocations: 4 kB / 459.8 MB, free: 3.145 MB / 334.1 MB Notification: Performance of Tearing: time 3.576e-06/0.01997, allocations: 0 / 459.8 MB, free: 3.145 MB / 334.1 MB Notification: Performance of Categorize: time 1.089e-05/0.01998, allocations: 0 / 459.8 MB, free: 3.145 MB / 334.1 MB Notification: Performance of Solve: time 0.0002083/0.02019, allocations: 138.1 kB / 459.9 MB, free: 3.012 MB / 334.1 MB Notification: Performance of Jacobian: time 0.0003571/0.02056, allocations: 334 kB / 460.3 MB, free: 2.648 MB / 334.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: ............................. 4 (4) {Sucrose_Inside.level, Sucrose_Outside.level, Water_Outside.level, Water_Inside.level} * 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: ........... 19 (scalar:19, 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: ........... 61 (scalar:61, 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 7.614e-05/0.02064, allocations: 36.86 kB / 460.3 MB, free: 2.617 MB / 334.1 MB Notification: Performance of SimCode: time 0.001764/0.02241, allocations: 1.721 MB / 462 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of Templates: time 0.005193/0.02761, allocations: 1.546 MB / 463.6 MB, free: 15.31 MB / 350.1 MB make -j1 -f SystemDynamics_SystemDynamics.IntroductoryExamples.Sugar_Cane.makefile (rm -f SystemDynamics_SystemDynamics.IntroductoryExamples.Sugar_Cane.pipe ; mkfifo SystemDynamics_SystemDynamics.IntroductoryExamples.Sugar_Cane.pipe ; head -c 1048576 < SystemDynamics_SystemDynamics.IntroductoryExamples.Sugar_Cane.pipe >> ../files/SystemDynamics_SystemDynamics.IntroductoryExamples.Sugar_Cane.sim & ./SystemDynamics_SystemDynamics.IntroductoryExamples.Sugar_Cane -abortSlowSimulation -alarm=480 -lv LOG_STATS > SystemDynamics_SystemDynamics.IntroductoryExamples.Sugar_Cane.pipe 2>&1)