Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr SystemDynamics_SystemDynamics.IndustrialDynamics.Inventory.InventoryForresterSinOneYear.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.1-master/package.mo", uses=false) Using package SystemDynamics with version 2.1.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001443/0.001443, allocations: 174 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.086/2.086, allocations: 205.3 MB / 213.4 MB, free: 13.7 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001097/0.001097, allocations: 95.33 kB / 261.4 MB, free: 13.43 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.1-master/package.mo): time 0.2359/0.2359, allocations: 28.83 MB / 338.2 MB, free: 0.5078 MB / 282.7 MB Warning: Ignoring unknown experiment annotation option: Algorithm = "dassl" Notification: Performance of FrontEnd - loaded program: time 1.918e-05/1.928e-05, allocations: 0 / 399 MB, free: 56.84 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1028/0.1028, allocations: 54.65 MB / 453.7 MB, free: 2.109 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4651/0.568, allocations: 81.03 MB / 0.5222 GB, free: 14.36 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002484/0.5683, allocations: 63.16 kB / 0.5223 GB, free: 14.33 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1989/0.7672, allocations: 49.5 MB / 0.5706 GB, free: 13.77 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.745e-06/0.7673, allocations: 0 / 0.5706 GB, free: 13.77 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.000439/0.7677, allocations: 96.14 kB / 0.5707 GB, free: 13.68 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 946 * Number of variables: 946 Notification: Performance of Generate backend data structure: time 0.01045/0.7782, allocations: 2.736 MB / 0.5734 GB, free: 10.88 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.142e-05/0.7783, allocations: 15.97 kB / 0.5734 GB, free: 10.87 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001798/0.7801, allocations: 414.9 kB / 0.5738 GB, free: 10.46 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007073/0.7872, allocations: 2.018 MB / 0.5757 GB, free: 8.387 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002957/0.7876, allocations: 124 kB / 0.5759 GB, free: 8.266 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001038/0.7886, allocations: 231.9 kB / 0.5761 GB, free: 8.039 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009324/0.798, allocations: 1.874 MB / 0.5779 GB, free: 6.164 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009742/0.8078, allocations: 2.964 MB / 0.5808 GB, free: 2.973 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.86e-05/0.8079, allocations: 7.938 kB / 0.5808 GB, free: 2.965 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000308/0.8082, allocations: 12 kB / 0.5808 GB, free: 2.953 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001077/0.8084, allocations: 95.98 kB / 0.5809 GB, free: 2.859 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02502/0.8334, allocations: 13.88 MB / 0.5945 GB, free: 4.664 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00361/0.8371, allocations: 1.233 MB / 0.5957 GB, free: 3.43 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001262/0.8384, allocations: 0.5465 MB / 0.5962 GB, free: 2.883 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001133/0.8385, allocations: 13.31 kB / 0.5962 GB, free: 2.867 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.154e-05/0.8386, allocations: 47.88 kB / 0.5963 GB, free: 2.812 MB / 426.7 MB Notification: Performance of pre-optimization done (n=133): time 4.628e-06/0.8386, allocations: 0 / 0.5963 GB, free: 2.812 MB / 426.7 MB Notification: Performance of matching and sorting (n=133): time 0.00312/0.8417, allocations: 1.157 MB / 0.5974 GB, free: 1.641 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.668e-05/0.8418, allocations: 76.64 kB / 0.5975 GB, free: 1.555 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002745/0.8446, allocations: 1.192 MB / 0.5986 GB, free: 372 kB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002462/0.8448, allocations: 25.7 kB / 0.5987 GB, free: 340 kB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001566/0.8464, allocations: 1.583 MB / 0.6002 GB, free: 14.73 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006858/0.8471, allocations: 472.9 kB / 0.6007 GB, free: 14.26 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001094/0.8472, allocations: 0 / 0.6007 GB, free: 14.26 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002027/0.8474, allocations: 382.1 kB / 0.601 GB, free: 13.88 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001409/0.8489, allocations: 0.5117 MB / 0.6015 GB, free: 13.37 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00174/0.8506, allocations: 0.9775 MB / 0.6025 GB, free: 12.18 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001673/0.8523, allocations: 0.6816 MB / 0.6031 GB, free: 11.51 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.652e-05/0.8523, allocations: 4 kB / 0.6031 GB, free: 11.5 MB / 442.7 MB Notification: Performance of matching and sorting (n=232) (initialization): time 0.004421/0.8568, allocations: 1.683 MB / 0.6048 GB, free: 9.812 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.776e-05/0.8569, allocations: 16.03 kB / 0.6048 GB, free: 9.797 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.092e-05/0.8569, allocations: 16 kB / 0.6048 GB, free: 9.781 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.731e-05/0.857, allocations: 24 kB / 0.6048 GB, free: 9.758 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002733/0.8597, allocations: 351.4 kB / 0.6052 GB, free: 9.414 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.372e-05/0.8598, allocations: 35.86 kB / 0.6052 GB, free: 9.379 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001674/0.8615, allocations: 114.6 kB / 0.6053 GB, free: 9.266 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002089/0.8617, allocations: 72 kB / 0.6054 GB, free: 9.195 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 67 * Number of states: 0 () * Number of discrete variables: 33 (Retail1.Mail_Delay.Level3.Integrator1.local_reset,Retail1.Mail_Delay.Level2.Integrator1.local_reset,Retail1.Mail_Delay.Level1.Integrator1.local_reset,Retail1.Order_Delay.Level3.Integrator1.local_reset,Retail1.Order_Delay.Level2.Integrator1.local_reset,Retail1.Order_Delay.Level1.Integrator1.local_reset,Retail1.Transporation_Delay.Level3.Integrator1.local_reset,Retail1.Transporation_Delay.Level2.Integrator1.local_reset,Retail1.Transporation_Delay.Level1.Integrator1.local_reset,Retail1.RSR_delayed.Level1.Integrator1.local_reset,Retail1.UOR.Integrator1.local_reset,Retail1.IAR.Integrator1.local_reset,Distribution1.Mail_Delay.Level3.Integrator1.local_reset,Distribution1.Mail_Delay.Level2.Integrator1.local_reset,Distribution1.Mail_Delay.Level1.Integrator1.local_reset,Distribution1.Order_Delay.Level3.Integrator1.local_reset,Distribution1.Order_Delay.Level2.Integrator1.local_reset,Distribution1.Order_Delay.Level1.Integrator1.local_reset,Distribution1.Transporation_Delay.Level3.Integrator1.local_reset,Distribution1.Transporation_Delay.Level2.Integrator1.local_reset,Distribution1.Transporation_Delay.Level1.Integrator1.local_reset,Distribution1.RSD_delayed.Level1.Integrator1.local_reset,Distribution1.UOD.Integrator1.local_reset,Distribution1.IAD.Integrator1.local_reset,Factory1.Production_Delay.Level3.Integrator1.local_reset,Factory1.Production_Delay.Level2.Integrator1.local_reset,Factory1.Production_Delay.Level1.Integrator1.local_reset,Factory1.Order_Delay.Level3.Integrator1.local_reset,Factory1.Order_Delay.Level2.Integrator1.local_reset,Factory1.Order_Delay.Level1.Integrator1.local_reset,Factory1.SRF_delayed.Level1.Integrator1.local_reset,Factory1.UOF.Integrator1.local_reset,Factory1.IAF.Integrator1.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (232): * Single equations (assignments): 232 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004234/0.8621, allocations: 180.4 kB / 0.6056 GB, free: 9.016 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005273/0.8627, allocations: 173.8 kB / 0.6057 GB, free: 8.844 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006051/0.8633, allocations: 194.7 kB / 0.6059 GB, free: 8.648 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-05/0.8633, allocations: 12 kB / 0.6059 GB, free: 8.637 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.208e-05/0.8633, allocations: 0 / 0.6059 GB, free: 8.637 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.955e-05/0.8634, allocations: 7.969 kB / 0.6059 GB, free: 8.629 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008227/0.8716, allocations: 3.389 MB / 0.6092 GB, free: 5.188 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.345e-06/0.8717, allocations: 4 kB / 0.6092 GB, free: 5.184 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002554/0.8742, allocations: 227.7 kB / 0.6095 GB, free: 4.961 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.291e-05/0.8743, allocations: 7.984 kB / 0.6095 GB, free: 4.953 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001515/0.8744, allocations: 20 kB / 0.6095 GB, free: 4.934 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.078e-05/0.8745, allocations: 4 kB / 0.6095 GB, free: 4.93 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/0.8745, allocations: 0 / 0.6095 GB, free: 4.93 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004711/0.8792, allocations: 1.964 MB / 0.6114 GB, free: 2.949 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000708/0.88, allocations: 278.5 kB / 0.6117 GB, free: 2.656 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002856/0.8803, allocations: 12 kB / 0.6117 GB, free: 2.645 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001114/0.8814, allocations: 15.98 kB / 0.6117 GB, free: 2.629 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002327/0.8816, allocations: 77.19 kB / 0.6118 GB, free: 2.551 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001072/0.8818, allocations: 28 kB / 0.6118 GB, free: 2.523 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002035/0.8838, allocations: 0.8784 MB / 0.6127 GB, free: 1.652 MB / 442.7 MB Notification: Performance of sort global known variables: time 6.91e-07/0.8838, allocations: 4 kB / 0.6127 GB, free: 1.648 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002398/0.8862, allocations: 0.5775 MB / 0.6132 GB, free: 1.066 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 33 (Factory1.IAF.Integrator1.y,Factory1.UOF.Integrator1.y,Factory1.SRF_delayed.Level1.Integrator1.y,Factory1.Order_Delay.Level1.Integrator1.y,Factory1.Order_Delay.Level2.Integrator1.y,Factory1.Order_Delay.Level3.Integrator1.y,Factory1.Production_Delay.Level1.Integrator1.y,Factory1.Production_Delay.Level2.Integrator1.y,Factory1.Production_Delay.Level3.Integrator1.y,Distribution1.IAD.Integrator1.y,Distribution1.UOD.Integrator1.y,Distribution1.RSD_delayed.Level1.Integrator1.y,Distribution1.Transporation_Delay.Level1.Integrator1.y,Distribution1.Transporation_Delay.Level2.Integrator1.y,Distribution1.Transporation_Delay.Level3.Integrator1.y,Distribution1.Order_Delay.Level1.Integrator1.y,Distribution1.Order_Delay.Level2.Integrator1.y,Distribution1.Order_Delay.Level3.Integrator1.y,Distribution1.Mail_Delay.Level1.Integrator1.y,Distribution1.Mail_Delay.Level2.Integrator1.y,Distribution1.Mail_Delay.Level3.Integrator1.y,Retail1.IAR.Integrator1.y,Retail1.UOR.Integrator1.y,Retail1.RSR_delayed.Level1.Integrator1.y,Retail1.Transporation_Delay.Level1.Integrator1.y,Retail1.Transporation_Delay.Level2.Integrator1.y,Retail1.Transporation_Delay.Level3.Integrator1.y,Retail1.Order_Delay.Level1.Integrator1.y,Retail1.Order_Delay.Level2.Integrator1.y,Retail1.Order_Delay.Level3.Integrator1.y,Retail1.Mail_Delay.Level1.Integrator1.y,Retail1.Mail_Delay.Level2.Integrator1.y,Retail1.Mail_Delay.Level3.Integrator1.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (133): * Single equations (assignments): 133 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003484/0.8866, allocations: 131.1 kB / 0.6134 GB, free: 0.9297 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003229/0.8899, allocations: 1.284 MB / 0.6146 GB, free: 15.65 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.8899, allocations: 0 / 0.6146 GB, free: 15.65 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001373/0.8913, allocations: 0.6046 MB / 0.6152 GB, free: 15.05 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002068/0.8934, allocations: 265.7 kB / 0.6154 GB, free: 14.79 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01041/0.9038, allocations: 3.865 MB / 0.6192 GB, free: 10.88 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00215/0.906, allocations: 1.842 MB / 0.621 GB, free: 9.004 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001487/0.9075, allocations: 180.5 kB / 0.6212 GB, free: 8.824 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005837/0.9081, allocations: 103.4 kB / 0.6213 GB, free: 8.723 MB / 458.7 MB Notification: Performance of SimCode: time 1.132e-06/0.9081, allocations: 0 / 0.6213 GB, free: 8.723 MB / 458.7 MB Notification: Performance of Templates: time 0.3607/1.269, allocations: 13.2 MB / 0.6342 GB, free: 112 MB / 458.7 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)