Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr SystemDynamics_SystemDynamics.IndustrialDynamics.Inventory.InventoryForresterSinOneYear.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.InventoryForresterSinOneYear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.IndustrialDynamics.Inventory.InventoryForresterSinOneYear") translateModel(SystemDynamics.IndustrialDynamics.Inventory.InventoryForresterSinOneYear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.IndustrialDynamics.Inventory.InventoryForresterSinOneYear") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00114/0.00114, allocations: 112.6 kB / 16.42 MB, free: 6.5 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.001204/0.001204, allocations: 186.6 kB / 17.35 MB, free: 5.758 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.508/1.508, allocations: 222.9 MB / 241 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.1984/0.1984, allocations: 28.77 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.001266/0.001266, allocations: 59.91 kB / 444.9 MB, free: 2.613 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1156/0.1168, allocations: 56.42 MB / 0.4896 GB, free: 10.13 MB / 382.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.IndustrialDynamics.Inventory.InventoryForresterSinOneYear): time 0.01172/0.1286, allocations: 11.73 MB / 0.5011 GB, free: 14.34 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007374/0.136, allocations: 3.643 MB / 0.5046 GB, free: 10.69 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003348/0.1394, allocations: 55.75 kB / 0.5047 GB, free: 10.63 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001956/0.1414, allocations: 0.5256 MB / 0.5052 GB, free: 10.1 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002543/0.144, allocations: 419.9 kB / 0.5056 GB, free: 9.688 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002886/0.1469, allocations: 1.717 MB / 0.5073 GB, free: 7.969 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.005182/0.1521, allocations: 4.216 MB / 0.5114 GB, free: 3.742 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003769/0.1559, allocations: 2.786 MB / 0.5141 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.24/0.3959, allocations: 1.41 MB / 0.5155 GB, free: 10.16 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001945/0.3979, allocations: 1.554 MB / 0.517 GB, free: 10.03 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001273/0.3992, allocations: 0.5406 MB / 0.5175 GB, free: 10.03 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000723/0.3999, allocations: 0.55 MB / 0.5181 GB, free: 10.03 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007096/0.4006, allocations: 0.9845 MB / 0.519 GB, free: 9.883 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001896/0.4025, allocations: 1.959 MB / 0.5209 GB, free: 9.293 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007897/0.4105, allocations: 5.254 MB / 0.5261 GB, free: 8.574 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.034e-05/0.4105, allocations: 0 / 0.5261 GB, free: 8.574 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.156e-06/0.4105, allocations: 0.9375 kB / 0.5261 GB, free: 8.574 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002838/0.4108, allocations: 0 / 0.5261 GB, free: 8.574 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.008099/0.4189, allocations: 3.741 MB / 0.5297 GB, free: 7.062 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.432e-05/0.419, allocations: 9.062 kB / 0.5297 GB, free: 7.062 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009517/0.4199, allocations: 417.3 kB / 0.5301 GB, free: 6.852 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00315/0.4231, allocations: 2.169 MB / 0.5322 GB, free: 6.309 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001906/0.4233, allocations: 285.3 kB / 0.5325 GB, free: 6.301 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004401/0.4238, allocations: 381.1 kB / 0.5329 GB, free: 6.297 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005904/0.4297, allocations: 3.625 MB / 0.5364 GB, free: 5.121 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.096e-05/0.4297, allocations: 11.69 kB / 0.5364 GB, free: 5.117 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002363/0.43, allocations: 155.8 kB / 0.5366 GB, free: 5 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.047e-05/0.4301, allocations: 97.66 kB / 0.5367 GB, free: 4.996 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003843/0.4339, allocations: 2.269 MB / 0.5389 GB, free: 4.125 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01418/0.4481, allocations: 14.25 MB / 0.5528 GB, free: 9.629 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002517/0.4507, allocations: 1.348 MB / 0.5541 GB, free: 8.93 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001016/0.4517, allocations: 0.6243 MB / 0.5547 GB, free: 8.602 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.192e-05/0.4518, allocations: 16.58 kB / 0.5548 GB, free: 8.602 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.253e-05/0.4518, allocations: 44.47 kB / 0.5548 GB, free: 8.555 MB / 414.1 MB Notification: Performance of pre-optimization done (n=133): time 4.268e-06/0.4518, allocations: 0 / 0.5548 GB, free: 8.555 MB / 414.1 MB Notification: Performance of matching and sorting (n=133): time 0.003225/0.4551, allocations: 1.775 MB / 0.5565 GB, free: 7.641 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.821e-05/0.4551, allocations: 65.28 kB / 0.5566 GB, free: 7.578 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002194/0.4573, allocations: 1.488 MB / 0.558 GB, free: 6.762 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001081/0.4574, allocations: 51.17 kB / 0.5581 GB, free: 6.711 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001013/0.4585, allocations: 1.587 MB / 0.5596 GB, free: 5.32 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004678/0.4589, allocations: 494.1 kB / 0.5601 GB, free: 4.898 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004759/0.4594, allocations: 325.5 kB / 0.5604 GB, free: 4.703 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.538e-05/0.4595, allocations: 309.1 kB / 0.5607 GB, free: 4.398 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001005/0.4605, allocations: 0.5899 MB / 0.5613 GB, free: 4.09 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001324/0.4619, allocations: 1.074 MB / 0.5623 GB, free: 3.164 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002255/0.4641, allocations: 1.764 MB / 0.5641 GB, free: 1.902 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.187e-06/0.4641, allocations: 2.844 kB / 0.5641 GB, free: 1.902 MB / 414.1 MB Notification: Performance of matching and sorting (n=232) (initialization): time 0.003053/0.4672, allocations: 1.949 MB / 0.566 GB, free: 0.9883 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.321e-05/0.4672, allocations: 10.97 kB / 0.566 GB, free: 0.9883 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.777e-05/0.4673, allocations: 17.69 kB / 0.566 GB, free: 0.9883 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.32e-05/0.4673, allocations: 28.47 kB / 0.566 GB, free: 0.9844 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001231/0.4685, allocations: 341.3 kB / 0.5664 GB, free: 0.9375 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.682e-05/0.4686, allocations: 36.48 kB / 0.5664 GB, free: 0.9336 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001002/0.4696, allocations: 174.6 kB / 0.5666 GB, free: 0.8086 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001153/0.4697, allocations: 70 kB / 0.5666 GB, free: 0.7969 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.00113/0.4709, allocations: 0.6572 MB / 0.5673 GB, free: 372 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002448/0.4711, allocations: 178.1 kB / 0.5674 GB, free: 276 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003858/0.4715, allocations: 205.5 kB / 0.5676 GB, free: 108 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.175e-05/0.4715, allocations: 7.969 kB / 0.5676 GB, free: 100 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.4715, allocations: 0 / 0.5676 GB, free: 100 kB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003117/0.4718, allocations: 271.7 kB / 0.5679 GB, free: 15.86 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001867/0.472, allocations: 39.83 kB / 0.5679 GB, free: 15.83 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005753/0.4726, allocations: 31.81 kB / 0.568 GB, free: 15.8 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001775/0.4728, allocations: 84.59 kB / 0.568 GB, free: 15.76 MB / 430.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003196/0.476, allocations: 1.571 MB / 0.5696 GB, free: 14.91 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003454/0.4795, allocations: 2.399 MB / 0.5719 GB, free: 12.93 MB / 430.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009704/0.4805, allocations: 0.6623 MB / 0.5726 GB, free: 12.27 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001454/0.4819, allocations: 0.9836 MB / 0.5735 GB, free: 11.3 MB / 430.1 MB Notification: Performance of Backend: time 6.81e-07/0.4819, allocations: 4 kB / 0.5735 GB, free: 11.29 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002538/0.4845, allocations: 1.074 MB / 0.5746 GB, free: 10.27 MB / 430.1 MB Notification: Performance of SimCode: time 0.008913/0.4934, allocations: 5.439 MB / 0.5799 GB, free: 4.82 MB / 430.1 MB Notification: Performance of Templates: time 0.0406/0.534, allocations: 22.19 MB / 0.6016 GB, free: 14.8 MB / 462.1 MB make -j1 -f SystemDynamics_SystemDynamics.IndustrialDynamics.Inventory.InventoryForresterSinOneYear.makefile (rm -f SystemDynamics_SystemDynamics.IndustrialDynamics.Inventory.InventoryForresterSinOneYear.pipe ; mkfifo SystemDynamics_SystemDynamics.IndustrialDynamics.Inventory.InventoryForresterSinOneYear.pipe ; head -c 1048576 < SystemDynamics_SystemDynamics.IndustrialDynamics.Inventory.InventoryForresterSinOneYear.pipe >> ../files/SystemDynamics_SystemDynamics.IndustrialDynamics.Inventory.InventoryForresterSinOneYear.sim & ./SystemDynamics_SystemDynamics.IndustrialDynamics.Inventory.InventoryForresterSinOneYear -abortSlowSimulation -alarm=480 -lv LOG_STATS > SystemDynamics_SystemDynamics.IndustrialDynamics.Inventory.InventoryForresterSinOneYear.pipe 2>&1)