Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternData_ExternData.Examples.JSONTest.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.001229/0.001229, allocations: 104.3 kB / 19.76 MB, free: 1.906 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.001335/0.001335, allocations: 213.9 kB / 23.06 MB, free: 4.984 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.359/1.359, allocations: 230.7 MB / 256.9 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.2.0/package.mo): time 0.01536/0.01536, allocations: 3.279 MB / 316.6 MB, free: 15.6 MB / 254.1 MB " [Timeout remaining time 180] Using package ExternData with version 3.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.2.0/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(ExternData.Examples.JSONTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.JSONTest") translateModel(ExternData.Examples.JSONTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.JSONTest") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.634e-05/1.634e-05, allocations: 6.219 kB / 440.8 MB, free: 11.47 MB / 302.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.JSONTest): time 0.002343/0.002359, allocations: 1.697 MB / 442.5 MB, free: 9.762 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001814/0.004173, allocations: 1.714 MB / 444.2 MB, free: 8.039 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.416e-05/0.004237, allocations: 4 kB / 444.2 MB, free: 8.035 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.2.0/package.mo:86:3-121:15:writable] Warning: Pure function 'ExternData.JSONFile' contains a call to impure function 'ExternData.Types.ExternJSONFile.constructor'. Notification: Performance of NFTyping.typeComponents: time 0.0003459/0.004583, allocations: 43.77 kB / 444.3 MB, free: 7.992 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000319/0.004902, allocations: 122.1 kB / 444.4 MB, free: 7.875 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001865/0.005089, allocations: 91.78 kB / 444.5 MB, free: 7.785 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001232/0.005212, allocations: 99.69 kB / 444.6 MB, free: 7.688 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.675e-05/0.005299, allocations: 11.97 kB / 444.6 MB, free: 7.676 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.96e-05/0.005358, allocations: 35.92 kB / 444.6 MB, free: 7.641 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001188/0.005477, allocations: 39.77 kB / 444.7 MB, free: 7.602 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.804e-05/0.005495, allocations: 4 kB / 444.7 MB, free: 7.598 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002177/0.005713, allocations: 195.7 kB / 444.9 MB, free: 7.406 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0001132/0.005826, allocations: 166.2 kB / 445 MB, free: 7.242 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 3.427e-05/0.00586, allocations: 102.6 kB / 445.1 MB, free: 7.141 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.101e-05/0.005891, allocations: 8 kB / 445.1 MB, free: 7.133 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.229e-05/0.005904, allocations: 0 / 445.1 MB, free: 7.133 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 (8) * Number of variables: 12 (12) Notification: Performance of [SIM] Bindings: time 0.000661/0.006565, allocations: 0.5336 MB / 445.7 MB, free: 6.477 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 5.082e-05/0.006615, allocations: 56 kB / 445.7 MB, free: 6.41 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.0001271/0.006743, allocations: 192.2 kB / 445.9 MB, free: 6.195 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 7.136e-05/0.006814, allocations: 80.72 kB / 446 MB, free: 6.07 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.0003885/0.007202, allocations: 260.5 kB / 446.2 MB, free: 5.75 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 6.061e-05/0.007263, allocations: 88.69 kB / 446.3 MB, free: 5.617 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 3.65e-05/0.007299, allocations: 56.42 kB / 446.4 MB, free: 5.535 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0001264/0.007426, allocations: 124.7 kB / 446.5 MB, free: 5.359 MB / 302.1 MB Notification: Performance of [SIM] Events: time 9.014e-05/0.007516, allocations: 29.67 kB / 446.5 MB, free: 5.328 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0001132/0.007629, allocations: 112.1 kB / 446.6 MB, free: 5.203 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.000174/0.007803, allocations: 132.6 kB / 446.8 MB, free: 5.059 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 9.402e-05/0.007897, allocations: 156.2 kB / 446.9 MB, free: 4.906 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.001217/0.009114, allocations: 322 kB / 447.2 MB, free: 4.574 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.0001547/0.009269, allocations: 259.9 kB / 447.5 MB, free: 4.316 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 1.313e-05/0.009282, allocations: 16.06 kB / 447.5 MB, free: 4.293 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 5.712e-05/0.009339, allocations: 63.95 kB / 447.6 MB, free: 4.23 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.0003692/0.009708, allocations: 394 kB / 448 MB, free: 3.836 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 1.087e-05/0.009719, allocations: 8 kB / 448 MB, free: 3.828 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 3.21e-07/0.009719, allocations: 4 kB / 448 MB, free: 3.824 MB / 302.1 MB Notification: Performance of [SIM] DAE-Mode: time 5.016e-05/0.00977, allocations: 36.23 kB / 448 MB, free: 3.773 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 4.378e-06/0.009774, allocations: 8 kB / 448 MB, free: 3.766 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 1.256e-05/0.009786, allocations: 4 kB / 448 MB, free: 3.762 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 1.11e-05/0.009798, allocations: 11.92 kB / 448 MB, free: 3.75 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 0.0001424/0.00994, allocations: 111.9 kB / 448.1 MB, free: 3.641 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 0.0001237/0.01006, allocations: 356.1 kB / 448.5 MB, free: 3.227 MB / 302.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: ............... 0 * Number of algebraic event partitions: ......... 2 * 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: ............................. 0 (0) {} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 8 (8) {timeTable.a, timeTable.b, timeTable.last, timeTable.nextEvent, timeTable.nextEventScaled, $SEV_1, $SEV_0, $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: ........... 5 (scalar:5, array:0, record:0) * Number of multi strong components: ............ 1 (algorithm:1, 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: ........... 11 (scalar:10, array:1, record:0) * Number of multi strong components: ............ 1 (algorithm:1, 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 3.451e-05/0.0101, allocations: 30.42 kB / 448.5 MB, free: 3.203 MB / 302.1 MB Notification: Performance of SimCode: time 0.001621/0.01172, allocations: 0.9068 MB / 449.4 MB, free: 2.336 MB / 302.1 MB Notification: Performance of Templates: time 0.004464/0.01618, allocations: 2.289 MB / 451.7 MB, free: 56 kB / 302.1 MB " [Timeout remaining time 660] make -j1 -f ExternData_ExternData.Examples.JSONTest.makefile [Timeout 660] (rm -f ExternData_ExternData.Examples.JSONTest.pipe ; mkfifo ExternData_ExternData.Examples.JSONTest.pipe ; head -c 1048576 < ExternData_ExternData.Examples.JSONTest.pipe >> ../files/ExternData_ExternData.Examples.JSONTest.sim & ./ExternData_ExternData.Examples.JSONTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > ExternData_ExternData.Examples.JSONTest.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.144283968023956] Failed to read output from testmodel.py, exit status != 0: 0.022778893006034195 0.03754765 0.028866261 Calling exit ...