Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical6.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.001311/0.001311, allocations: 109.5 kB / 20.43 MB, free: 1.449 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.001334/0.001334, allocations: 190.2 kB / 23.72 MB, free: 4.68 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.43/1.43, allocations: 207.6 MB / 234.5 MB, free: 10.02 MB / 190.1 MB " [Timeout remaining time 178] 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.3075/0.3075, allocations: 49.57 MB / 336.3 MB, free: 4.145 MB / 270.1 MB " [Timeout remaining time 179] 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.TestElectrical6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical6") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical6") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002262/0.002262, allocations: 71.89 kB / 476.8 MB, free: 12.47 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1217/0.1239, allocations: 62.41 MB / 0.5266 GB, free: 13.87 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical6): time 0.00459/0.1285, allocations: 2.998 MB / 0.5295 GB, free: 10.84 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001537/0.1301, allocations: 0.8151 MB / 0.5303 GB, free: 10.02 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001626/0.1302, allocations: 7.938 kB / 0.5303 GB, free: 10.02 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001856/0.1304, allocations: 59.33 kB / 0.5303 GB, free: 9.957 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003484/0.1308, allocations: 154.8 kB / 0.5305 GB, free: 9.805 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002553/0.131, allocations: 111.8 kB / 0.5306 GB, free: 9.695 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000552/0.1316, allocations: 494.3 kB / 0.5311 GB, free: 9.211 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002101/0.1318, allocations: 92.69 kB / 0.5312 GB, free: 9.117 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002662/0.132, allocations: 203.1 kB / 0.5314 GB, free: 8.918 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003004/0.1323, allocations: 211 kB / 0.5316 GB, free: 8.711 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.447e-05/0.1324, allocations: 32 kB / 0.5316 GB, free: 8.68 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.953e-05/0.1325, allocations: 39.94 kB / 0.5316 GB, free: 8.641 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.729e-05/0.1326, allocations: 83.62 kB / 0.5317 GB, free: 8.559 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002071/0.1328, allocations: 218.7 kB / 0.5319 GB, free: 8.344 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004993/0.1333, allocations: 410 kB / 0.5323 GB, free: 7.941 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.1333, allocations: 0 / 0.5323 GB, free: 7.941 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1333, allocations: 4 kB / 0.5323 GB, free: 7.938 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.494e-06/0.1333, allocations: 0 / 0.5323 GB, free: 7.938 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.001352/0.1346, allocations: 0.6838 MB / 0.533 GB, free: 7.223 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/0.1347, allocations: 16.03 kB / 0.533 GB, free: 7.207 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001403/0.1348, allocations: 52.61 kB / 0.533 GB, free: 7.156 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005507/0.1354, allocations: 296.6 kB / 0.5333 GB, free: 6.84 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.64e-05/0.1354, allocations: 25.03 kB / 0.5333 GB, free: 6.816 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.894e-05/0.1355, allocations: 36.33 kB / 0.5334 GB, free: 6.781 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005312/0.136, allocations: 305.8 kB / 0.5337 GB, free: 6.465 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.905e-05/0.136, allocations: 4 kB / 0.5337 GB, free: 6.461 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.507e-05/0.136, allocations: 8 kB / 0.5337 GB, free: 6.453 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.023e-05/0.136, allocations: 8 kB / 0.5337 GB, free: 6.445 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004169/0.1365, allocations: 202.4 kB / 0.5339 GB, free: 6.25 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001805/0.1383, allocations: 1.045 MB / 0.5349 GB, free: 5.145 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004932/0.1388, allocations: 242.9 kB / 0.5351 GB, free: 4.898 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002119/0.139, allocations: 112.8 kB / 0.5352 GB, free: 4.785 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.815e-05/0.139, allocations: 3.984 kB / 0.5352 GB, free: 4.781 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.174e-05/0.139, allocations: 34.56 kB / 0.5353 GB, free: 4.738 MB / 414.1 MB Notification: Performance of pre-optimization done (n=31): time 1.393e-06/0.139, allocations: 0 / 0.5353 GB, free: 4.738 MB / 414.1 MB Notification: Performance of matching and sorting (n=33): time 0.00182/0.1409, allocations: 0.7931 MB / 0.5361 GB, free: 3.91 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.289e-05/0.1409, allocations: 59.41 kB / 0.5361 GB, free: 3.84 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000459/0.1414, allocations: 365.6 kB / 0.5365 GB, free: 3.473 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.91e-05/0.1414, allocations: 29.7 kB / 0.5365 GB, free: 3.438 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001716/0.1416, allocations: 208.6 kB / 0.5367 GB, free: 3.23 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001351/0.1417, allocations: 134.9 kB / 0.5368 GB, free: 3.098 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001119/0.1418, allocations: 70 kB / 0.5369 GB, free: 3.02 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001902/0.142, allocations: 350.7 kB / 0.5372 GB, free: 2.668 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001983/0.1422, allocations: 88.7 kB / 0.5373 GB, free: 2.582 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002142/0.1424, allocations: 133.5 kB / 0.5374 GB, free: 2.438 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000434/0.1429, allocations: 243.8 kB / 0.5377 GB, free: 2.184 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.1429, allocations: 0 / 0.5377 GB, free: 2.184 MB / 414.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001/0.1439, allocations: 413.6 kB / 0.5381 GB, free: 1.77 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.1439, allocations: 11.98 kB / 0.5381 GB, free: 1.758 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.1439, allocations: 0 / 0.5381 GB, free: 1.758 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006356/0.1445, allocations: 120.8 kB / 0.5382 GB, free: 1.637 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004427/0.145, allocations: 87.88 kB / 0.5383 GB, free: 1.551 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2192/0.3641, allocations: 3.135 MB / 0.5413 GB, free: 21.48 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003018/0.3644, allocations: 13.58 kB / 0.5413 GB, free: 21.48 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.284e-05/0.3645, allocations: 19.08 kB / 0.5414 GB, free: 21.48 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0001488/0.3646, allocations: 150.4 kB / 0.5415 GB, free: 21.37 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.887e-05/0.3647, allocations: 44.98 kB / 0.5415 GB, free: 21.37 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004731/0.3651, allocations: 302.5 kB / 0.5418 GB, free: 21.33 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.3651, allocations: 3.656 kB / 0.5418 GB, free: 21.33 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.943e-06/0.3651, allocations: 0.7031 kB / 0.5418 GB, free: 21.33 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.972e-06/0.3652, allocations: 5.906 kB / 0.5418 GB, free: 21.33 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009422/0.3661, allocations: 0.7179 MB / 0.5425 GB, free: 21.07 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.3661, allocations: 7.438 kB / 0.5426 GB, free: 21.07 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003831/0.3665, allocations: 77.5 kB / 0.5426 GB, free: 21.07 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.3665, allocations: 2.172 kB / 0.5426 GB, free: 21.07 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.084e-05/0.3665, allocations: 7.219 kB / 0.5426 GB, free: 21.07 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.3665, allocations: 1.5 kB / 0.5426 GB, free: 21.07 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.3665, allocations: 0 / 0.5426 GB, free: 21.07 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005879/0.3671, allocations: 0.4977 MB / 0.5431 GB, free: 20.92 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000118/0.3672, allocations: 57 kB / 0.5432 GB, free: 20.91 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.473e-05/0.3673, allocations: 11.03 kB / 0.5432 GB, free: 20.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002215/0.3675, allocations: 14.06 kB / 0.5432 GB, free: 20.9 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.791e-05/0.3675, allocations: 19.19 kB / 0.5432 GB, free: 20.9 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.57e-05/0.3676, allocations: 11.92 kB / 0.5432 GB, free: 20.9 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000228/0.3678, allocations: 252.9 kB / 0.5435 GB, free: 20.77 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3678, allocations: 2.297 kB / 0.5435 GB, free: 20.77 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003684/0.3682, allocations: 90.47 kB / 0.5436 GB, free: 20.75 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (gen_a.phi,gen_a.omega_m,gen_a.omega_e_filt,gen_b.phi,gen_b.omega_m,gen_b.omega_e_filt,torqueGen_a.y,torqueGen_b.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.972e-05/0.3682, allocations: 103.6 kB / 0.5437 GB, free: 20.66 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008556/0.3691, allocations: 429.5 kB / 0.5441 GB, free: 20.46 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3691, allocations: 0 / 0.5441 GB, free: 20.46 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001889/0.3693, allocations: 112.6 kB / 0.5442 GB, free: 20.43 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004945/0.3698, allocations: 85.81 kB / 0.5443 GB, free: 20.39 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00159/0.3714, allocations: 1.073 MB / 0.5453 GB, free: 19.77 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002424/0.3716, allocations: 0.818 MB / 0.5461 GB, free: 19.07 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001443/0.3718, allocations: 44.78 kB / 0.5461 GB, free: 19.06 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.072e-05/0.3718, allocations: 29.77 kB / 0.5462 GB, free: 19.05 MB / 414.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3718, allocations: 0.9375 kB / 0.5462 GB, free: 19.05 MB / 414.1 MB Notification: Performance of Templates: time 0.01047/0.3823, allocations: 4.906 MB / 0.551 GB, free: 18.64 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical6.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical6.pipe ; mkfifo ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical6.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical6.pipe >> ../files/ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical6.sim & ./ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical6 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical6.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.129345774650574] Failed to read output from testmodel.py, exit status != 0: 0.39075251296162605 0.402463225 0.266574822 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f6915cc57b0>