Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4.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.001546/0.001546, allocations: 103.6 kB / 21.25 MB, free: 0.5664 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.002181/0.002181, allocations: 211 kB / 24.55 MB, free: 3.824 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.831/1.831, allocations: 207.7 MB / 235.4 MB, free: 9.77 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo): time 0.3601/0.3601, allocations: 49.61 MB / 337.3 MB, free: 3.832 MB / 270.1 MB " [Timeout remaining time 179] Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo) 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(ThermoPower.Test.ElectricalComponents.TestElectrical4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.754e-05/2.754e-05, allocations: 2.281 kB / 477.7 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical4): time 0.004531/0.004558, allocations: 2.16 MB / 479.8 MB, free: 10.1 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001392/0.00595, allocations: 0.632 MB / 480.4 MB, free: 9.461 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000123/0.006073, allocations: 4 kB / 480.5 MB, free: 9.457 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000148/0.006221, allocations: 35.59 kB / 480.5 MB, free: 9.422 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002582/0.006479, allocations: 75.34 kB / 480.6 MB, free: 9.348 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002017/0.006681, allocations: 63.91 kB / 480.6 MB, free: 9.285 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003979/0.007079, allocations: 314.7 kB / 480.9 MB, free: 8.977 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002591/0.007338, allocations: 44.84 kB / 481 MB, free: 8.93 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002207/0.007559, allocations: 127.5 kB / 481.1 MB, free: 8.805 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002064/0.007765, allocations: 103.4 kB / 481.2 MB, free: 8.703 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.093e-05/0.007806, allocations: 16 kB / 481.2 MB, free: 8.688 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.034e-05/0.007886, allocations: 20 kB / 481.2 MB, free: 8.668 MB / 350.1 MB Notification: Performance of combineBinaries: time 0.0005497/0.008436, allocations: 0.4949 MB / 481.7 MB, free: 8.168 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002592/0.008695, allocations: 319.8 kB / 482 MB, free: 7.852 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.008e-05/0.008735, allocations: 23.94 kB / 482.1 MB, free: 7.828 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.976e-05/0.008775, allocations: 4 kB / 482.1 MB, free: 7.824 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: 37 (37) * Number of variables: 37 (37) Notification: Performance of [SIM] Bindings: time 0.001408/0.01018, allocations: 1.168 MB / 483.2 MB, free: 6.527 MB / 350.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0002096/0.01039, allocations: 113.2 kB / 483.3 MB, free: 6.406 MB / 350.1 MB Notification: Performance of [SIM] Early Inline: time 0.0005359/0.01093, allocations: 487.7 kB / 483.8 MB, free: 5.902 MB / 350.1 MB Notification: Performance of [SIM] Simplify 1: time 0.000249/0.01118, allocations: 149.8 kB / 484 MB, free: 5.707 MB / 350.1 MB Notification: Performance of [SIM] Alias: time 0.001643/0.01282, allocations: 0.8878 MB / 484.9 MB, free: 4.707 MB / 350.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0001767/0.013, allocations: 124.6 kB / 485 MB, free: 4.543 MB / 350.1 MB Notification: Performance of [SIM] Remove Stream: time 8.003e-05/0.01308, allocations: 60.34 kB / 485 MB, free: 4.457 MB / 350.1 MB Notification: Performance of [SIM] Detect States: time 0.0002809/0.01336, allocations: 164.6 kB / 485.2 MB, free: 4.242 MB / 350.1 MB Notification: Performance of [SIM] Events: time 7.33e-05/0.01343, allocations: 31.92 kB / 485.2 MB, free: 4.211 MB / 350.1 MB Notification: Performance of [SIM] Partitioning: time 0.0002521/0.01368, allocations: 129.9 kB / 485.4 MB, free: 4.078 MB / 350.1 MB Notification: Performance of [SIM] Causalize: time 0.0003483/0.01403, allocations: 234.9 kB / 485.6 MB, free: 3.84 MB / 350.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0004234/0.01446, allocations: 247.6 kB / 485.8 MB, free: 3.598 MB / 350.1 MB Notification: Performance of [INI] Simplify: time 0.0006071/0.01506, allocations: 384.9 kB / 486.2 MB, free: 3.152 MB / 350.1 MB Notification: Performance of [INI] Inline: time 0.0004797/0.01554, allocations: 472.9 kB / 486.7 MB, free: 2.684 MB / 350.1 MB Notification: Performance of [INI] Partitioning: time 3.653e-05/0.01558, allocations: 22.73 kB / 486.7 MB, free: 2.656 MB / 350.1 MB Notification: Performance of [INI] Cleanup: time 6.719e-05/0.01565, allocations: 67.92 kB / 486.8 MB, free: 2.59 MB / 350.1 MB Notification: Performance of [INI] Causalize: time 0.0008573/0.0165, allocations: 0.5629 MB / 487.3 MB, free: 2.016 MB / 350.1 MB Notification: Performance of [INI] Tearing: time 3.251e-05/0.01654, allocations: 24 kB / 487.3 MB, free: 1.992 MB / 350.1 MB Notification: Performance of [SIM] Initialization: time 4.21e-07/0.01654, allocations: 3.938 kB / 487.3 MB, free: 1.988 MB / 350.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.0001958/0.01673, allocations: 108 kB / 487.5 MB, free: 1.875 MB / 350.1 MB Notification: Performance of [SIM] Remove Dummies: time 8.065e-06/0.01674, allocations: 3.906 kB / 487.5 MB, free: 1.871 MB / 350.1 MB Notification: Performance of [SIM] Tearing: time 1.109e-05/0.01675, allocations: 16 kB / 487.5 MB, free: 1.855 MB / 350.1 MB Notification: Performance of [SIM] Categorize: time 1.06e-05/0.01676, allocations: 4 kB / 487.5 MB, free: 1.852 MB / 350.1 MB Notification: Performance of [SIM] Solve: time 0.001147/0.01791, allocations: 0.6859 MB / 488.2 MB, free: 1.168 MB / 350.1 MB Notification: Performance of [SIM] Jacobian: time 0.0005706/0.01848, allocations: 487.9 kB / 488.6 MB, free: 0.625 MB / 350.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: ............................. 4 (4) {grid.port.theta, generator.omega_e_filt, generator.theta, generator.omega_m} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 2 (2) {$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: ........... 18 (scalar:18, 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: ........... 38 (scalar:38, 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.905e-05/0.01857, allocations: 49.41 kB / 488.7 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of SimCode: time 0.001239/0.01981, allocations: 0.7904 MB / 489.5 MB, free: 15.76 MB / 366.1 MB Notification: Performance of Templates: time 0.005805/0.02561, allocations: 1.874 MB / 491.3 MB, free: 13.89 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4.pipe ; mkfifo ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4.pipe >> ../files/ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4.sim & ./ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.291017002949957] Failed to read output from testmodel.py, exit status != 0: 0.03457684500608593 0.048649219 0.036730899000000004 Calling exit ...