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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "[:1:22-1:33:writable] Warning: Modelica only supports 32-bit signed integers! Transforming: 13743895347 into a real Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0003002/0.0003002, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0002749/0.0002749, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.106/0.106, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics master/package.mo): time 0.006045/0.006045, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] Using package SystemDynamics with version 2.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: simulate(SystemDynamics.IndustrialDynamics.Inventory.InventoryForresterStep,startTime=0,stopTime=90,tolerance=1e-06,numberOfIntervals=2500,outputFormat="empty",variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.IndustrialDynamics.Inventory.InventoryForresterStep",simflags="-abortSlowSimulation -alarm=240 -lv LOG_STATS") simulate(SystemDynamics.IndustrialDynamics.Inventory.InventoryForresterStep,startTime=0,stopTime=90,tolerance=1e-06,numberOfIntervals=2500,outputFormat="empty",variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.IndustrialDynamics.Inventory.InventoryForresterStep",simflags="-abortSlowSimulation -alarm=240 -lv LOG_STATS") [Timeout 900] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 1.424e-05/1.594e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(SystemDynamics.IndustrialDynamics.Inventory.InventoryForresterStep): time 0.01187/0.01188, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.006837/0.01872, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 0.001109/0.01983, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.001185/0.02101, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.001206/0.02222, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.002597/0.02482, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.003179/0.028, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 0.002867/0.03086, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.002369/0.03323, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.0009555/0.03419, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 0.0003847/0.03457, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 0.0002747/0.03485, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 0.0008074/0.03565, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.0009023/0.03656, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.003016/0.03957, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 0.0003607/0.03993, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 2.495e-06/0.03994, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 3.085e-05/0.03997, allocations: 0 / 0, free: 0 / 0 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.003809/0.04378, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 0.0001806/0.04396, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005756/0.04453, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.001984/0.04652, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003126/0.04683, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 0.000327/0.04716, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.002696/0.04985, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 8.78e-05/0.04994, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002315/0.05017, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.989e-05/0.05026, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001143/0.0514, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009192/0.0606, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.0009969/0.06159, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 0.0002404/0.06183, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 2.986e-05/0.06186, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.789e-05/0.06191, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=133): time 9.969e-06/0.06192, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=133): time 0.0009474/0.06287, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 3.962e-05/0.06291, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009594/0.06387, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 0.0001105/0.06398, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 0.0007362/0.06471, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 0.0003013/0.06501, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003195/0.06533, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 8.877e-06/0.06534, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 0.000225/0.06557, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003498/0.06592, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.0007036/0.06662, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.82e-05/0.06664, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=232) (initialization): time 0.001145/0.06778, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 3.926e-05/0.06782, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.301e-05/0.06785, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 3.868e-05/0.06789, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008186/0.0687, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.235e-05/0.06876, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000496/0.06925, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.431e-05/0.06934, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 67 * Number of states: 0 () * Number of discrete variables: 33 (Factory1.IAF.Integrator1.local_reset,Factory1.UOF.Integrator1.local_reset,Factory1.SRF_delayed.Level1.Integrator1.local_reset,Factory1.Order_Delay.Level1.Integrator1.local_reset,Factory1.Order_Delay.Level2.Integrator1.local_reset,Factory1.Order_Delay.Level3.Integrator1.local_reset,Factory1.Production_Delay.Level1.Integrator1.local_reset,Factory1.Production_Delay.Level2.Integrator1.local_reset,Factory1.Production_Delay.Level3.Integrator1.local_reset,Distribution1.IAD.Integrator1.local_reset,Distribution1.UOD.Integrator1.local_reset,Distribution1.RSD_delayed.Level1.Integrator1.local_reset,Distribution1.Transporation_Delay.Level1.Integrator1.local_reset,Distribution1.Transporation_Delay.Level2.Integrator1.local_reset,Distribution1.Transporation_Delay.Level3.Integrator1.local_reset,Distribution1.Order_Delay.Level1.Integrator1.local_reset,Distribution1.Order_Delay.Level2.Integrator1.local_reset,Distribution1.Order_Delay.Level3.Integrator1.local_reset,Distribution1.Mail_Delay.Level1.Integrator1.local_reset,Distribution1.Mail_Delay.Level2.Integrator1.local_reset,Distribution1.Mail_Delay.Level3.Integrator1.local_reset,Retail1.IAR.Integrator1.local_reset,Retail1.UOR.Integrator1.local_reset,Retail1.RSR_delayed.Level1.Integrator1.local_reset,Retail1.Transporation_Delay.Level1.Integrator1.local_reset,Retail1.Transporation_Delay.Level2.Integrator1.local_reset,Retail1.Transporation_Delay.Level3.Integrator1.local_reset,Retail1.Order_Delay.Level1.Integrator1.local_reset,Retail1.Order_Delay.Level2.Integrator1.local_reset,Retail1.Order_Delay.Level3.Integrator1.local_reset,Retail1.Mail_Delay.Level1.Integrator1.local_reset,Retail1.Mail_Delay.Level2.Integrator1.local_reset,Retail1.Mail_Delay.Level3.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.0004575/0.06979, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001528/0.06995, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000283/0.07023, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.354e-05/0.07024, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 7.605e-06/0.07025, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.257e-05/0.07026, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002261/0.07253, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.716e-06/0.07253, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006687/0.0732, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 1.086e-05/0.07321, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.948e-05/0.07329, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.457e-05/0.07331, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.07331, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001048/0.07436, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 0.0002145/0.07457, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003538/0.07493, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000318/0.07524, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001648/0.07541, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.102e-05/0.07546, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 0.0004911/0.07595, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 4.433e-05/0.076, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.001232/0.07723, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 33 (Factory1.IAF.Integrator1.y,Factory1.UOF.Integrator1.y,Factory1.SRF_delayed.Level1.Integrator1.y,Factory1.Order_Delay.Level1.Integrator1.y,Factory1.Order_Delay.Level2.Integrator1.y,Factory1.Order_Delay.Level3.Integrator1.y,Factory1.Production_Delay.Level1.Integrator1.y,Factory1.Production_Delay.Level2.Integrator1.y,Factory1.Production_Delay.Level3.Integrator1.y,Distribution1.IAD.Integrator1.y,Distribution1.UOD.Integrator1.y,Distribution1.RSD_delayed.Level1.Integrator1.y,Distribution1.Transporation_Delay.Level1.Integrator1.y,Distribution1.Transporation_Delay.Level2.Integrator1.y,Distribution1.Transporation_Delay.Level3.Integrator1.y,Distribution1.Order_Delay.Level1.Integrator1.y,Distribution1.Order_Delay.Level2.Integrator1.y,Distribution1.Order_Delay.Level3.Integrator1.y,Distribution1.Mail_Delay.Level1.Integrator1.y,Distribution1.Mail_Delay.Level2.Integrator1.y,Distribution1.Mail_Delay.Level3.Integrator1.y,Retail1.IAR.Integrator1.y,Retail1.UOR.Integrator1.y,Retail1.RSR_delayed.Level1.Integrator1.y,Retail1.Transporation_Delay.Level1.Integrator1.y,Retail1.Transporation_Delay.Level2.Integrator1.y,Retail1.Transporation_Delay.Level3.Integrator1.y,Retail1.Order_Delay.Level1.Integrator1.y,Retail1.Order_Delay.Level2.Integrator1.y,Retail1.Order_Delay.Level3.Integrator1.y,Retail1.Mail_Delay.Level1.Integrator1.y,Retail1.Mail_Delay.Level2.Integrator1.y,Retail1.Mail_Delay.Level3.Integrator1.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (133): * Single equations (assignments): 133 * 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 Backend phase and start with SimCode phase: time 0.0003641/0.07759, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.000827/0.07842, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.07842, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 0.0003643/0.07879, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001096/0.07988, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00415/0.08403, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000528/0.08456, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 0.0005251/0.08508, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004535/0.08554, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 5.261e-05/0.08559, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.003701/0.08929, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 900] [Calling sys.exit(0), Time elapsed: 0.7593951462768018]