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.001321/0.001321, allocations: 110.2 kB / 16.42 MB, free: 6.484 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.00134/0.001341, allocations: 185.4 kB / 17.35 MB, free: 5.727 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.294/1.294, allocations: 222.9 MB / 241 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo): time 0.1758/0.1758, allocations: 28.79 MB / 320 MB, free: 1.91 MB / 254.1 MB Warning: Ignoring unknown experiment annotation option: Algorithm = "dassl" Notification: Performance of FrontEnd - loaded program: time 0.001366/0.001366, allocations: 67.89 kB / 445 MB, free: 2.605 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1025/0.1039, allocations: 56.42 MB / 0.4896 GB, free: 10.13 MB / 382.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.IndustrialDynamics.Inventory.InventoryForresterSinOneYearCapacity): time 0.01148/0.1154, allocations: 11.73 MB / 0.5011 GB, free: 14.34 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006365/0.1218, allocations: 3.643 MB / 0.5046 GB, free: 10.68 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002382/0.1242, allocations: 55.75 kB / 0.5047 GB, free: 10.63 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00177/0.126, allocations: 0.5295 MB / 0.5052 GB, free: 10.09 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002283/0.1283, allocations: 384 kB / 0.5056 GB, free: 9.715 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003282/0.1316, allocations: 1.721 MB / 0.5072 GB, free: 7.992 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.005308/0.1369, allocations: 4.196 MB / 0.5113 GB, free: 3.785 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004474/0.1414, allocations: 2.79 MB / 0.5141 GB, free: 0.918 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2326/0.374, allocations: 1.413 MB / 0.5155 GB, free: 10.25 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001387/0.3754, allocations: 1.552 MB / 0.517 GB, free: 10.12 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007915/0.3762, allocations: 0.5399 MB / 0.5175 GB, free: 10.12 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004831/0.3767, allocations: 0.5499 MB / 0.518 GB, free: 10.12 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004937/0.3772, allocations: 0.9873 MB / 0.519 GB, free: 9.973 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001282/0.3785, allocations: 1.957 MB / 0.5209 GB, free: 9.383 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005026/0.3836, allocations: 5.256 MB / 0.526 GB, free: 8.664 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.3836, allocations: 1.547 kB / 0.526 GB, free: 8.664 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.3836, allocations: 1.406 kB / 0.526 GB, free: 8.664 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001294/0.3837, allocations: 2.719 kB / 0.526 GB, free: 8.664 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.00622/0.39, allocations: 3.738 MB / 0.5297 GB, free: 7.152 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/0.39, allocations: 8.406 kB / 0.5297 GB, free: 7.152 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006187/0.3906, allocations: 416.7 kB / 0.5301 GB, free: 6.941 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002978/0.3936, allocations: 2.168 MB / 0.5322 GB, free: 6.398 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001891/0.3938, allocations: 287.1 kB / 0.5325 GB, free: 6.391 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004448/0.3943, allocations: 379.6 kB / 0.5329 GB, free: 6.387 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005456/0.3997, allocations: 3.625 MB / 0.5364 GB, free: 5.078 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.03e-05/0.3998, allocations: 15.53 kB / 0.5364 GB, free: 5.074 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002545/0.4001, allocations: 156.1 kB / 0.5366 GB, free: 4.957 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.558e-05/0.4002, allocations: 93.16 kB / 0.5366 GB, free: 4.957 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003852/0.404, allocations: 2.269 MB / 0.5389 GB, free: 4.082 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01373/0.4178, allocations: 14.26 MB / 0.5528 GB, free: 9.59 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002385/0.4202, allocations: 1.345 MB / 0.5541 GB, free: 8.891 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009418/0.4211, allocations: 0.6205 MB / 0.5547 GB, free: 8.566 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.097e-05/0.4212, allocations: 14.03 kB / 0.5547 GB, free: 8.566 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.109e-05/0.4212, allocations: 52.47 kB / 0.5548 GB, free: 8.516 MB / 414.1 MB Notification: Performance of pre-optimization done (n=133): time 3.466e-06/0.4213, allocations: 0 / 0.5548 GB, free: 8.516 MB / 414.1 MB Notification: Performance of matching and sorting (n=133): time 0.003094/0.4244, allocations: 1.768 MB / 0.5565 GB, free: 7.605 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.242e-05/0.4244, allocations: 70.31 kB / 0.5566 GB, free: 7.539 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00194/0.4264, allocations: 1.483 MB / 0.558 GB, free: 6.727 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001052/0.4265, allocations: 58.23 kB / 0.5581 GB, free: 6.672 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001023/0.4275, allocations: 1.586 MB / 0.5596 GB, free: 5.281 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004753/0.428, allocations: 495.1 kB / 0.5601 GB, free: 4.859 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004854/0.4285, allocations: 328.8 kB / 0.5604 GB, free: 4.66 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.122e-05/0.4286, allocations: 305.1 kB / 0.5607 GB, free: 4.359 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001003/0.4296, allocations: 0.5864 MB / 0.5613 GB, free: 4.055 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001315/0.4309, allocations: 1.076 MB / 0.5623 GB, free: 3.125 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002404/0.4333, allocations: 1.763 MB / 0.564 GB, free: 1.863 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.018e-05/0.4333, allocations: 2.75 kB / 0.564 GB, free: 1.863 MB / 414.1 MB Notification: Performance of matching and sorting (n=232) (initialization): time 0.003008/0.4364, allocations: 1.948 MB / 0.5659 GB, free: 0.9531 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.563e-05/0.4364, allocations: 17.78 kB / 0.566 GB, free: 0.9492 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.1e-05/0.4364, allocations: 16 kB / 0.566 GB, free: 0.9492 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.312e-05/0.4365, allocations: 27.31 kB / 0.566 GB, free: 0.9453 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001192/0.4377, allocations: 346.3 kB / 0.5663 GB, free: 0.8945 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.516e-05/0.4377, allocations: 35.23 kB / 0.5664 GB, free: 0.8906 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009228/0.4386, allocations: 167 kB / 0.5665 GB, free: 0.7734 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001269/0.4388, allocations: 69.31 kB / 0.5666 GB, free: 0.7617 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.001139/0.4399, allocations: 0.6563 MB / 0.5672 GB, free: 336 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002399/0.4402, allocations: 180.9 kB / 0.5674 GB, free: 236 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003459/0.4405, allocations: 208.3 kB / 0.5676 GB, free: 68 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.257e-05/0.4405, allocations: 13.27 kB / 0.5676 GB, free: 56 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.4405, allocations: 0 / 0.5676 GB, free: 56 kB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003222/0.4409, allocations: 265.3 kB / 0.5679 GB, free: 15.82 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001767/0.4411, allocations: 35.89 kB / 0.5679 GB, free: 15.79 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005326/0.4416, allocations: 35.77 kB / 0.5679 GB, free: 15.77 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001665/0.4418, allocations: 83.98 kB / 0.568 GB, free: 15.73 MB / 430.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00298/0.4448, allocations: 1.568 MB / 0.5695 GB, free: 14.87 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00327/0.448, allocations: 2.404 MB / 0.5719 GB, free: 12.92 MB / 430.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009124/0.449, allocations: 0.6623 MB / 0.5725 GB, free: 12.26 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001297/0.4503, allocations: 0.9836 MB / 0.5735 GB, free: 11.29 MB / 430.1 MB Notification: Performance of Backend: time 5.01e-07/0.4503, allocations: 0 / 0.5735 GB, free: 11.29 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001999/0.4523, allocations: 1.075 MB / 0.5746 GB, free: 10.26 MB / 430.1 MB Notification: Performance of SimCode: time 0.008156/0.4604, allocations: 5.427 MB / 0.5799 GB, free: 4.82 MB / 430.1 MB Notification: Performance of Templates: time 0.0385/0.499, allocations: 22.18 MB / 0.6015 GB, free: 14.81 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)