Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001557/0.001557, allocations: 104.3 kB / 19.77 MB, free: 2.051 MB / 14.72 MB " [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.001703/0.001703, allocations: 216.4 kB / 23.07 MB, free: 4.844 MB / 14.72 MB " [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 1.579/1.579, allocations: 230.7 MB / 256.9 MB, free: 7.734 MB / 206.1 MB " [Timeout remaining time 178] 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.2331/0.2331, allocations: 29.23 MB / 342.5 MB, free: 5.641 MB / 270.1 MB " [Timeout remaining time 179] 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: translateModel(SystemDynamics.WorldDynamics.World2.Scenario_3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_3") translateModel(SystemDynamics.WorldDynamics.World2.Scenario_3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_3") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.492e-05/2.492e-05, allocations: 9.031 kB / 479.7 MB, free: 15.87 MB / 350.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.WorldDynamics.World2.Scenario_3): time 0.005028/0.005053, allocations: 3.072 MB / 482.8 MB, free: 12.79 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001793/0.006846, allocations: 0.674 MB / 483.4 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00033/0.007176, allocations: 19.88 kB / 483.4 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004651/0.007641, allocations: 178.3 kB / 483.6 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003341/0.007975, allocations: 126.8 kB / 483.7 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007748/0.00875, allocations: 355.6 kB / 484.1 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001211/0.009961, allocations: 1.055 MB / 485.1 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007401/0.0107, allocations: 469.5 kB / 485.6 MB, free: 9.891 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003671/0.01107, allocations: 366.4 kB / 486 MB, free: 9.531 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003701/0.01144, allocations: 373.5 kB / 486.3 MB, free: 9.164 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001519/0.01159, allocations: 84 kB / 486.4 MB, free: 9.082 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002354/0.01183, allocations: 119.9 kB / 486.5 MB, free: 8.965 MB / 350.1 MB Notification: Performance of combineBinaries: time 0.001504/0.01333, allocations: 1.896 MB / 488.4 MB, free: 7.047 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 0.0009597/0.01429, allocations: 1.318 MB / 489.7 MB, free: 5.711 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001294/0.01442, allocations: 60 kB / 489.8 MB, free: 5.652 MB / 350.1 MB Notification: Performance of FrontEnd: time 0.0002261/0.01465, allocations: 83.17 kB / 489.9 MB, free: 5.57 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 263 (263) * Number of variables: 263 (263) Notification: Performance of [SIM] Bindings: time 0.005046/0.01969, allocations: 4.823 MB / 494.7 MB, free: 500 kB / 350.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0009181/0.02061, allocations: 0.6964 MB / 495.4 MB, free: 15.73 MB / 366.1 MB Notification: Performance of [SIM] Early Inline: time 0.002463/0.02307, allocations: 2.211 MB / 497.6 MB, free: 13.46 MB / 366.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0007817/0.02385, allocations: 433.4 kB / 498 MB, free: 12.93 MB / 366.1 MB Notification: Performance of [SIM] Alias: time 0.008884/0.03274, allocations: 5.935 MB / 0.4922 GB, free: 6.34 MB / 366.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0003222/0.03306, allocations: 192.4 kB / 0.4923 GB, free: 6.105 MB / 366.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0001605/0.03322, allocations: 127.1 kB / 0.4925 GB, free: 5.953 MB / 366.1 MB Notification: Performance of [SIM] Detect States: time 0.0004133/0.03363, allocations: 308.3 kB / 0.4928 GB, free: 5.598 MB / 366.1 MB Notification: Performance of [SIM] Events: time 0.0001591/0.03379, allocations: 49.09 kB / 0.4928 GB, free: 5.551 MB / 366.1 MB Notification: Performance of [SIM] Partitioning: time 0.0005789/0.03437, allocations: 445.9 kB / 0.4932 GB, free: 5.109 MB / 366.1 MB Notification: Performance of [SIM] Causalize: time 0.001334/0.0357, allocations: 0.9398 MB / 0.4941 GB, free: 4.152 MB / 366.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0008131/0.03652, allocations: 0.7727 MB / 0.4949 GB, free: 3.379 MB / 366.1 MB Notification: Performance of [INI] Simplify: time 0.00119/0.03771, allocations: 0.6585 MB / 0.4955 GB, free: 2.648 MB / 366.1 MB Notification: Performance of [INI] Inline: time 0.001281/0.03899, allocations: 1.26 MB / 0.4968 GB, free: 1.383 MB / 366.1 MB Notification: Performance of [INI] Partitioning: time 7.718e-05/0.03907, allocations: 47.92 kB / 0.4968 GB, free: 1.328 MB / 366.1 MB Notification: Performance of [INI] Cleanup: time 0.0001835/0.03925, allocations: 215.8 kB / 0.497 GB, free: 1.117 MB / 366.1 MB Notification: Performance of [INI] Causalize: time 0.002093/0.04134, allocations: 1.535 MB / 0.4985 GB, free: 15.57 MB / 382.1 MB Notification: Performance of [INI] Tearing: time 4.479e-05/0.04139, allocations: 52 kB / 0.4986 GB, free: 15.52 MB / 382.1 MB Notification: Performance of [SIM] Initialization: time 2.515e-06/0.04139, allocations: 4 kB / 0.4986 GB, free: 15.51 MB / 382.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.0004933/0.04188, allocations: 354.4 kB / 0.4989 GB, free: 15.15 MB / 382.1 MB Notification: Performance of [SIM] Remove Dummies: time 6.492e-06/0.04189, allocations: 0.6562 kB / 0.4989 GB, free: 15.15 MB / 382.1 MB Notification: Performance of [SIM] Tearing: time 4.631e-05/0.04194, allocations: 64 kB / 0.499 GB, free: 15.09 MB / 382.1 MB Notification: Performance of [SIM] Categorize: time 1.4e-05/0.04195, allocations: 8 kB / 0.499 GB, free: 15.08 MB / 382.1 MB Notification: Performance of [SIM] Solve: time 0.001434/0.04338, allocations: 1.097 MB / 0.5001 GB, free: 13.98 MB / 382.1 MB Notification: Performance of [SIM] Jacobian: time 0.001041/0.04442, allocations: 0.8702 MB / 0.5009 GB, free: 13.04 MB / 382.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 1 * Number of algebraic event partitions: ......... 0 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 0 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 5 (5) {Pop, Nat_res, Cap_inv, Pol, CIAF.level} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 1 (1) {$TEV_0} * Number of clocks: ............................. 0 (0) {} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 65 (scalar:65, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 102 (scalar:102, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 8.815e-05/0.04451, allocations: 56.44 kB / 0.501 GB, free: 12.99 MB / 382.1 MB Notification: Performance of SimCode: time 0.006215/0.05073, allocations: 4.368 MB / 0.5052 GB, free: 8.52 MB / 382.1 MB Notification: Performance of Templates: time 0.01771/0.06844, allocations: 6.717 MB / 0.5118 GB, free: 1.801 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_3.makefile [Timeout 660] (rm -f SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_3.pipe ; mkfifo SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_3.pipe ; head -c 1048576 < SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_3.pipe >> ../files/SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_3.sim & ./SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_3.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.634242887957953] Failed to read output from testmodel.py, exit status != 0: 0.07833171199308708 0.39181625899999994 0.37411100799999997 Calling exit ...