Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr SystemDynamics_SystemDynamics.IndustrialDynamics.Inventory.InventoryForresterNormalNoise.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.0004179/0.0004179, 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.0002966/0.0002966, 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.1532/0.1532, 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.0193/0.0193, 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.InventoryForresterNormalNoise,startTime=0,stopTime=520,tolerance=1e-06,numberOfIntervals=2500,outputFormat="empty",variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.IndustrialDynamics.Inventory.InventoryForresterNormalNoise",simflags="-abortSlowSimulation -alarm=240 -lv LOG_STATS") simulate(SystemDynamics.IndustrialDynamics.Inventory.InventoryForresterNormalNoise,startTime=0,stopTime=520,tolerance=1e-06,numberOfIntervals=2500,outputFormat="empty",variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.IndustrialDynamics.Inventory.InventoryForresterNormalNoise",simflags="-abortSlowSimulation -alarm=240 -lv LOG_STATS") [Timeout 900] "Notification: Performance of FrontEnd - loaded program: time 1.853e-06/1.853e-06, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 2.532e-05/2.717e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(SystemDynamics.IndustrialDynamics.Inventory.InventoryForresterNormalNoise): time 0.01813/0.01815, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.008503/0.02666, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 0.004583/0.03124, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.001136/0.03238, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.00429/0.03667, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.005604/0.04227, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.006077/0.04835, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 0.002464/0.05081, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.002072/0.05288, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.0007768/0.05366, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 0.0003846/0.05404, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 0.0002714/0.05432, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 0.0006694/0.05499, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.0008504/0.05584, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.002862/0.0587, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 0.0002543/0.05895, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 2.254e-06/0.05895, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 2.816e-05/0.05898, 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.003298/0.06228, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 0.0001323/0.06241, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004508/0.06286, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.001607/0.06447, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002191/0.06469, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002656/0.06495, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.002637/0.06759, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 5.542e-05/0.06765, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001919/0.06784, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.612e-05/0.06789, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001171/0.06907, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007861/0.07693, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.0007223/0.07765, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 0.0001723/0.07782, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 1.758e-05/0.07784, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003569/0.0782, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=135): time 5.51e-06/0.0782, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=135): time 0.0007392/0.07894, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 3.788e-05/0.07898, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008403/0.07982, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 9.199e-05/0.07991, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 0.0005503/0.08046, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 0.0001707/0.08063, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002269/0.08086, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 1.999e-05/0.08088, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001812/0.08106, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.000296/0.08136, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.000695/0.08205, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.608e-06/0.08206, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=235) (initialization): time 0.0008032/0.08286, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/0.08288, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.321e-05/0.0829, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 3.098e-05/0.08293, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005147/0.08344, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.945e-05/0.08347, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002967/0.08377, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.724e-05/0.08383, allocations: 0 / 0, free: 0 / 0 Warning: Assuming fixed start value for the following 1 variables: NoiseNormal1.y:DISCRETE(flow=false fixed = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 68 * Number of states: 0 () * Number of discrete variables: 36 ($whenCondition1,$PRE.NoiseNormal1.y,NoiseNormal1.y,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 (235): * Single equations (assignments): 235 * 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.0004003/0.08423, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 8.608e-05/0.08431, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001871/0.0845, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.915e-06/0.08451, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.08451, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.08452, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001584/0.0861, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.08611, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004014/0.08651, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 6.172e-06/0.08652, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.622e-05/0.08657, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.153e-06/0.08658, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.08658, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007581/0.08734, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 0.0001539/0.08749, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002422/0.08773, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001992/0.08793, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001582/0.08809, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.151e-05/0.08813, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 0.0004023/0.08853, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 2.547e-05/0.08856, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.0006194/0.08918, 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: 2 ($whenCondition1,NoiseNormal1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (135): * Single equations (assignments): 134 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0008188/0.09, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.0006999/0.0907, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.0907, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 0.0003024/0.091, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007843/0.09179, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002891/0.09468, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003366/0.09501, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 0.0004073/0.09542, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002965/0.09572, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 2.753e-05/0.09575, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.005072/0.1008, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 900] [Calling sys.exit(0), Time elapsed: 0.8696479331701994]