Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2.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.001673/0.001673, 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.001881/0.001881, 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.814/1.814, allocations: 207.7 MB / 235.4 MB, free: 9.75 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.3677/0.3677, allocations: 49.6 MB / 337.3 MB, free: 3.828 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.TestElectrical2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.884e-05/2.884e-05, allocations: 6.219 kB / 477.7 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical2): time 0.003917/0.003946, allocations: 2.082 MB / 479.7 MB, free: 10.17 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001235/0.00518, allocations: 0.593 MB / 480.3 MB, free: 9.566 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001091/0.00529, allocations: 7.938 kB / 480.3 MB, free: 9.559 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000153/0.005443, allocations: 27.67 kB / 480.4 MB, free: 9.531 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002374/0.00568, allocations: 75.41 kB / 480.4 MB, free: 9.457 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001796/0.00586, allocations: 55.92 kB / 480.5 MB, free: 9.402 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003326/0.006192, allocations: 278.9 kB / 480.8 MB, free: 9.129 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001548/0.006347, allocations: 44.5 kB / 480.8 MB, free: 9.082 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001891/0.006536, allocations: 111.5 kB / 480.9 MB, free: 8.973 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000152/0.006688, allocations: 95.47 kB / 481 MB, free: 8.879 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.282e-05/0.006721, allocations: 16 kB / 481 MB, free: 8.863 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.658e-05/0.006788, allocations: 20 kB / 481.1 MB, free: 8.844 MB / 350.1 MB Notification: Performance of combineBinaries: time 0.0004057/0.007193, allocations: 443.4 kB / 481.5 MB, free: 8.406 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002014/0.007395, allocations: 296.1 kB / 481.8 MB, free: 8.113 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.091e-05/0.007436, allocations: 20 kB / 481.8 MB, free: 8.094 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.937e-05/0.007465, allocations: 4 kB / 481.8 MB, free: 8.09 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: 31 (31) * Number of variables: 31 (31) Notification: Performance of [SIM] Bindings: time 0.00125/0.008715, allocations: 1.046 MB / 482.8 MB, free: 6.922 MB / 350.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0001284/0.008843, allocations: 109.1 kB / 482.9 MB, free: 6.801 MB / 350.1 MB Notification: Performance of [SIM] Early Inline: time 0.000439/0.009282, allocations: 405.3 kB / 483.3 MB, free: 6.379 MB / 350.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0001967/0.009479, allocations: 117.9 kB / 483.5 MB, free: 6.215 MB / 350.1 MB Notification: Performance of [SIM] Alias: time 0.001268/0.01075, allocations: 0.7586 MB / 484.2 MB, free: 5.359 MB / 350.1 MB Notification: Performance of [SIM] Simplify 2: time 0.000144/0.01089, allocations: 108.6 kB / 484.3 MB, free: 5.211 MB / 350.1 MB Notification: Performance of [SIM] Remove Stream: time 7.437e-05/0.01097, allocations: 64.34 kB / 484.4 MB, free: 5.121 MB / 350.1 MB Notification: Performance of [SIM] Detect States: time 0.000255/0.01122, allocations: 141.4 kB / 484.5 MB, free: 4.93 MB / 350.1 MB Notification: Performance of [SIM] Events: time 6.91e-05/0.01129, allocations: 27.92 kB / 484.6 MB, free: 4.902 MB / 350.1 MB Notification: Performance of [SIM] Partitioning: time 0.0001735/0.01146, allocations: 112 kB / 484.7 MB, free: 4.785 MB / 350.1 MB Notification: Performance of [SIM] Causalize: time 0.000316/0.01178, allocations: 213 kB / 484.9 MB, free: 4.57 MB / 350.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.000209/0.01199, allocations: 211.7 kB / 485.1 MB, free: 4.363 MB / 350.1 MB Notification: Performance of [INI] Simplify: time 0.0005761/0.01256, allocations: 372 kB / 485.4 MB, free: 3.926 MB / 350.1 MB Notification: Performance of [INI] Inline: time 0.0004034/0.01297, allocations: 416.9 kB / 485.8 MB, free: 3.516 MB / 350.1 MB Notification: Performance of [INI] Partitioning: time 3.786e-05/0.01301, allocations: 26.72 kB / 485.9 MB, free: 3.48 MB / 350.1 MB Notification: Performance of [INI] Cleanup: time 5.932e-05/0.01306, allocations: 59.94 kB / 485.9 MB, free: 3.422 MB / 350.1 MB Warning: NBResolveSingularities.balanceInitialization reports an overdetermined initialization! Checking for consistency is not yet supported, following equations had to be removed: [SCAL] (1) grid.fnom = system.fnom ($RES_BND_54); Notification: Performance of [INI] Causalize: time 0.001246/0.01431, allocations: 0.8726 MB / 486.8 MB, free: 2.527 MB / 350.1 MB Notification: Performance of [INI] Tearing: time 2.19e-05/0.01433, allocations: 16 kB / 486.8 MB, free: 2.512 MB / 350.1 MB Notification: Performance of [SIM] Initialization: time 5.01e-07/0.01433, allocations: 0 / 486.8 MB, free: 2.512 MB / 350.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.0001424/0.01448, allocations: 104 kB / 486.9 MB, free: 2.402 MB / 350.1 MB Notification: Performance of [SIM] Remove Dummies: time 4.568e-06/0.01448, allocations: 0 / 486.9 MB, free: 2.402 MB / 350.1 MB Notification: Performance of [SIM] Tearing: time 1.939e-05/0.0145, allocations: 19.94 kB / 486.9 MB, free: 2.383 MB / 350.1 MB Notification: Performance of [SIM] Categorize: time 7.834e-06/0.01451, allocations: 4 kB / 486.9 MB, free: 2.379 MB / 350.1 MB Notification: Performance of [SIM] Solve: time 0.0008715/0.01538, allocations: 0.6378 MB / 487.6 MB, free: 1.742 MB / 350.1 MB Notification: Performance of [SIM] Jacobian: time 0.0004513/0.01583, allocations: 464.1 kB / 488 MB, free: 1.223 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: ............................. 3 (3) {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: ........... 15 (scalar:15, 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: ........... 34 (scalar:34, 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 5.474e-05/0.01588, allocations: 35.33 kB / 488.1 MB, free: 1.188 MB / 350.1 MB Notification: Performance of SimCode: time 0.001031/0.01692, allocations: 0.6971 MB / 488.8 MB, free: 484 kB / 350.1 MB Notification: Performance of Templates: time 0.005195/0.02211, allocations: 1.661 MB / 490.4 MB, free: 14.82 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2.pipe ; mkfifo ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2.pipe >> ../files/ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2.sim & ./ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.261739467969164] Failed to read output from testmodel.py, exit status != 0: 0.030588192981667817 0.04495058299999994 0.03450047699999994 Calling exit ...