Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr SystemDynamics_SystemDynamics.IndustrialDynamics.Inventory.InventoryForresterSinOneYearCapacity.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.InventoryForresterSinOneYearCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.IndustrialDynamics.Inventory.InventoryForresterSinOneYearCapacity") translateModel(SystemDynamics.IndustrialDynamics.Inventory.InventoryForresterSinOneYearCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.IndustrialDynamics.Inventory.InventoryForresterSinOneYearCapacity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001669/0.001669, allocations: 110.7 kB / 16.42 MB, free: 6.516 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.002018/0.002018, 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.447/1.447, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo): time 0.1727/0.1727, allocations: 28.78 MB / 320 MB, free: 1.906 MB / 254.1 MB Warning: Ignoring unknown experiment annotation option: Algorithm = "dassl" Notification: Performance of FrontEnd - loaded program: time 0.001597/0.001597, allocations: 59.91 kB / 445 MB, free: 2.59 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1073/0.1089, allocations: 56.4 MB / 0.4896 GB, free: 10.12 MB / 382.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.IndustrialDynamics.Inventory.InventoryForresterSinOneYearCapacity): time 0.01208/0.121, allocations: 11.74 MB / 0.5011 GB, free: 14.33 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007202/0.1283, allocations: 3.643 MB / 0.5046 GB, free: 10.67 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003173/0.1315, allocations: 55.75 kB / 0.5047 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002128/0.1336, allocations: 0.5294 MB / 0.5052 GB, free: 10.08 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002657/0.1363, allocations: 412 kB / 0.5056 GB, free: 9.676 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003565/0.1399, allocations: 1.725 MB / 0.5073 GB, free: 7.949 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.005356/0.1453, allocations: 4.204 MB / 0.5114 GB, free: 3.734 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005084/0.1504, allocations: 2.786 MB / 0.5141 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2242/0.3746, allocations: 1.411 MB / 0.5155 GB, free: 10.23 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001308/0.3759, allocations: 1.556 MB / 0.517 GB, free: 10.1 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008289/0.3768, allocations: 0.5409 MB / 0.5175 GB, free: 10.1 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005278/0.3773, allocations: 0.5497 MB / 0.5181 GB, free: 10.1 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005506/0.3779, allocations: 0.988 MB / 0.519 GB, free: 9.953 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001499/0.3794, allocations: 1.956 MB / 0.5209 GB, free: 9.363 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004793/0.3842, allocations: 5.256 MB / 0.5261 GB, free: 8.645 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.3842, allocations: 0.9688 kB / 0.5261 GB, free: 8.645 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.595e-06/0.3842, allocations: 0.75 kB / 0.5261 GB, free: 8.645 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001617/0.3844, allocations: 0.625 kB / 0.5261 GB, free: 8.645 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.006655/0.391, allocations: 3.736 MB / 0.5297 GB, free: 7.133 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.3911, allocations: 8.781 kB / 0.5297 GB, free: 7.133 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006832/0.3918, allocations: 424.4 kB / 0.5301 GB, free: 6.922 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003553/0.3953, allocations: 2.161 MB / 0.5322 GB, free: 6.379 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002261/0.3956, allocations: 286 kB / 0.5325 GB, free: 6.371 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005087/0.3961, allocations: 382.9 kB / 0.5329 GB, free: 6.367 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00624/0.4023, allocations: 3.624 MB / 0.5364 GB, free: 5.043 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.343e-05/0.4024, allocations: 14.81 kB / 0.5364 GB, free: 5.039 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002598/0.4027, allocations: 160.5 kB / 0.5366 GB, free: 4.918 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.153e-05/0.4028, allocations: 93.47 kB / 0.5367 GB, free: 4.918 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004775/0.4076, allocations: 2.266 MB / 0.5389 GB, free: 4.047 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01424/0.4218, allocations: 14.26 MB / 0.5528 GB, free: 9.562 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002408/0.4243, allocations: 1.346 MB / 0.5541 GB, free: 8.863 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009585/0.4252, allocations: 0.6206 MB / 0.5547 GB, free: 8.539 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.751e-05/0.4253, allocations: 18.72 kB / 0.5548 GB, free: 8.535 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.262e-05/0.4254, allocations: 47.66 kB / 0.5548 GB, free: 8.488 MB / 414.1 MB Notification: Performance of pre-optimization done (n=133): time 3.476e-06/0.4254, allocations: 0 / 0.5548 GB, free: 8.488 MB / 414.1 MB Notification: Performance of matching and sorting (n=133): time 0.003116/0.4285, allocations: 1.768 MB / 0.5565 GB, free: 7.578 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.818e-05/0.4285, allocations: 70.25 kB / 0.5566 GB, free: 7.512 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001932/0.4305, allocations: 1.487 MB / 0.558 GB, free: 6.695 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001031/0.4306, allocations: 51.3 kB / 0.5581 GB, free: 6.645 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001005/0.4316, allocations: 1.579 MB / 0.5596 GB, free: 5.258 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004498/0.4321, allocations: 0.489 MB / 0.5601 GB, free: 4.832 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004736/0.4325, allocations: 329.4 kB / 0.5604 GB, free: 4.633 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 8.909e-05/0.4326, allocations: 302.5 kB / 0.5607 GB, free: 4.336 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001025/0.4337, allocations: 0.5894 MB / 0.5613 GB, free: 4.027 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001354/0.435, allocations: 1.077 MB / 0.5623 GB, free: 3.098 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00235/0.4374, allocations: 1.764 MB / 0.5641 GB, free: 1.836 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.346e-06/0.4374, allocations: 2.375 kB / 0.5641 GB, free: 1.836 MB / 414.1 MB Notification: Performance of matching and sorting (n=232) (initialization): time 0.003048/0.4405, allocations: 1.95 MB / 0.566 GB, free: 0.9219 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.612e-05/0.4405, allocations: 14.41 kB / 0.566 GB, free: 0.9219 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.955e-05/0.4405, allocations: 14.88 kB / 0.566 GB, free: 0.9219 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.807e-05/0.4406, allocations: 29.34 kB / 0.566 GB, free: 0.918 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001251/0.4418, allocations: 345.6 kB / 0.5664 GB, free: 0.8672 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.277e-05/0.4419, allocations: 31.88 kB / 0.5664 GB, free: 0.8672 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009615/0.4428, allocations: 170.4 kB / 0.5666 GB, free: 0.7461 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001126/0.443, allocations: 73.97 kB / 0.5666 GB, free: 0.7305 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.001236/0.4442, allocations: 0.6635 MB / 0.5673 GB, free: 300 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002405/0.4445, allocations: 179.7 kB / 0.5674 GB, free: 204 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003931/0.4449, allocations: 203.6 kB / 0.5676 GB, free: 40 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.172e-05/0.4449, allocations: 7.969 kB / 0.5676 GB, free: 32 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.4449, allocations: 0 / 0.5676 GB, free: 32 kB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003148/0.4452, allocations: 272.3 kB / 0.5679 GB, free: 15.79 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001881/0.4454, allocations: 39.56 kB / 0.5679 GB, free: 15.76 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000585/0.446, allocations: 35.83 kB / 0.568 GB, free: 15.74 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001739/0.4462, allocations: 76.36 kB / 0.568 GB, free: 15.7 MB / 430.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003101/0.4493, allocations: 1.564 MB / 0.5696 GB, free: 14.84 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003451/0.4527, allocations: 2.406 MB / 0.5719 GB, free: 12.89 MB / 430.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009329/0.4537, allocations: 0.6545 MB / 0.5726 GB, free: 12.24 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001278/0.455, allocations: 0.9914 MB / 0.5735 GB, free: 11.26 MB / 430.1 MB Notification: Performance of Backend: time 5.81e-07/0.455, allocations: 0.6562 kB / 0.5735 GB, free: 11.26 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00225/0.4572, allocations: 1.071 MB / 0.5746 GB, free: 10.24 MB / 430.1 MB Notification: Performance of SimCode: time 0.008167/0.4654, allocations: 5.44 MB / 0.5799 GB, free: 4.789 MB / 430.1 MB Notification: Performance of Templates: time 0.04083/0.5063, allocations: 22.17 MB / 0.6015 GB, free: 14.79 MB / 462.1 MB make -j1 -f SystemDynamics_SystemDynamics.IndustrialDynamics.Inventory.InventoryForresterSinOneYearCapacity.makefile (rm -f SystemDynamics_SystemDynamics.IndustrialDynamics.Inventory.InventoryForresterSinOneYearCapacity.pipe ; mkfifo SystemDynamics_SystemDynamics.IndustrialDynamics.Inventory.InventoryForresterSinOneYearCapacity.pipe ; head -c 1048576 < SystemDynamics_SystemDynamics.IndustrialDynamics.Inventory.InventoryForresterSinOneYearCapacity.pipe >> ../files/SystemDynamics_SystemDynamics.IndustrialDynamics.Inventory.InventoryForresterSinOneYearCapacity.sim & ./SystemDynamics_SystemDynamics.IndustrialDynamics.Inventory.InventoryForresterSinOneYearCapacity -abortSlowSimulation -alarm=480 -lv LOG_STATS > SystemDynamics_SystemDynamics.IndustrialDynamics.Inventory.InventoryForresterSinOneYearCapacity.pipe 2>&1)