Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr SystemDynamics_SystemDynamics.IndustrialDynamics.Inventory.InventoryForresterNormalNoise.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.InventoryForresterNormalNoise,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.IndustrialDynamics.Inventory.InventoryForresterNormalNoise") translateModel(SystemDynamics.IndustrialDynamics.Inventory.InventoryForresterNormalNoise,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.IndustrialDynamics.Inventory.InventoryForresterNormalNoise") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001494/0.001494, 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 1.921/1.921, 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.001122/0.001122, allocations: 91.3 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.2249/0.2249, allocations: 28.83 MB / 338.2 MB, free: 0.5039 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.458e-05/1.454e-05, allocations: 0 / 399 MB, free: 56.86 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09562/0.09566, allocations: 54.66 MB / 453.7 MB, free: 2.121 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4261/0.5218, allocations: 80.18 MB / 0.5214 GB, free: 15.23 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002683/0.5221, allocations: 64.97 kB / 0.5214 GB, free: 15.2 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1917/0.7139, allocations: 49.28 MB / 0.5695 GB, free: 14.87 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.235e-06/0.7139, allocations: 0 / 0.5695 GB, free: 14.87 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004186/0.7144, allocations: 88.16 kB / 0.5696 GB, free: 14.78 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.008716/0.7231, allocations: 2.742 MB / 0.5723 GB, free: 11.98 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.238e-05/0.7232, allocations: 15.91 kB / 0.5723 GB, free: 11.96 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001741/0.7249, allocations: 418.9 kB / 0.5727 GB, free: 11.55 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005796/0.7308, allocations: 2.021 MB / 0.5747 GB, free: 9.473 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000271/0.7311, allocations: 124 kB / 0.5748 GB, free: 9.352 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001124/0.7322, allocations: 223.9 kB / 0.575 GB, free: 9.133 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007651/0.7399, allocations: 1.87 MB / 0.5769 GB, free: 7.262 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01131/0.7513, allocations: 2.977 MB / 0.5798 GB, free: 4.055 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001104/0.7514, allocations: 11.94 kB / 0.5798 GB, free: 4.043 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004147/0.7519, allocations: 8 kB / 0.5798 GB, free: 4.035 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001139/0.752, allocations: 96 kB / 0.5799 GB, free: 3.941 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02788/0.7799, allocations: 13.87 MB / 0.5934 GB, free: 5.758 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00399/0.7839, allocations: 1.237 MB / 0.5946 GB, free: 4.516 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001489/0.7855, allocations: 0.5442 MB / 0.5952 GB, free: 3.965 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001128/0.7856, allocations: 13.31 kB / 0.5952 GB, free: 3.953 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001659/0.7873, allocations: 0.589 MB / 0.5957 GB, free: 3.352 MB / 426.7 MB Notification: Performance of pre-optimization done (n=135): time 6.131e-06/0.7874, allocations: 0 / 0.5957 GB, free: 3.352 MB / 426.7 MB Notification: Performance of matching and sorting (n=135): time 0.003424/0.7908, allocations: 1.169 MB / 0.5969 GB, free: 2.168 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.284e-05/0.7909, allocations: 64.72 kB / 0.5969 GB, free: 2.094 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003137/0.7941, allocations: 1.195 MB / 0.5981 GB, free: 0.8984 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003336/0.7945, allocations: 25.7 kB / 0.5981 GB, free: 0.8672 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002051/0.7965, allocations: 1.575 MB / 0.5997 GB, free: 15.27 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000877/0.7974, allocations: 484.9 kB / 0.6001 GB, free: 14.79 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001338/0.7976, allocations: 0 / 0.6001 GB, free: 14.79 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000201/0.7978, allocations: 373.9 kB / 0.6005 GB, free: 14.41 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001487/0.7993, allocations: 0.5117 MB / 0.601 GB, free: 13.9 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001983/0.8013, allocations: 0.9993 MB / 0.602 GB, free: 12.69 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002034/0.8034, allocations: 0.6872 MB / 0.6026 GB, free: 12.01 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.212e-05/0.8035, allocations: 7.984 kB / 0.6026 GB, free: 12 MB / 442.7 MB Notification: Performance of matching and sorting (n=235) (initialization): time 0.005228/0.8087, allocations: 1.714 MB / 0.6043 GB, free: 10.28 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.47e-05/0.8088, allocations: 12 kB / 0.6043 GB, free: 10.27 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.049e-05/0.8089, allocations: 16 kB / 0.6044 GB, free: 10.25 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.486e-05/0.8089, allocations: 28 kB / 0.6044 GB, free: 10.22 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00282/0.8118, allocations: 347.4 kB / 0.6047 GB, free: 9.883 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.393e-05/0.8119, allocations: 35.92 kB / 0.6047 GB, free: 9.848 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001944/0.8138, allocations: 118.6 kB / 0.6049 GB, free: 9.734 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003757/0.8143, allocations: 76 kB / 0.6049 GB, free: 9.66 MB / 442.7 MB Warning: Assuming fixed start value for the following 1 variables: NoiseNormal1.y:DISCRETE(fixed = false ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 68 * Number of states: 0 () * Number of discrete variables: 36 ($whenCondition1,$PRE.NoiseNormal1.y,NoiseNormal1.y,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 (235): * Single equations (assignments): 235 * 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.0005448/0.8148, allocations: 184.4 kB / 0.6051 GB, free: 9.477 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000621/0.8155, allocations: 185.6 kB / 0.6053 GB, free: 9.293 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006887/0.8162, allocations: 186.7 kB / 0.6055 GB, free: 9.105 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.85e-05/0.8162, allocations: 15.94 kB / 0.6055 GB, free: 9.09 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.372e-05/0.8162, allocations: 0 / 0.6055 GB, free: 9.09 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.099e-05/0.8163, allocations: 11.94 kB / 0.6055 GB, free: 9.078 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009075/0.8253, allocations: 3.401 MB / 0.6088 GB, free: 5.625 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.255e-05/0.8254, allocations: 0 / 0.6088 GB, free: 5.625 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002738/0.8282, allocations: 223.7 kB / 0.609 GB, free: 5.406 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.857e-05/0.8283, allocations: 4 kB / 0.609 GB, free: 5.402 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002709/0.8285, allocations: 23.98 kB / 0.609 GB, free: 5.379 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.306e-05/0.8286, allocations: 8 kB / 0.6091 GB, free: 5.371 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.469e-06/0.8286, allocations: 0 / 0.6091 GB, free: 5.371 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004973/0.8336, allocations: 1.974 MB / 0.611 GB, free: 3.379 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007426/0.8344, allocations: 270.5 kB / 0.6112 GB, free: 3.094 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005523/0.8349, allocations: 16 kB / 0.6113 GB, free: 3.078 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001336/0.8363, allocations: 11.98 kB / 0.6113 GB, free: 3.066 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002866/0.8366, allocations: 77.2 kB / 0.6113 GB, free: 2.992 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001166/0.8368, allocations: 36 kB / 0.6114 GB, free: 2.957 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002311/0.8391, allocations: 0.882 MB / 0.6122 GB, free: 2.082 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.62e-07/0.8391, allocations: 0 / 0.6122 GB, free: 2.082 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002409/0.8415, allocations: 0.5737 MB / 0.6128 GB, free: 1.504 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: 2 ($whenCondition1,NoiseNormal1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (135): * Single equations (assignments): 134 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0005817/0.8422, allocations: 149.9 kB / 0.6129 GB, free: 1.352 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003659/0.8459, allocations: 1.297 MB / 0.6142 GB, free: 60 kB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.993e-06/0.8459, allocations: 0 / 0.6142 GB, free: 60 kB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001621/0.8475, allocations: 0.5991 MB / 0.6148 GB, free: 15.46 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002398/0.85, allocations: 272.5 kB / 0.6151 GB, free: 15.19 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01202/0.8621, allocations: 3.868 MB / 0.6188 GB, free: 11.29 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002913/0.865, allocations: 1.846 MB / 0.6206 GB, free: 9.41 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001574/0.8667, allocations: 180.5 kB / 0.6208 GB, free: 9.23 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006898/0.8674, allocations: 103.4 kB / 0.6209 GB, free: 9.129 MB / 458.7 MB Notification: Performance of SimCode: time 1.703e-06/0.8674, allocations: 0 / 0.6209 GB, free: 9.129 MB / 458.7 MB Notification: Performance of Templates: time 0.353/1.22, allocations: 13.31 MB / 0.6339 GB, free: 113.9 MB / 458.7 MB make -j1 -f SystemDynamics_SystemDynamics.IndustrialDynamics.Inventory.InventoryForresterNormalNoise.makefile (rm -f SystemDynamics_SystemDynamics.IndustrialDynamics.Inventory.InventoryForresterNormalNoise.pipe ; mkfifo SystemDynamics_SystemDynamics.IndustrialDynamics.Inventory.InventoryForresterNormalNoise.pipe ; head -c 1048576 < SystemDynamics_SystemDynamics.IndustrialDynamics.Inventory.InventoryForresterNormalNoise.pipe >> ../files/SystemDynamics_SystemDynamics.IndustrialDynamics.Inventory.InventoryForresterNormalNoise.sim & ./SystemDynamics_SystemDynamics.IndustrialDynamics.Inventory.InventoryForresterNormalNoise -abortSlowSimulation -alarm=480 -lv LOG_STATS > SystemDynamics_SystemDynamics.IndustrialDynamics.Inventory.InventoryForresterNormalNoise.pipe 2>&1)