Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr SystemDynamics_SystemDynamics.IndustrialDynamics.Inventory.InventoryForresterSinOneYear.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.IndustrialDynamics.Inventory.InventoryForresterSinOneYear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.IndustrialDynamics.Inventory.InventoryForresterSinOneYear") translateModel(SystemDynamics.IndustrialDynamics.Inventory.InventoryForresterSinOneYear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.IndustrialDynamics.Inventory.InventoryForresterSinOneYear") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001524/0.001524, allocations: 107.3 kB / 16.42 MB, free: 6.461 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.002111/0.002112, allocations: 190 kB / 17.36 MB, free: 5.691 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.499/1.499, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo): time 0.2385/0.2385, allocations: 28.78 MB / 320 MB, free: 1.902 MB / 254.1 MB Warning: Ignoring unknown experiment annotation option: Algorithm = "dassl" Notification: Performance of FrontEnd - Absyn->SCode: time 3.232e-05/3.267e-05, allocations: 2.281 kB / 444.9 MB, free: 2.672 MB / 318.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.IndustrialDynamics.Inventory.InventoryForresterSinOneYear): time 0.0142/0.01425, allocations: 11.73 MB / 456.6 MB, free: 6.871 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01013/0.02445, allocations: 3.639 MB / 460.3 MB, free: 3.219 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003956/0.02845, allocations: 55.75 kB / 460.3 MB, free: 3.164 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002421/0.0309, allocations: 0.5294 MB / 460.8 MB, free: 2.629 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003349/0.03432, allocations: 384 kB / 461.2 MB, free: 2.25 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00433/0.03868, allocations: 1.725 MB / 462.9 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.007438/0.04614, allocations: 4.657 MB / 467.6 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00556/0.05173, allocations: 2.959 MB / 470.6 MB, free: 8.816 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002128/0.05388, allocations: 1.412 MB / 472 MB, free: 7.398 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001844/0.05574, allocations: 1.554 MB / 473.5 MB, free: 5.836 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001359/0.05712, allocations: 0.543 MB / 474.1 MB, free: 5.293 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001087/0.05822, allocations: 0.5469 MB / 474.6 MB, free: 4.746 MB / 350.1 MB Notification: Performance of combineBinaries: time 0.004786/0.06302, allocations: 5.85 MB / 480.5 MB, free: 14.82 MB / 366.1 MB Notification: Performance of replaceArrayConstructors: time 0.002668/0.06571, allocations: 3.796 MB / 484.3 MB, free: 10.96 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001517/0.06724, allocations: 0.6891 MB / 484.9 MB, free: 10.27 MB / 366.1 MB Notification: Performance of FrontEnd: time 0.001105/0.06836, allocations: 372.7 kB / 485.3 MB, free: 9.906 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 946 (946) * Number of variables: 946 (946) Notification: Performance of Bindings: time 0.0172/0.08556, allocations: 19.31 MB / 0.4928 GB, free: 6.227 MB / 382.1 MB Notification: Performance of FunctionAlias: time 0.00109/0.08667, allocations: 0.9409 MB / 0.4937 GB, free: 5.277 MB / 382.1 MB Notification: Performance of Early Inline: time 0.01084/0.09752, allocations: 9.998 MB / 0.5035 GB, free: 11.2 MB / 398.1 MB Notification: Performance of simplify1: time 0.0008067/0.09835, allocations: 0.5812 MB / 0.504 GB, free: 10.62 MB / 398.1 MB Notification: Performance of Alias: time 0.3176/0.416, allocations: 30.61 MB / 0.5339 GB, free: 45.54 MB / 398.1 MB Notification: Performance of simplify2: time 0.0006343/0.4167, allocations: 209.2 kB / 0.5341 GB, free: 45.54 MB / 398.1 MB Notification: Performance of Events: time 0.000666/0.4173, allocations: 0.5509 MB / 0.5347 GB, free: 45.47 MB / 398.1 MB Notification: Performance of Detect States: time 0.001117/0.4185, allocations: 1.134 MB / 0.5358 GB, free: 45.34 MB / 398.1 MB Notification: Performance of Partitioning: time 0.001304/0.4198, allocations: 1.097 MB / 0.5369 GB, free: 45.2 MB / 398.1 MB Notification: Performance of Causalize: time 0.004666/0.4244, allocations: 3.731 MB / 0.5405 GB, free: 44.29 MB / 398.1 MB Notification: Performance of After Index Reduction Inline: time 0.002922/0.4274, allocations: 2.746 MB / 0.5432 GB, free: 43.81 MB / 398.1 MB Notification: Performance of Inline: time 0.006823/0.4342, allocations: 6.35 MB / 0.5494 GB, free: 39.91 MB / 398.1 MB Notification: Performance of Partitioning: time 0.0006471/0.4349, allocations: 380.1 kB / 0.5497 GB, free: 39.66 MB / 398.1 MB Notification: Performance of Cleanup: time 0.0004006/0.4353, allocations: 222.6 kB / 0.55 GB, free: 39.52 MB / 398.1 MB Notification: Performance of Causalize: time 0.01078/0.4461, allocations: 9.634 MB / 0.5594 GB, free: 31.77 MB / 398.1 MB Notification: Performance of Tearing: time 2.184e-05/0.4462, allocations: 0 / 0.5594 GB, free: 31.77 MB / 398.1 MB Notification: Performance of Initialization: time 1.532e-06/0.4462, allocations: 4 kB / 0.5594 GB, free: 31.76 MB / 398.1 MB Notification: Performance of Tearing: time 1.919e-05/0.4462, allocations: 4 kB / 0.5594 GB, free: 31.76 MB / 398.1 MB Notification: Performance of Categorize: time 2.733e-05/0.4462, allocations: 7.719 kB / 0.5594 GB, free: 31.75 MB / 398.1 MB Notification: Performance of Solve: time 0.001637/0.4479, allocations: 0.9575 MB / 0.5603 GB, free: 30.92 MB / 398.1 MB Notification: Performance of Jacobian: time 0.00171/0.4496, allocations: 1.98 MB / 0.5622 GB, free: 28.95 MB / 398.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: ............................. 33 (33) {factoryStock, Distribution1.LAD.UOF, Factory1.SRF_delayed.Level1.level, Factory1.Order_Delay.Level1.level, Factory1.Order_Delay.Level2.level, Factory1.Order_Delay.Level3.level, Factory1.Production_Delay.Level1.level, Factory1.Production_Delay.Level2.level, Factory1.Production_Delay.Level3.level, distributionStock, Retail1.LAR.UOF, Distribution1.RSD_delayed.Level1.level, Distribution1.Transporation_Delay.Level1.level, Distribution1.Transporation_Delay.Level2.level, Distribution1.Transporation_Delay.Level3.level, Distribution1.Order_Delay.Level1.level, Distribution1.Order_Delay.Level2.level, Distribution1.Order_Delay.Level3.level, Distribution1.Mail_Delay.Level1.level, Distribution1.Mail_Delay.Level2.level, Distribution1.Mail_Delay.Level3.level, retailStock, Retail1.PDR1.UOD, Retail1.RSR_delayed.Level1.level, Retail1.Transporation_Delay.Level1.level, Retail1.Transporation_Delay.Level2.level, Retail1.Transporation_Delay.Level3.level, Retail1.Order_Delay.Level1.level, Retail1.Order_Delay.Level2.level, Retail1.Order_Delay.Level3.level, Retail1.Mail_Delay.Level1.level, Retail1.Mail_Delay.Level2.level, Retail1.Mail_Delay.Level3.level} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 5 (5) {$SEV_3, $SEV_2, $SEV_1, $SEV_0, $TEV_0} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 136 (scalar:136, 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: ........... 322 (scalar:322, 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 0.0001213/0.4497, allocations: 104.8 kB / 0.5623 GB, free: 28.9 MB / 398.1 MB Notification: Performance of SimCode: time 0.008541/0.4583, allocations: 11.35 MB / 0.5734 GB, free: 18.18 MB / 398.1 MB Notification: Performance of Templates: time 0.02257/0.4809, allocations: 11.19 MB / 0.5844 GB, free: 7.016 MB / 398.1 MB make -j1 -f SystemDynamics_SystemDynamics.IndustrialDynamics.Inventory.InventoryForresterSinOneYear.makefile (rm -f SystemDynamics_SystemDynamics.IndustrialDynamics.Inventory.InventoryForresterSinOneYear.pipe ; mkfifo SystemDynamics_SystemDynamics.IndustrialDynamics.Inventory.InventoryForresterSinOneYear.pipe ; head -c 1048576 < SystemDynamics_SystemDynamics.IndustrialDynamics.Inventory.InventoryForresterSinOneYear.pipe >> ../files/SystemDynamics_SystemDynamics.IndustrialDynamics.Inventory.InventoryForresterSinOneYear.sim & ./SystemDynamics_SystemDynamics.IndustrialDynamics.Inventory.InventoryForresterSinOneYear -abortSlowSimulation -alarm=480 -lv LOG_STATS > SystemDynamics_SystemDynamics.IndustrialDynamics.Inventory.InventoryForresterSinOneYear.pipe 2>&1)