Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.StateGraph.Examples.FirstExample.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.00216/0.00216, allocations: 111.4 kB / 21.99 MB, free: 4.555 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.00256/0.00256, allocations: 213.5 kB / 25.3 MB, free: 2.906 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.903/1.903, allocations: 207.7 MB / 236.2 MB, free: 9.746 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Modelica.StateGraph.Examples.FirstExample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|transition1.enableFire|transition2.enableFire",fileNamePrefix="Modelica_3.2.3_Modelica.StateGraph.Examples.FirstExample") translateModel(Modelica.StateGraph.Examples.FirstExample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|transition1.enableFire|transition2.enableFire",fileNamePrefix="Modelica_3.2.3_Modelica.StateGraph.Examples.FirstExample") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.42e-05/2.42e-05, allocations: 2.281 kB / 348.5 MB, free: 9.387 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.StateGraph.Examples.FirstExample): time 0.003141/0.003165, allocations: 1.442 MB / 349.9 MB, free: 7.93 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006609/0.003826, allocations: 259.2 kB / 350.2 MB, free: 7.676 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.239e-05/0.003918, allocations: 7.938 kB / 350.2 MB, free: 7.668 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001282/0.004047, allocations: 23.73 kB / 350.2 MB, free: 7.645 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 5.16e-05/0.004098, allocations: 15.81 kB / 350.2 MB, free: 7.629 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004596/0.004558, allocations: 119.8 kB / 350.3 MB, free: 7.512 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004008/0.004959, allocations: 299.5 kB / 350.6 MB, free: 7.219 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003586/0.005317, allocations: 146.7 kB / 350.8 MB, free: 7.074 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001559/0.005473, allocations: 119.7 kB / 350.9 MB, free: 6.957 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002702/0.005743, allocations: 103.5 kB / 351 MB, free: 6.855 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.936e-05/0.005793, allocations: 24 kB / 351 MB, free: 6.832 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.987e-05/0.005882, allocations: 32 kB / 351.1 MB, free: 6.801 MB / 286.1 MB Notification: Performance of combineBinaries: time 0.0004164/0.006299, allocations: 376.3 kB / 351.4 MB, free: 6.43 MB / 286.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001978/0.006497, allocations: 228.9 kB / 351.6 MB, free: 6.203 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.979e-05/0.006536, allocations: 16 kB / 351.7 MB, free: 6.188 MB / 286.1 MB Notification: Performance of FrontEnd: time 5.793e-05/0.006594, allocations: 27.84 kB / 351.7 MB, free: 6.16 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 55 (55) * Number of variables: 55 (55) Notification: Performance of [SIM] Bindings: time 0.001408/0.008003, allocations: 0.9626 MB / 352.7 MB, free: 5.074 MB / 286.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0002281/0.008231, allocations: 163.8 kB / 352.8 MB, free: 4.902 MB / 286.1 MB Notification: Performance of [SIM] Early Inline: time 0.0006952/0.008926, allocations: 0.6586 MB / 353.5 MB, free: 4.215 MB / 286.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0002455/0.009172, allocations: 153.8 kB / 353.6 MB, free: 4.02 MB / 286.1 MB Notification: Performance of [SIM] Alias: time 0.00166/0.01083, allocations: 0.9744 MB / 354.6 MB, free: 2.906 MB / 286.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0001897/0.01102, allocations: 133.8 kB / 354.7 MB, free: 2.73 MB / 286.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0001039/0.01112, allocations: 83.02 kB / 354.8 MB, free: 2.621 MB / 286.1 MB Notification: Performance of [SIM] Detect States: time 0.0004186/0.01154, allocations: 243 kB / 355 MB, free: 2.336 MB / 286.1 MB Notification: Performance of [SIM] Events: time 0.0001233/0.01167, allocations: 65.06 kB / 355.1 MB, free: 2.27 MB / 286.1 MB Notification: Performance of [SIM] Partitioning: time 0.0003147/0.01198, allocations: 227.6 kB / 355.3 MB, free: 2.039 MB / 286.1 MB Notification: Performance of [SIM] Causalize: time 0.0008838/0.01287, allocations: 0.6075 MB / 355.9 MB, free: 1.426 MB / 286.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0004195/0.01328, allocations: 435.6 kB / 356.4 MB, free: 1 MB / 286.1 MB Notification: Performance of [INI] Simplify: time 0.0004581/0.01374, allocations: 276.4 kB / 356.6 MB, free: 0.6602 MB / 286.1 MB Notification: Performance of [INI] Inline: time 0.0005788/0.01432, allocations: 0.5711 MB / 357.2 MB, free: 88 kB / 286.1 MB Notification: Performance of [INI] Partitioning: time 4.386e-05/0.01437, allocations: 26.73 kB / 357.2 MB, free: 52 kB / 286.1 MB Notification: Performance of [INI] Cleanup: time 0.0001172/0.01448, allocations: 91.92 kB / 357.3 MB, free: 15.96 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.002046/0.01653, allocations: 1.293 MB / 358.6 MB, free: 14.66 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 3.301e-05/0.01656, allocations: 28 kB / 358.6 MB, free: 14.64 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 5.11e-07/0.01656, allocations: 0 / 358.6 MB, free: 14.64 MB / 302.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.0001058/0.01667, allocations: 64 kB / 358.7 MB, free: 14.57 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 7.324e-06/0.01668, allocations: 4 kB / 358.7 MB, free: 14.56 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 1.848e-05/0.01669, allocations: 28 kB / 358.7 MB, free: 14.54 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 1.084e-05/0.0167, allocations: 4 kB / 358.7 MB, free: 14.53 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 0.0005344/0.01724, allocations: 314.1 kB / 359 MB, free: 14.23 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 0.0001966/0.01744, allocations: 194 kB / 359.2 MB, free: 14 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: ......... 1 * 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: .................... 2 (2) {transition2.t_start, transition1.t_start} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 35 (35) {initialStep.active, initialStep.localActive, initialStep.inPort.occupied, initialStep.inPort.set, initialStep.outPort.available, initialStep.outPort.reset, initialStep.newActive, transition1.enableFire, transition1.fire, transition1.inPort.available, transition1.outPort.occupied, step.active, step.localActive, step.inPort.occupied, step.inPort.set, step.outPort.available, step.outPort.reset, step.newActive, transition2.enableFire, transition2.fire, transition2.inPort.available, transition2.outPort.occupied, stateGraphRoot.activeSteps, $FUN_1, $FUN_2, $FUN_3, $FUN_4, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $TEV_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: ........... 42 (scalar:42, array:0, record:0) * Number of multi strong components: ............ 2 (algorithm:0, when:2, 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: ........... 54 (scalar:54, 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 0.0001493/0.01759, allocations: 41.25 kB / 359.3 MB, free: 13.96 MB / 302.1 MB Notification: Performance of SimCode: time 0.001064/0.01865, allocations: 0.6473 MB / 359.9 MB, free: 13.28 MB / 302.1 MB Notification: Performance of Templates: time 0.005133/0.02378, allocations: 1.607 MB / 361.5 MB, free: 11.68 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.StateGraph.Examples.FirstExample.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.StateGraph.Examples.FirstExample.pipe ; mkfifo Modelica_3.2.3_Modelica.StateGraph.Examples.FirstExample.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.StateGraph.Examples.FirstExample.pipe >> ../files/Modelica_3.2.3_Modelica.StateGraph.Examples.FirstExample.sim & ./Modelica_3.2.3_Modelica.StateGraph.Examples.FirstExample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.StateGraph.Examples.FirstExample.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.002125598024577] Failed to read output from testmodel.py, exit status != 0: ['time', 'transition1.enableFire', 'transition2.enableFire'] 0.032772740989457816 0.0497324 0.039879533 Calling exit ...