Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr SystemDynamics_SystemDynamics.IndustrialDynamics.Inventory.InventoryForresterNormalNoise.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.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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001084/0.001084, allocations: 108.6 kB / 16.41 MB, free: 6.496 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.001064/0.001064, allocations: 192.3 kB / 17.35 MB, free: 5.738 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.268/1.268, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo): time 0.1704/0.1704, allocations: 28.78 MB / 320 MB, free: 1.859 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 67.84 kB / 444.9 MB, free: 2.555 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0927/0.09395, allocations: 56.4 MB / 0.4896 GB, free: 10.09 MB / 382.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.IndustrialDynamics.Inventory.InventoryForresterNormalNoise): time 0.01104/0.105, allocations: 10.97 MB / 0.5003 GB, free: 15.07 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006036/0.1111, allocations: 3.374 MB / 0.5036 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002083/0.1132, allocations: 59.69 kB / 0.5037 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001609/0.1149, allocations: 0.5256 MB / 0.5042 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00185/0.1167, allocations: 380 kB / 0.5045 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002946/0.1197, allocations: 1.729 MB / 0.5062 GB, free: 8.996 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004749/0.1245, allocations: 4.196 MB / 0.5103 GB, free: 4.789 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003891/0.1284, allocations: 2.782 MB / 0.513 GB, free: 1.93 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00137/0.1297, allocations: 1.405 MB / 0.5144 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1972/0.3269, allocations: 1.549 MB / 0.5159 GB, free: 13.05 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001118/0.3281, allocations: 0.5397 MB / 0.5165 GB, free: 13.05 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005139/0.3286, allocations: 0.5553 MB / 0.517 GB, free: 13.05 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000499/0.3291, allocations: 0.9845 MB / 0.518 GB, free: 13.05 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001104/0.3302, allocations: 1.956 MB / 0.5199 GB, free: 12.78 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004351/0.3346, allocations: 5.254 MB / 0.525 GB, free: 12.07 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.3346, allocations: 1 kB / 0.525 GB, free: 12.07 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3346, allocations: 0 / 0.525 GB, free: 12.07 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001381/0.3348, allocations: 1.375 kB / 0.525 GB, free: 12.07 MB / 398.1 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.005916/0.3407, allocations: 3.742 MB / 0.5287 GB, free: 10.55 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.3407, allocations: 12.55 kB / 0.5287 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006272/0.3414, allocations: 416.8 kB / 0.5291 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002804/0.3442, allocations: 2.16 MB / 0.5312 GB, free: 9.398 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001712/0.3444, allocations: 285.9 kB / 0.5314 GB, free: 9.27 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004202/0.3448, allocations: 381.5 kB / 0.5318 GB, free: 9.141 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005484/0.3503, allocations: 3.626 MB / 0.5354 GB, free: 7.234 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.749e-05/0.3504, allocations: 13.09 kB / 0.5354 GB, free: 7.234 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002562/0.3506, allocations: 160.5 kB / 0.5355 GB, free: 7.117 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.929e-05/0.3507, allocations: 94.97 kB / 0.5356 GB, free: 7.117 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003903/0.3546, allocations: 2.262 MB / 0.5378 GB, free: 6.246 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01444/0.3691, allocations: 14.24 MB / 0.5517 GB, free: 11.5 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002611/0.3717, allocations: 1.353 MB / 0.553 GB, free: 10.8 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009266/0.3727, allocations: 0.6159 MB / 0.5537 GB, free: 10.47 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.022e-05/0.3728, allocations: 14.97 kB / 0.5537 GB, free: 10.47 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001087/0.3738, allocations: 0.6597 MB / 0.5543 GB, free: 10.06 MB / 414.1 MB Notification: Performance of pre-optimization done (n=135): time 3.516e-06/0.3739, allocations: 4 kB / 0.5543 GB, free: 10.06 MB / 414.1 MB Notification: Performance of matching and sorting (n=135): time 0.00356/0.3774, allocations: 1.771 MB / 0.556 GB, free: 9.152 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.233e-05/0.3775, allocations: 66.78 kB / 0.5561 GB, free: 9.086 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002015/0.3795, allocations: 1.482 MB / 0.5576 GB, free: 8.273 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001178/0.3796, allocations: 55.14 kB / 0.5576 GB, free: 8.219 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001374/0.381, allocations: 1.59 MB / 0.5592 GB, free: 6.824 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005832/0.3816, allocations: 0.4885 MB / 0.5596 GB, free: 6.398 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005237/0.3821, allocations: 327.3 kB / 0.5599 GB, free: 6.199 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000115/0.3823, allocations: 302.5 kB / 0.5602 GB, free: 5.902 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001004/0.3833, allocations: 0.5877 MB / 0.5608 GB, free: 5.598 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001336/0.3846, allocations: 1.089 MB / 0.5619 GB, free: 4.648 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006519/0.3912, allocations: 3.084 MB / 0.5649 GB, free: 2.641 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.241e-05/0.3912, allocations: 8.5 kB / 0.5649 GB, free: 2.637 MB / 414.1 MB Notification: Performance of matching and sorting (n=235) (initialization): time 0.003196/0.3944, allocations: 1.976 MB / 0.5668 GB, free: 1.703 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.351e-05/0.3944, allocations: 20.44 kB / 0.5668 GB, free: 1.699 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.594e-05/0.3945, allocations: 13.88 kB / 0.5669 GB, free: 1.699 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.008e-05/0.3945, allocations: 28.75 kB / 0.5669 GB, free: 1.695 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00116/0.3957, allocations: 349.7 kB / 0.5672 GB, free: 1.645 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.118e-05/0.3957, allocations: 31.92 kB / 0.5672 GB, free: 1.641 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009242/0.3966, allocations: 166.8 kB / 0.5674 GB, free: 1.523 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001046/0.3967, allocations: 81.66 kB / 0.5675 GB, free: 1.504 MB / 414.1 MB Warning: Assuming fixed start value for the following 1 variables: NoiseNormal1.y:DISCRETE(flow=false fixed = true ) 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001191/0.3979, allocations: 0.6596 MB / 0.5681 GB, free: 1.07 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002284/0.3982, allocations: 177 kB / 0.5683 GB, free: 0.9766 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003828/0.3986, allocations: 201.5 kB / 0.5685 GB, free: 0.8203 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.421e-05/0.3986, allocations: 11.91 kB / 0.5685 GB, free: 0.8086 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.836e-06/0.3986, allocations: 0 / 0.5685 GB, free: 0.8086 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00031/0.3989, allocations: 270.4 kB / 0.5688 GB, free: 0.5664 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001879/0.3991, allocations: 39.03 kB / 0.5688 GB, free: 0.5391 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005226/0.3996, allocations: 30.95 kB / 0.5688 GB, free: 0.5195 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000173/0.3998, allocations: 73.7 kB / 0.5689 GB, free: 496 kB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00322/0.403, allocations: 1.581 MB / 0.5704 GB, free: 15.17 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003467/0.4065, allocations: 2.412 MB / 0.5728 GB, free: 12.74 MB / 430.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009257/0.4075, allocations: 0.6545 MB / 0.5734 GB, free: 12.09 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001333/0.4088, allocations: 0.9795 MB / 0.5744 GB, free: 11.12 MB / 430.1 MB Notification: Performance of Backend: time 4.91e-07/0.4088, allocations: 4 kB / 0.5744 GB, free: 11.11 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002278/0.4111, allocations: 1.088 MB / 0.5755 GB, free: 10.07 MB / 430.1 MB Notification: Performance of SimCode: time 0.007488/0.4186, allocations: 5.427 MB / 0.5808 GB, free: 4.645 MB / 430.1 MB Notification: Performance of Templates: time 0.03907/0.4577, allocations: 22.24 MB / 0.6025 GB, free: 14.57 MB / 462.1 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)