Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr SystemDynamics_SystemDynamics.IndustrialDynamics.Inventory.InventoryForresterStep.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.InventoryForresterStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.IndustrialDynamics.Inventory.InventoryForresterStep") translateModel(SystemDynamics.IndustrialDynamics.Inventory.InventoryForresterStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.IndustrialDynamics.Inventory.InventoryForresterStep") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002181/0.002181, 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.047/2.047, 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.001095/0.001094, allocations: 90.27 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.2345/0.2345, allocations: 28.84 MB / 338.2 MB, free: 0.4922 MB / 282.7 MB Warning: Ignoring unknown experiment annotation option: Algorithm = "dassl" Notification: Performance of FrontEnd - loaded program: time 1.984e-05/1.982e-05, allocations: 0 / 399 MB, free: 56.85 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1048/0.1048, allocations: 54.65 MB / 453.7 MB, free: 2.117 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4334/0.5383, allocations: 80.39 MB / 0.5216 GB, free: 14.99 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002404/0.5386, allocations: 66.59 kB / 0.5216 GB, free: 14.96 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1821/0.7207, allocations: 49.25 MB / 0.5697 GB, free: 14.68 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.915e-06/0.7208, allocations: 224 / 0.5697 GB, free: 14.68 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003711/0.7212, allocations: 95.92 kB / 0.5698 GB, free: 14.59 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.008078/0.7293, allocations: 2.74 MB / 0.5725 GB, free: 11.79 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.169e-05/0.7294, allocations: 8.031 kB / 0.5725 GB, free: 11.78 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001561/0.7309, allocations: 414.9 kB / 0.5729 GB, free: 11.37 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005259/0.7362, allocations: 2.021 MB / 0.5749 GB, free: 9.293 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001967/0.7365, allocations: 120 kB / 0.575 GB, free: 9.176 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008018/0.7373, allocations: 235.9 kB / 0.5752 GB, free: 8.945 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006838/0.7441, allocations: 1.87 MB / 0.577 GB, free: 7.074 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01017/0.7544, allocations: 2.968 MB / 0.5799 GB, free: 3.879 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.838e-05/0.7545, allocations: 11.94 kB / 0.5799 GB, free: 3.867 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003443/0.7549, allocations: 4 kB / 0.5799 GB, free: 3.863 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001104/0.755, allocations: 96 kB / 0.58 GB, free: 3.77 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02754/0.7826, allocations: 13.87 MB / 0.5936 GB, free: 5.578 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00402/0.7866, allocations: 1.237 MB / 0.5948 GB, free: 4.336 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001384/0.7881, allocations: 0.5426 MB / 0.5953 GB, free: 3.793 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001011/0.7882, allocations: 17.31 kB / 0.5953 GB, free: 3.777 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.011e-05/0.7882, allocations: 47.88 kB / 0.5954 GB, free: 3.723 MB / 426.7 MB Notification: Performance of pre-optimization done (n=133): time 4.278e-06/0.7883, allocations: 0 / 0.5954 GB, free: 3.723 MB / 426.7 MB Notification: Performance of matching and sorting (n=133): time 0.003389/0.7917, allocations: 1.15 MB / 0.5965 GB, free: 2.559 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.521e-05/0.7918, allocations: 72.67 kB / 0.5966 GB, free: 2.473 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003215/0.795, allocations: 1.195 MB / 0.5977 GB, free: 1.277 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003314/0.7954, allocations: 25.7 kB / 0.5978 GB, free: 1.246 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001876/0.7973, allocations: 1.575 MB / 0.5993 GB, free: 15.65 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009078/0.7982, allocations: 472.9 kB / 0.5998 GB, free: 15.18 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000145/0.7984, allocations: 4 kB / 0.5998 GB, free: 15.18 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002036/0.7986, allocations: 373.9 kB / 0.6001 GB, free: 14.8 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001705/0.8003, allocations: 0.5078 MB / 0.6006 GB, free: 14.3 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002363/0.8027, allocations: 0.9854 MB / 0.6016 GB, free: 13.11 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001915/0.8047, allocations: 0.6739 MB / 0.6022 GB, free: 12.44 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.631e-05/0.8048, allocations: 4 kB / 0.6022 GB, free: 12.43 MB / 442.7 MB Notification: Performance of matching and sorting (n=232) (initialization): time 0.004832/0.8096, allocations: 1.683 MB / 0.6039 GB, free: 10.74 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.188e-05/0.8097, allocations: 15.98 kB / 0.6039 GB, free: 10.73 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.87e-05/0.8098, allocations: 16 kB / 0.6039 GB, free: 10.71 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.737e-05/0.8098, allocations: 24 kB / 0.6039 GB, free: 10.69 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002911/0.8128, allocations: 351.4 kB / 0.6043 GB, free: 10.34 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-05/0.8129, allocations: 35.86 kB / 0.6043 GB, free: 10.31 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00185/0.8147, allocations: 118.7 kB / 0.6044 GB, free: 10.19 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000281/0.815, allocations: 79.98 kB / 0.6045 GB, free: 10.11 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.0004647/0.8155, allocations: 184.3 kB / 0.6047 GB, free: 9.93 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005727/0.8161, allocations: 173.8 kB / 0.6048 GB, free: 9.758 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006313/0.8167, allocations: 186.6 kB / 0.605 GB, free: 9.57 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-05/0.8168, allocations: 16 kB / 0.605 GB, free: 9.555 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.297e-05/0.8168, allocations: 0 / 0.605 GB, free: 9.555 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.927e-05/0.8168, allocations: 7.969 kB / 0.605 GB, free: 9.547 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008489/0.8253, allocations: 3.393 MB / 0.6083 GB, free: 6.105 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.668e-06/0.8254, allocations: 0 / 0.6083 GB, free: 6.105 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002689/0.8281, allocations: 223.7 kB / 0.6086 GB, free: 5.887 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.43e-05/0.8282, allocations: 4 kB / 0.6086 GB, free: 5.883 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002061/0.8284, allocations: 23.98 kB / 0.6086 GB, free: 5.859 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.798e-06/0.8284, allocations: 4 kB / 0.6086 GB, free: 5.855 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.8284, allocations: 0 / 0.6086 GB, free: 5.855 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004826/0.8333, allocations: 1.956 MB / 0.6105 GB, free: 3.879 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000739/0.8341, allocations: 274.6 kB / 0.6108 GB, free: 3.59 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003406/0.8344, allocations: 12 kB / 0.6108 GB, free: 3.578 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001165/0.8356, allocations: 15.98 kB / 0.6108 GB, free: 3.562 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002528/0.8359, allocations: 73.2 kB / 0.6109 GB, free: 3.492 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001089/0.836, allocations: 31.98 kB / 0.6109 GB, free: 3.461 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002108/0.8381, allocations: 0.8743 MB / 0.6117 GB, free: 2.594 MB / 442.7 MB Notification: Performance of sort global known variables: time 5.71e-07/0.8381, allocations: 0 / 0.6117 GB, free: 2.594 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00241/0.8406, allocations: 0.5737 MB / 0.6123 GB, free: 2.016 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.000328/0.8409, allocations: 139 kB / 0.6124 GB, free: 1.871 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003223/0.8442, allocations: 1.282 MB / 0.6137 GB, free: 0.5898 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.8442, allocations: 0 / 0.6137 GB, free: 0.5898 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001367/0.8456, allocations: 0.6024 MB / 0.6143 GB, free: 15.99 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002113/0.8477, allocations: 261.6 kB / 0.6145 GB, free: 15.73 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01084/0.8586, allocations: 3.865 MB / 0.6183 GB, free: 11.82 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002344/0.861, allocations: 1.842 MB / 0.6201 GB, free: 9.953 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001459/0.8625, allocations: 180.5 kB / 0.6203 GB, free: 9.773 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006103/0.8631, allocations: 103.4 kB / 0.6204 GB, free: 9.672 MB / 458.7 MB Notification: Performance of SimCode: time 1.092e-06/0.8631, allocations: 4 kB / 0.6204 GB, free: 9.668 MB / 458.7 MB Notification: Performance of Templates: time 0.3433/1.206, allocations: 13.17 MB / 0.6332 GB, free: 112 MB / 458.7 MB make -j1 -f SystemDynamics_SystemDynamics.IndustrialDynamics.Inventory.InventoryForresterStep.makefile (rm -f SystemDynamics_SystemDynamics.IndustrialDynamics.Inventory.InventoryForresterStep.pipe ; mkfifo SystemDynamics_SystemDynamics.IndustrialDynamics.Inventory.InventoryForresterStep.pipe ; head -c 1048576 < SystemDynamics_SystemDynamics.IndustrialDynamics.Inventory.InventoryForresterStep.pipe >> ../files/SystemDynamics_SystemDynamics.IndustrialDynamics.Inventory.InventoryForresterStep.sim & ./SystemDynamics_SystemDynamics.IndustrialDynamics.Inventory.InventoryForresterStep -abortSlowSimulation -alarm=480 -lv LOG_STATS > SystemDynamics_SystemDynamics.IndustrialDynamics.Inventory.InventoryForresterStep.pipe 2>&1)