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.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.001231/0.001231, allocations: 108.6 kB / 21.08 MB, free: 0.8438 MB / 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.001266/0.001266, allocations: 186 kB / 24.34 MB, free: 4.238 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.138/1.138, allocations: 207.6 MB / 235.1 MB, free: 10.02 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2459/0.2459, allocations: 49.56 MB / 336.9 MB, free: 4.148 MB / 270.1 MB " [Timeout remaining time 180] Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-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.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(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 1.001e-05/1.001e-05, allocations: 2.281 kB / 477.2 MB, free: 12.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical2): time 0.00289/0.0029, allocations: 2.193 MB / 479.4 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009301/0.00383, allocations: 0.6359 MB / 480 MB, free: 9.781 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.968e-05/0.003909, allocations: 3.938 kB / 480 MB, free: 9.777 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 9.533e-05/0.004005, allocations: 31.66 kB / 480 MB, free: 9.746 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001748/0.00418, allocations: 79.41 kB / 480.1 MB, free: 9.668 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001251/0.004305, allocations: 47.94 kB / 480.2 MB, free: 9.621 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002896/0.004594, allocations: 290.8 kB / 480.4 MB, free: 9.336 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001005/0.004695, allocations: 36.52 kB / 480.5 MB, free: 9.297 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001637/0.004858, allocations: 119.5 kB / 480.6 MB, free: 9.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001221/0.00498, allocations: 91.55 kB / 480.7 MB, free: 9.09 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.911e-05/0.00501, allocations: 16 kB / 480.7 MB, free: 9.074 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.288e-05/0.005062, allocations: 24 kB / 480.7 MB, free: 9.051 MB / 350.1 MB Notification: Performance of combineBinaries: time 0.0003712/0.005434, allocations: 455.3 kB / 481.2 MB, free: 8.602 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001772/0.005611, allocations: 296 kB / 481.5 MB, free: 8.309 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.165e-05/0.005653, allocations: 31.88 kB / 481.5 MB, free: 8.277 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.433e-05/0.005677, allocations: 8 kB / 481.5 MB, free: 8.27 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 Bindings: time 0.0009801/0.006657, allocations: 1.038 MB / 482.5 MB, free: 7.109 MB / 350.1 MB Notification: Performance of FunctionAlias: time 9.469e-05/0.006752, allocations: 93.12 kB / 482.6 MB, free: 7.004 MB / 350.1 MB Notification: Performance of Early Inline: time 0.000368/0.00712, allocations: 405.3 kB / 483 MB, free: 6.582 MB / 350.1 MB Notification: Performance of Simplify 1: time 0.0001491/0.007269, allocations: 129.9 kB / 483.1 MB, free: 6.406 MB / 350.1 MB Notification: Performance of Alias: time 0.000996/0.008265, allocations: 0.7372 MB / 483.9 MB, free: 5.574 MB / 350.1 MB Notification: Performance of Simplify 2: time 0.0001074/0.008372, allocations: 94.03 kB / 484 MB, free: 5.438 MB / 350.1 MB Notification: Performance of Remove Stream: time 6.092e-05/0.008433, allocations: 64.34 kB / 484 MB, free: 5.348 MB / 350.1 MB Notification: Performance of Detect States: time 0.0001837/0.008617, allocations: 143.7 kB / 484.2 MB, free: 5.152 MB / 350.1 MB Notification: Performance of Events: time 5.805e-05/0.008675, allocations: 23.92 kB / 484.2 MB, free: 5.129 MB / 350.1 MB Notification: Performance of Partitioning: time 0.0001176/0.008792, allocations: 92.06 kB / 484.3 MB, free: 5.031 MB / 350.1 MB Notification: Performance of Causalize: time 0.0003099/0.009102, allocations: 268.5 kB / 484.5 MB, free: 4.762 MB / 350.1 MB Notification: Performance of After Index Reduction Inline: time 0.0001737/0.009276, allocations: 203.7 kB / 484.7 MB, free: 4.562 MB / 350.1 MB Notification: Performance of Simplify: time 0.0004508/0.009727, allocations: 358.3 kB / 485.1 MB, free: 4.145 MB / 350.1 MB Notification: Performance of Inline: time 0.0003426/0.01007, allocations: 408.9 kB / 485.5 MB, free: 3.742 MB / 350.1 MB Notification: Performance of Partitioning: time 3.28e-05/0.0101, allocations: 18.75 kB / 485.5 MB, free: 3.715 MB / 350.1 MB Notification: Performance of Cleanup: time 4.865e-05/0.01015, allocations: 55.94 kB / 485.6 MB, free: 3.66 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 Causalize: time 0.001294/0.01144, allocations: 1.053 MB / 486.6 MB, free: 2.59 MB / 350.1 MB Notification: Performance of Tearing: time 1.06e-05/0.01145, allocations: 11.94 kB / 486.6 MB, free: 2.578 MB / 350.1 MB Notification: Performance of Initialization: time 2.8e-07/0.01146, allocations: 0 / 486.6 MB, free: 2.578 MB / 350.1 MB Notification: Performance of Remove Dummies: time 2.465e-06/0.01146, allocations: 0 / 486.6 MB, free: 2.578 MB / 350.1 MB Notification: Performance of Tearing: time 4.378e-06/0.01146, allocations: 12 kB / 486.6 MB, free: 2.566 MB / 350.1 MB Notification: Performance of Categorize: time 3.748e-06/0.01147, allocations: 0 / 486.6 MB, free: 2.566 MB / 350.1 MB Notification: Performance of Solve: time 0.0003894/0.01186, allocations: 313.7 kB / 487 MB, free: 2.262 MB / 350.1 MB Notification: Performance of Jacobian: time 0.0002122/0.01207, allocations: 258 kB / 487.2 MB, free: 1.973 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 3.741e-05/0.0121, allocations: 36.42 kB / 487.2 MB, free: 1.938 MB / 350.1 MB Notification: Performance of SimCode: time 0.000908/0.01301, allocations: 1.247 MB / 488.5 MB, free: 0.668 MB / 350.1 MB Notification: Performance of Templates: time 0.004093/0.01711, allocations: 1.588 MB / 490.1 MB, free: 15.07 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 sys.exit(0), Time elapsed: 3.819956451654434] Failed to read output from testmodel.py, exit status != 0: 0.023478628136217594 0.036372027 0.028093241 Calling exit ...