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.00133/0.00133, allocations: 115.2 kB / 16.42 MB, free: 6.449 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.00137/0.00137, allocations: 183.9 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.366/1.366, allocations: 222.9 MB / 241.1 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo): time 0.2011/0.2011, allocations: 28.79 MB / 320 MB, free: 1.918 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 67.88 kB / 444.9 MB, free: 2.617 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1009/0.1021, allocations: 56.41 MB / 0.4896 GB, free: 10.14 MB / 382.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.IndustrialDynamics.Inventory.InventoryForresterNormalNoise): time 0.01194/0.1141, allocations: 10.98 MB / 0.5003 GB, free: 15.12 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007519/0.1217, allocations: 3.374 MB / 0.5036 GB, free: 11.74 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00295/0.1247, allocations: 59.69 kB / 0.5037 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002103/0.1268, allocations: 0.5295 MB / 0.5042 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002316/0.1292, allocations: 404 kB / 0.5046 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003422/0.1326, allocations: 1.729 MB / 0.5063 GB, free: 9.016 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.005744/0.1384, allocations: 4.204 MB / 0.5104 GB, free: 4.801 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004373/0.1428, allocations: 2.782 MB / 0.5131 GB, free: 1.941 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001538/0.1443, allocations: 1.408 MB / 0.5145 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2321/0.3764, allocations: 1.544 MB / 0.516 GB, free: 13.16 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00123/0.3777, allocations: 0.5407 MB / 0.5165 GB, free: 13.16 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005993/0.3783, allocations: 0.554 MB / 0.517 GB, free: 13.16 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006038/0.3789, allocations: 0.9857 MB / 0.518 GB, free: 13.16 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001297/0.3802, allocations: 1.956 MB / 0.5199 GB, free: 12.9 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005178/0.3854, allocations: 5.254 MB / 0.525 GB, free: 12.18 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.326e-06/0.3854, allocations: 2.859 kB / 0.525 GB, free: 12.18 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.3854, allocations: 1.094 kB / 0.525 GB, free: 12.18 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001791/0.3856, allocations: 0.5625 kB / 0.525 GB, free: 12.18 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.007501/0.3931, allocations: 3.736 MB / 0.5287 GB, free: 10.67 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.862e-05/0.3932, allocations: 13.36 kB / 0.5287 GB, free: 10.67 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008334/0.394, allocations: 416.7 kB / 0.5291 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003157/0.3972, allocations: 2.167 MB / 0.5312 GB, free: 9.453 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002497/0.3975, allocations: 284.9 kB / 0.5315 GB, free: 9.324 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005174/0.398, allocations: 383 kB / 0.5319 GB, free: 9.195 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006287/0.4043, allocations: 3.623 MB / 0.5354 GB, free: 7.293 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.304e-05/0.4044, allocations: 10.88 kB / 0.5354 GB, free: 7.293 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002453/0.4046, allocations: 160.9 kB / 0.5356 GB, free: 7.172 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.355e-05/0.4047, allocations: 93.47 kB / 0.5357 GB, free: 7.172 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004333/0.409, allocations: 2.257 MB / 0.5379 GB, free: 6.301 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01729/0.4264, allocations: 14.25 MB / 0.5518 GB, free: 11.56 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002608/0.429, allocations: 1.345 MB / 0.5531 GB, free: 10.87 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001016/0.43, allocations: 0.6133 MB / 0.5537 GB, free: 10.54 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.355e-05/0.4301, allocations: 15 kB / 0.5537 GB, free: 10.54 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001209/0.4313, allocations: 0.6639 MB / 0.5543 GB, free: 10.13 MB / 414.1 MB Notification: Performance of pre-optimization done (n=135): time 3.998e-06/0.4313, allocations: 0 / 0.5543 GB, free: 10.13 MB / 414.1 MB Notification: Performance of matching and sorting (n=135): time 0.003516/0.4349, allocations: 1.778 MB / 0.5561 GB, free: 9.219 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.261e-05/0.4349, allocations: 66.28 kB / 0.5561 GB, free: 9.152 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002215/0.4372, allocations: 1.48 MB / 0.5576 GB, free: 8.34 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001788/0.4374, allocations: 52.52 kB / 0.5576 GB, free: 8.289 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001403/0.4388, allocations: 1.592 MB / 0.5592 GB, free: 6.895 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005851/0.4394, allocations: 0.4897 MB / 0.5597 GB, free: 6.465 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005852/0.44, allocations: 321 kB / 0.56 GB, free: 6.273 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001168/0.4401, allocations: 309.1 kB / 0.5603 GB, free: 5.969 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00111/0.4412, allocations: 0.5882 MB / 0.5608 GB, free: 5.66 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001511/0.4427, allocations: 1.081 MB / 0.5619 GB, free: 4.719 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006897/0.4496, allocations: 3.093 MB / 0.5649 GB, free: 2.707 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.356e-05/0.4497, allocations: 10.62 kB / 0.5649 GB, free: 2.703 MB / 414.1 MB Notification: Performance of matching and sorting (n=235) (initialization): time 0.003623/0.4533, allocations: 1.978 MB / 0.5669 GB, free: 1.766 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.091e-05/0.4534, allocations: 10.28 kB / 0.5669 GB, free: 1.766 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.129e-05/0.4534, allocations: 17.16 kB / 0.5669 GB, free: 1.766 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.561e-05/0.4534, allocations: 31.31 kB / 0.5669 GB, free: 1.762 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001208/0.4546, allocations: 343.1 kB / 0.5672 GB, free: 1.715 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.183e-05/0.4547, allocations: 34.92 kB / 0.5673 GB, free: 1.711 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001136/0.4558, allocations: 176 kB / 0.5675 GB, free: 1.586 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001123/0.4559, allocations: 70.59 kB / 0.5675 GB, free: 1.574 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.001393/0.4573, allocations: 0.6585 MB / 0.5682 GB, free: 1.141 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003699/0.4577, allocations: 176 kB / 0.5683 GB, free: 1.047 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000476/0.4582, allocations: 202.8 kB / 0.5685 GB, free: 0.8867 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.418e-05/0.4582, allocations: 7.922 kB / 0.5685 GB, free: 0.8789 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.105e-06/0.4582, allocations: 8.641 kB / 0.5685 GB, free: 0.875 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003596/0.4586, allocations: 267.7 kB / 0.5688 GB, free: 0.6367 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001953/0.4588, allocations: 35 kB / 0.5688 GB, free: 0.6133 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005836/0.4594, allocations: 34.98 kB / 0.5689 GB, free: 0.5898 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002227/0.4596, allocations: 73.67 kB / 0.5689 GB, free: 0.5547 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003421/0.4631, allocations: 1.576 MB / 0.5705 GB, free: 15.24 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003685/0.4668, allocations: 2.404 MB / 0.5728 GB, free: 12.82 MB / 430.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009946/0.4678, allocations: 0.6623 MB / 0.5735 GB, free: 12.16 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001469/0.4693, allocations: 0.9867 MB / 0.5744 GB, free: 11.18 MB / 430.1 MB Notification: Performance of Backend: time 6.21e-07/0.4693, allocations: 0 / 0.5744 GB, free: 11.18 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002465/0.4717, allocations: 1.083 MB / 0.5755 GB, free: 10.14 MB / 430.1 MB Notification: Performance of SimCode: time 0.008118/0.4799, allocations: 5.421 MB / 0.5808 GB, free: 4.715 MB / 430.1 MB Notification: Performance of Templates: time 0.0425/0.5224, allocations: 22.24 MB / 0.6025 GB, free: 14.65 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)