Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr SystemDynamics_SystemDynamics.IndustrialDynamics.Inventory.InventoryForresterStep.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.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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00106/0.00106, 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.001025/0.001025, 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.289/1.289, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo): time 0.1711/0.1711, allocations: 28.78 MB / 320 MB, free: 1.914 MB / 254.1 MB Warning: Ignoring unknown experiment annotation option: Algorithm = "dassl" Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 59.91 kB / 444.9 MB, free: 2.613 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1045/0.1057, allocations: 56.41 MB / 0.4896 GB, free: 10.14 MB / 382.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.IndustrialDynamics.Inventory.InventoryForresterStep): time 0.01106/0.1168, allocations: 11.72 MB / 0.5011 GB, free: 14.37 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005863/0.1227, allocations: 3.265 MB / 0.5042 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002465/0.1252, allocations: 59.69 kB / 0.5043 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001247/0.1265, allocations: 0.5256 MB / 0.5048 GB, free: 10.5 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00142/0.1279, allocations: 380 kB / 0.5052 GB, free: 10.13 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002336/0.1303, allocations: 1.717 MB / 0.5069 GB, free: 8.41 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004464/0.1348, allocations: 4.196 MB / 0.5109 GB, free: 4.203 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003286/0.1381, allocations: 2.786 MB / 0.5137 GB, free: 1.34 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2308/0.3689, allocations: 1.405 MB / 0.515 GB, free: 10.09 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001445/0.3704, allocations: 1.545 MB / 0.5166 GB, free: 9.961 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001136/0.3715, allocations: 0.5414 MB / 0.5171 GB, free: 9.961 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005153/0.372, allocations: 0.5565 MB / 0.5176 GB, free: 9.957 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005241/0.3726, allocations: 0.9855 MB / 0.5186 GB, free: 9.812 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001296/0.3739, allocations: 1.948 MB / 0.5205 GB, free: 9.227 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004999/0.3789, allocations: 5.254 MB / 0.5256 GB, free: 8.504 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.945e-06/0.3789, allocations: 1.531 kB / 0.5256 GB, free: 8.504 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.3789, allocations: 0 / 0.5256 GB, free: 8.504 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001879/0.3791, allocations: 0.6562 kB / 0.5256 GB, free: 8.504 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.007001/0.3861, allocations: 3.735 MB / 0.5293 GB, free: 6.992 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/0.3862, allocations: 12.83 kB / 0.5293 GB, free: 6.988 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006962/0.3869, allocations: 416.5 kB / 0.5297 GB, free: 6.777 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003051/0.39, allocations: 2.161 MB / 0.5318 GB, free: 6.238 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000199/0.3902, allocations: 286.3 kB / 0.5321 GB, free: 6.23 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000479/0.3907, allocations: 385.7 kB / 0.5324 GB, free: 6.223 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00582/0.3965, allocations: 3.625 MB / 0.536 GB, free: 5.23 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-05/0.3966, allocations: 11.62 kB / 0.536 GB, free: 5.23 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002391/0.3968, allocations: 159.9 kB / 0.5361 GB, free: 5.109 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.141e-05/0.3969, allocations: 93.03 kB / 0.5362 GB, free: 5.109 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003854/0.4008, allocations: 2.268 MB / 0.5384 GB, free: 4.238 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01445/0.4152, allocations: 14.25 MB / 0.5523 GB, free: 9.812 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002444/0.4177, allocations: 1.347 MB / 0.5537 GB, free: 9.109 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009551/0.4187, allocations: 0.6134 MB / 0.5543 GB, free: 8.789 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.386e-05/0.4187, allocations: 18.09 kB / 0.5543 GB, free: 8.785 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.012e-05/0.4188, allocations: 48.19 kB / 0.5543 GB, free: 8.738 MB / 414.1 MB Notification: Performance of pre-optimization done (n=133): time 3.768e-06/0.4188, allocations: 0 / 0.5543 GB, free: 8.738 MB / 414.1 MB Notification: Performance of matching and sorting (n=133): time 0.003257/0.4221, allocations: 1.766 MB / 0.5561 GB, free: 7.828 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.662e-05/0.4221, allocations: 65.25 kB / 0.5561 GB, free: 7.766 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00219/0.4243, allocations: 1.495 MB / 0.5576 GB, free: 6.941 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001262/0.4244, allocations: 51.2 kB / 0.5576 GB, free: 6.891 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001072/0.4255, allocations: 1.588 MB / 0.5592 GB, free: 5.5 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004927/0.426, allocations: 488.1 kB / 0.5596 GB, free: 5.082 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005543/0.4266, allocations: 321.7 kB / 0.5599 GB, free: 4.887 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000104/0.4267, allocations: 302.2 kB / 0.5602 GB, free: 4.59 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001322/0.428, allocations: 0.5937 MB / 0.5608 GB, free: 4.277 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001325/0.4294, allocations: 1.072 MB / 0.5619 GB, free: 3.352 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002367/0.4318, allocations: 1.762 MB / 0.5636 GB, free: 2.09 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.04e-05/0.4318, allocations: 5.656 kB / 0.5636 GB, free: 2.09 MB / 414.1 MB Notification: Performance of matching and sorting (n=232) (initialization): time 0.003147/0.4349, allocations: 1.946 MB / 0.5655 GB, free: 1.176 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.756e-05/0.435, allocations: 11.75 kB / 0.5655 GB, free: 1.176 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.176e-05/0.435, allocations: 14.78 kB / 0.5655 GB, free: 1.176 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.945e-05/0.435, allocations: 28 kB / 0.5655 GB, free: 1.172 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001285/0.4363, allocations: 353.5 kB / 0.5659 GB, free: 1.117 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.75e-05/0.4364, allocations: 32.47 kB / 0.5659 GB, free: 1.117 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001205/0.4376, allocations: 173.5 kB / 0.5661 GB, free: 0.9922 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001073/0.4377, allocations: 74.28 kB / 0.5661 GB, free: 0.9766 MB / 414.1 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001436/0.4392, allocations: 0.657 MB / 0.5668 GB, free: 0.543 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004941/0.4397, allocations: 175.3 kB / 0.567 GB, free: 460 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004062/0.4401, allocations: 199.8 kB / 0.5671 GB, free: 300 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.439e-05/0.4401, allocations: 11.91 kB / 0.5672 GB, free: 288 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.4401, allocations: 0 / 0.5672 GB, free: 288 kB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003552/0.4405, allocations: 273.5 kB / 0.5674 GB, free: 40 kB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000178/0.4407, allocations: 35.5 kB / 0.5674 GB, free: 16 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005886/0.4413, allocations: 33.48 kB / 0.5675 GB, free: 15.99 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001902/0.4415, allocations: 78.52 kB / 0.5676 GB, free: 15.95 MB / 430.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003182/0.4446, allocations: 1.567 MB / 0.5691 GB, free: 15.1 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003599/0.4483, allocations: 2.398 MB / 0.5714 GB, free: 13.31 MB / 430.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009618/0.4492, allocations: 0.6584 MB / 0.5721 GB, free: 12.66 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001434/0.4507, allocations: 0.9834 MB / 0.573 GB, free: 11.68 MB / 430.1 MB Notification: Performance of Backend: time 6.91e-07/0.4507, allocations: 0 / 0.573 GB, free: 11.68 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002519/0.4532, allocations: 1.074 MB / 0.5741 GB, free: 10.66 MB / 430.1 MB Notification: Performance of SimCode: time 0.008773/0.462, allocations: 5.424 MB / 0.5794 GB, free: 5.223 MB / 430.1 MB Notification: Performance of Templates: time 0.03935/0.5014, allocations: 22.13 MB / 0.601 GB, free: 15.26 MB / 462.1 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)