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.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.001706/0.001706, allocations: 104.3 kB / 19.76 MB, free: 1.906 MB / 14.72 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.001818/0.001818, allocations: 213.8 kB / 23.06 MB, free: 4.984 MB / 14.72 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.71/1.71, allocations: 230.7 MB / 256.9 MB, free: 7.723 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics master/package.mo): time 0.2324/0.2324, allocations: 29.23 MB / 342.5 MB, free: 5.555 MB / 270.1 MB " [Timeout remaining time 179] Using package SystemDynamics with version 2.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics master/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(SystemDynamics.IntroductoryExamples.Sugar_Cane,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.IntroductoryExamples.Sugar_Cane") translateModel(SystemDynamics.IntroductoryExamples.Sugar_Cane,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.IntroductoryExamples.Sugar_Cane") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 3.064e-05/3.064e-05, allocations: 5.094 kB / 479.6 MB, free: 15.94 MB / 350.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.IntroductoryExamples.Sugar_Cane): time 0.003403/0.003434, allocations: 1.841 MB / 481.4 MB, free: 14.09 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008569/0.004291, allocations: 326.7 kB / 481.8 MB, free: 13.77 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002434/0.004534, allocations: 7.938 kB / 481.8 MB, free: 13.76 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002559/0.00479, allocations: 67.25 kB / 481.8 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001525/0.004943, allocations: 35.5 kB / 481.9 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003783/0.005321, allocations: 167.8 kB / 482 MB, free: 13.5 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006033/0.005924, allocations: 0.4964 MB / 482.5 MB, free: 13 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004213/0.006346, allocations: 235.5 kB / 482.8 MB, free: 12.76 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002011/0.006547, allocations: 167.3 kB / 482.9 MB, free: 12.6 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001845/0.006731, allocations: 158.9 kB / 483.1 MB, free: 12.44 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.546e-05/0.006797, allocations: 47.94 kB / 483.1 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.665e-05/0.006853, allocations: 44 kB / 483.2 MB, free: 12.35 MB / 350.1 MB Notification: Performance of combineBinaries: time 0.0006832/0.007537, allocations: 0.8689 MB / 484 MB, free: 11.47 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 0.0004589/0.007995, allocations: 0.6049 MB / 484.6 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.695e-05/0.008082, allocations: 28 kB / 484.7 MB, free: 10.83 MB / 350.1 MB Notification: Performance of FrontEnd: time 0.0001437/0.008226, allocations: 51.48 kB / 484.7 MB, free: 10.78 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: 131 (131) * Number of variables: 131 (131) Notification: Performance of [SIM] Bindings: time 0.002669/0.01089, allocations: 2.166 MB / 486.9 MB, free: 8.453 MB / 350.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0002874/0.01118, allocations: 233 kB / 487.1 MB, free: 8.215 MB / 350.1 MB Notification: Performance of [SIM] Early Inline: time 0.001165/0.01235, allocations: 1.027 MB / 488.1 MB, free: 7.152 MB / 350.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0004694/0.01282, allocations: 228.4 kB / 488.4 MB, free: 6.863 MB / 350.1 MB Notification: Performance of [SIM] Alias: time 0.004314/0.01713, allocations: 2.788 MB / 491.2 MB, free: 3.781 MB / 350.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0001663/0.0173, allocations: 116.6 kB / 491.3 MB, free: 3.621 MB / 350.1 MB Notification: Performance of [SIM] Remove Stream: time 7.354e-05/0.01737, allocations: 64.39 kB / 491.3 MB, free: 3.531 MB / 350.1 MB Notification: Performance of [SIM] Detect States: time 0.000291/0.01766, allocations: 164.6 kB / 491.5 MB, free: 3.316 MB / 350.1 MB Notification: Performance of [SIM] Events: time 4.057e-05/0.0177, allocations: 15.98 kB / 491.5 MB, free: 3.301 MB / 350.1 MB Notification: Performance of [SIM] Partitioning: time 0.0002438/0.01795, allocations: 154.6 kB / 491.7 MB, free: 3.145 MB / 350.1 MB Notification: Performance of [SIM] Causalize: time 0.0004269/0.01837, allocations: 248.9 kB / 491.9 MB, free: 2.898 MB / 350.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0002917/0.01866, allocations: 263.8 kB / 492.2 MB, free: 2.641 MB / 350.1 MB Notification: Performance of [INI] Simplify: time 0.0007955/0.01946, allocations: 0.4948 MB / 492.7 MB, free: 2.07 MB / 350.1 MB Notification: Performance of [INI] Inline: time 0.0006085/0.02007, allocations: 0.5491 MB / 493.2 MB, free: 1.52 MB / 350.1 MB Notification: Performance of [INI] Partitioning: time 5.202e-05/0.02012, allocations: 34.67 kB / 493.2 MB, free: 1.477 MB / 350.1 MB Notification: Performance of [INI] Cleanup: time 9.466e-05/0.02021, allocations: 91.91 kB / 493.3 MB, free: 1.387 MB / 350.1 MB Notification: Performance of [INI] Causalize: time 0.001106/0.02132, allocations: 0.7406 MB / 494.1 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of [INI] Tearing: time 3.39e-05/0.02135, allocations: 32 kB / 494.1 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of [SIM] Initialization: time 3.086e-06/0.02136, allocations: 4 kB / 494.1 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.0002044/0.02156, allocations: 108 kB / 494.2 MB, free: 496 kB / 350.1 MB Notification: Performance of [SIM] Remove Dummies: time 1.402e-05/0.02158, allocations: 15.95 kB / 494.2 MB, free: 480 kB / 350.1 MB Notification: Performance of [SIM] Tearing: time 1.199e-05/0.02159, allocations: 16 kB / 494.2 MB, free: 464 kB / 350.1 MB Notification: Performance of [SIM] Categorize: time 9.839e-06/0.0216, allocations: 0 / 494.2 MB, free: 464 kB / 350.1 MB Notification: Performance of [SIM] Solve: time 0.0006529/0.02225, allocations: 490 kB / 494.7 MB, free: 15.98 MB / 366.1 MB Notification: Performance of [SIM] Jacobian: time 0.0002774/0.02253, allocations: 253.9 kB / 495 MB, free: 15.7 MB / 366.1 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: ............................. 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) {} * 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: ........... 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 (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: ........... 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 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 6.799e-05/0.0226, allocations: 39.48 kB / 495 MB, free: 15.66 MB / 366.1 MB Notification: Performance of SimCode: time 0.00171/0.02431, allocations: 1.21 MB / 496.2 MB, free: 14.42 MB / 366.1 MB Notification: Performance of Templates: time 0.00648/0.03079, allocations: 2.11 MB / 498.3 MB, free: 12.3 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f SystemDynamics_SystemDynamics.IntroductoryExamples.Sugar_Cane.makefile [Timeout 660] (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) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.230260804994032] Failed to read output from testmodel.py, exit status != 0: 0.040476188994944096 0.05823264 0.046063791 Calling exit ...