Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.StateGraph.Examples.FirstExample_Variant2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001763/0.001763, allocations: 96.03 kB / 21.25 MB, free: 428 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002553/0.002553, allocations: 188.4 kB / 24.53 MB, free: 3.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.575/1.575, allocations: 225.7 MB / 253.4 MB, free: 12.8 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.StateGraph.Examples.FirstExample_Variant2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5012,variableFilter="time|transition1.enableFire|transition2.enableFire",fileNamePrefix="Modelica_4.0.0_Modelica.StateGraph.Examples.FirstExample_Variant2") translateModel(Modelica.StateGraph.Examples.FirstExample_Variant2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5012,variableFilter="time|transition1.enableFire|transition2.enableFire",fileNamePrefix="Modelica_4.0.0_Modelica.StateGraph.Examples.FirstExample_Variant2") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.932e-05/2.932e-05, allocations: 6.219 kB / 371.7 MB, free: 9.219 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.StateGraph.Examples.FirstExample_Variant2): time 0.003085/0.003114, allocations: 1.637 MB / 373.3 MB, free: 7.562 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007888/0.003903, allocations: 287.1 kB / 373.6 MB, free: 7.281 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000103/0.004006, allocations: 7.938 kB / 373.6 MB, free: 7.273 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000147/0.004153, allocations: 27.73 kB / 373.6 MB, free: 7.246 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 5.017e-05/0.004203, allocations: 19.73 kB / 373.7 MB, free: 7.227 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004732/0.004676, allocations: 123.8 kB / 373.8 MB, free: 7.105 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004766/0.005153, allocations: 315.5 kB / 374.1 MB, free: 6.797 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003472/0.0055, allocations: 175.5 kB / 374.3 MB, free: 6.621 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002039/0.005704, allocations: 123.7 kB / 374.4 MB, free: 6.5 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001691/0.005873, allocations: 111.5 kB / 374.5 MB, free: 6.391 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001119/0.005985, allocations: 24 kB / 374.5 MB, free: 6.367 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.378e-05/0.006079, allocations: 35.98 kB / 374.6 MB, free: 6.332 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0003758/0.006454, allocations: 415.8 kB / 375 MB, free: 5.922 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001812/0.006636, allocations: 244.7 kB / 375.2 MB, free: 5.68 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.809e-05/0.006684, allocations: 16 kB / 375.2 MB, free: 5.664 MB / 302.1 MB Notification: Performance of FrontEnd: time 6.286e-05/0.006747, allocations: 31.78 kB / 375.2 MB, free: 5.633 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: 60 (60) * Number of variables: 60 (60) Notification: Performance of [SIM] Bindings: time 0.001449/0.008195, allocations: 1.025 MB / 376.3 MB, free: 4.484 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0002399/0.008435, allocations: 171.8 kB / 376.4 MB, free: 4.305 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.0007689/0.009204, allocations: 0.6782 MB / 377.1 MB, free: 3.598 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0002686/0.009472, allocations: 157.7 kB / 377.3 MB, free: 3.398 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.001655/0.01113, allocations: 1.036 MB / 378.3 MB, free: 2.211 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0002055/0.01133, allocations: 133.8 kB / 378.4 MB, free: 2.035 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0001129/0.01145, allocations: 87 kB / 378.5 MB, free: 1.922 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0003818/0.01183, allocations: 228.3 kB / 378.7 MB, free: 1.648 MB / 302.1 MB Notification: Performance of [SIM] Events: time 0.0001571/0.01198, allocations: 82.06 kB / 378.8 MB, free: 1.566 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0003461/0.01233, allocations: 227.6 kB / 379.1 MB, free: 1.336 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.0009541/0.01328, allocations: 0.5919 MB / 379.6 MB, free: 0.7383 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0004107/0.0137, allocations: 423.6 kB / 380.1 MB, free: 332 kB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.233/0.2467, allocations: 276.6 kB / 380.3 MB, free: 17.64 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.0007399/0.2475, allocations: 0.5504 MB / 380.9 MB, free: 17.63 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 5.644e-05/0.2475, allocations: 23.73 kB / 380.9 MB, free: 17.61 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 0.0001011/0.2476, allocations: 96.42 kB / 381 MB, free: 17.61 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.002312/0.2499, allocations: 1.305 MB / 382.3 MB, free: 17.55 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 3.246e-05/0.25, allocations: 27.31 kB / 382.3 MB, free: 17.54 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 1.313e-06/0.25, allocations: 0.7812 kB / 382.3 MB, free: 17.54 MB / 302.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.0001235/0.2501, allocations: 56.66 kB / 382.4 MB, free: 17.52 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 7.173e-06/0.2501, allocations: 1.094 kB / 382.4 MB, free: 17.52 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 1.531e-05/0.2501, allocations: 28.59 kB / 382.4 MB, free: 17.5 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 1.421e-05/0.2501, allocations: 2.562 kB / 382.4 MB, free: 17.5 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 0.0005429/0.2507, allocations: 302.1 kB / 382.7 MB, free: 17.48 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 0.000193/0.2509, allocations: 192.1 kB / 382.9 MB, free: 17.3 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) {timer.entryTime, 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.localActive, step.inPort.occupied, step.inPort.set, step.outPort.available, step.outPort.reset, step.newActive, transition2.localCondition, 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: ........... 41 (scalar:41, 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.0001738/0.2511, allocations: 54.86 kB / 382.9 MB, free: 17.27 MB / 302.1 MB Notification: Performance of SimCode: time 0.001179/0.2522, allocations: 0.6609 MB / 383.6 MB, free: 17 MB / 302.1 MB Notification: Performance of Templates: time 0.005824/0.2581, allocations: 1.629 MB / 385.2 MB, free: 16.86 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.StateGraph.Examples.FirstExample_Variant2.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.StateGraph.Examples.FirstExample_Variant2.pipe ; mkfifo Modelica_4.0.0_Modelica.StateGraph.Examples.FirstExample_Variant2.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.StateGraph.Examples.FirstExample_Variant2.pipe >> ../files/Modelica_4.0.0_Modelica.StateGraph.Examples.FirstExample_Variant2.sim & ./Modelica_4.0.0_Modelica.StateGraph.Examples.FirstExample_Variant2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.StateGraph.Examples.FirstExample_Variant2.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.981193790037651] Failed to read output from testmodel.py, exit status != 0: ['time', 'transition1.enableFire', 'transition2.enableFire'] 0.2662837580428459 0.279979038 0.270353167 Calling exit ...