Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5.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.001762/0.001762, allocations: 112.2 kB / 21.19 MB, free: 0.7578 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.002184/0.002184, allocations: 209.8 kB / 24.49 MB, free: 4.133 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.414/1.414, allocations: 207.6 MB / 235.3 MB, free: 10.89 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.3368/0.3368, allocations: 49.56 MB / 337.1 MB, free: 4.23 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.TestElectrical5,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical5,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002434/0.002434, allocations: 75.89 kB / 477.6 MB, free: 12.46 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1124/0.1148, allocations: 62.42 MB / 0.5273 GB, free: 13.85 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical5): time 0.004274/0.1191, allocations: 2.67 MB / 0.5299 GB, free: 11.16 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00155/0.1206, allocations: 0.7566 MB / 0.5307 GB, free: 10.39 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002385/0.1208, allocations: 7.938 kB / 0.5307 GB, free: 10.39 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001921/0.121, allocations: 51.45 kB / 0.5307 GB, free: 10.34 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003957/0.1214, allocations: 127 kB / 0.5309 GB, free: 10.21 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002478/0.1217, allocations: 79.84 kB / 0.5309 GB, free: 10.13 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005546/0.1222, allocations: 406.1 kB / 0.5313 GB, free: 9.734 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001749/0.1224, allocations: 65.58 kB / 0.5314 GB, free: 9.672 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003201/0.1227, allocations: 163.3 kB / 0.5315 GB, free: 9.512 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002758/0.123, allocations: 167.2 kB / 0.5317 GB, free: 9.348 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.396e-05/0.1231, allocations: 24 kB / 0.5317 GB, free: 9.324 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.423e-05/0.1231, allocations: 28 kB / 0.5318 GB, free: 9.297 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.584e-05/0.1232, allocations: 63.7 kB / 0.5318 GB, free: 9.234 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000178/0.1234, allocations: 179 kB / 0.532 GB, free: 9.059 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004149/0.1238, allocations: 318.5 kB / 0.5323 GB, free: 8.746 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.1238, allocations: 0 / 0.5323 GB, free: 8.746 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1238, allocations: 0 / 0.5323 GB, free: 8.746 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.559e-05/0.1238, allocations: 0 / 0.5323 GB, free: 8.746 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.001126/0.125, allocations: 0.5982 MB / 0.5329 GB, free: 8.117 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.445e-05/0.125, allocations: 11.97 kB / 0.5329 GB, free: 8.105 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001171/0.1251, allocations: 40.7 kB / 0.5329 GB, free: 8.066 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000482/0.1256, allocations: 270.4 kB / 0.5332 GB, free: 7.773 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.794e-05/0.1256, allocations: 16.81 kB / 0.5332 GB, free: 7.758 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.3e-05/0.1257, allocations: 28.33 kB / 0.5332 GB, free: 7.73 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004862/0.1261, allocations: 242.9 kB / 0.5335 GB, free: 7.477 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.766e-05/0.1262, allocations: 4 kB / 0.5335 GB, free: 7.473 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.222e-05/0.1262, allocations: 12 kB / 0.5335 GB, free: 7.461 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.217e-06/0.1262, allocations: 8 kB / 0.5335 GB, free: 7.453 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003931/0.1266, allocations: 169.6 kB / 0.5336 GB, free: 7.285 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00129/0.1279, allocations: 0.8101 MB / 0.5344 GB, free: 6.426 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003331/0.1282, allocations: 170.6 kB / 0.5346 GB, free: 6.25 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001966/0.1284, allocations: 100.8 kB / 0.5347 GB, free: 6.148 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.626e-05/0.1284, allocations: 8 kB / 0.5347 GB, free: 6.141 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.189e-05/0.1285, allocations: 42.48 kB / 0.5347 GB, free: 6.09 MB / 414.1 MB Notification: Performance of pre-optimization done (n=25): time 1.312e-06/0.1285, allocations: 0 / 0.5347 GB, free: 6.09 MB / 414.1 MB Notification: Performance of matching and sorting (n=27): time 0.001419/0.1299, allocations: 0.665 MB / 0.5354 GB, free: 5.395 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.995e-05/0.1299, allocations: 59.34 kB / 0.5354 GB, free: 5.324 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003346/0.1303, allocations: 300.5 kB / 0.5357 GB, free: 5.023 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.023e-05/0.1303, allocations: 33.7 kB / 0.5358 GB, free: 4.984 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001409/0.1304, allocations: 180.8 kB / 0.5359 GB, free: 4.801 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.504e-05/0.1305, allocations: 99.11 kB / 0.536 GB, free: 4.703 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.385e-05/0.1306, allocations: 53.7 kB / 0.5361 GB, free: 4.645 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001564/0.1308, allocations: 350.8 kB / 0.5364 GB, free: 4.293 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001794/0.1309, allocations: 71.91 kB / 0.5365 GB, free: 4.223 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001957/0.1311, allocations: 114.7 kB / 0.5366 GB, free: 4.102 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003682/0.1315, allocations: 192.1 kB / 0.5368 GB, free: 3.906 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.1315, allocations: 0 / 0.5368 GB, free: 3.906 MB / 414.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0006725/0.1322, allocations: 323.1 kB / 0.5371 GB, free: 3.582 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.1322, allocations: 4 kB / 0.5371 GB, free: 3.578 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.1322, allocations: 64 / 0.5371 GB, free: 3.578 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002833/0.1325, allocations: 56.81 kB / 0.5371 GB, free: 3.52 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003781/0.1329, allocations: 83.88 kB / 0.5372 GB, free: 3.438 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002647/0.1355, allocations: 2.821 MB / 0.54 GB, free: 396 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000203/0.1357, allocations: 20 kB / 0.54 GB, free: 376 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.186e-05/0.1357, allocations: 15.94 kB / 0.54 GB, free: 360 kB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (30): * Single equations (assignments): 28 * 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): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001663/0.1359, allocations: 137.8 kB / 0.5401 GB, free: 212 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.681e-05/0.136, allocations: 39.8 kB / 0.5402 GB, free: 172 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2076/0.3436, allocations: 252.5 kB / 0.5404 GB, free: 23.14 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.141e-05/0.3436, allocations: 4.797 kB / 0.5404 GB, free: 23.14 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.796e-06/0.3436, allocations: 0 / 0.5404 GB, free: 23.14 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.111e-06/0.3436, allocations: 1.078 kB / 0.5404 GB, free: 23.14 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001002/0.3446, allocations: 0.6358 MB / 0.5411 GB, free: 22.88 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.796e-06/0.3446, allocations: 0 / 0.5411 GB, free: 22.88 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003295/0.3449, allocations: 68.28 kB / 0.5411 GB, free: 22.88 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.42e-06/0.345, allocations: 2.281 kB / 0.5411 GB, free: 22.88 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.785e-05/0.345, allocations: 8.922 kB / 0.5411 GB, free: 22.88 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.378e-06/0.345, allocations: 1.719 kB / 0.5411 GB, free: 22.88 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.345, allocations: 0.7969 kB / 0.5411 GB, free: 22.88 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005631/0.3455, allocations: 454.8 kB / 0.5416 GB, free: 22.75 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001027/0.3456, allocations: 44.56 kB / 0.5416 GB, free: 22.75 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.903e-05/0.3457, allocations: 8.359 kB / 0.5416 GB, free: 22.75 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001926/0.3459, allocations: 11.34 kB / 0.5416 GB, free: 22.75 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.152e-05/0.3459, allocations: 19.67 kB / 0.5416 GB, free: 22.75 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.369e-05/0.3459, allocations: 8.062 kB / 0.5417 GB, free: 22.75 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001843/0.3461, allocations: 216.3 kB / 0.5419 GB, free: 22.66 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3461, allocations: 2.469 kB / 0.5419 GB, free: 22.66 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000371/0.3465, allocations: 71.75 kB / 0.5419 GB, free: 22.66 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (gen_a.phi,gen_a.omega_m,gen_a.omega_e_filt,gen_b.phi,gen_b.omega_m,gen_b.omega_e_filt) * 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 (28): * Single equations (assignments): 28 * 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 9.221e-05/0.3466, allocations: 106.3 kB / 0.542 GB, free: 22.57 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007572/0.3474, allocations: 341.7 kB / 0.5424 GB, free: 22.46 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.083e-06/0.3474, allocations: 0 / 0.5424 GB, free: 22.46 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001831/0.3475, allocations: 104 kB / 0.5425 GB, free: 22.46 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004594/0.348, allocations: 61.67 kB / 0.5425 GB, free: 22.46 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001374/0.3494, allocations: 0.9528 MB / 0.5434 GB, free: 21.95 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002207/0.3496, allocations: 0.7826 MB / 0.5442 GB, free: 21.24 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.724e-05/0.3497, allocations: 25.36 kB / 0.5442 GB, free: 21.23 MB / 414.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3497, allocations: 1.531 kB / 0.5442 GB, free: 21.23 MB / 414.1 MB Notification: Performance of Templates: time 0.008225/0.3579, allocations: 4.8 MB / 0.5489 GB, free: 20.8 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5.pipe ; mkfifo ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5.pipe >> ../files/ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5.sim & ./ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.967610759893432] Failed to read output from testmodel.py, exit status != 0: 0.36690843594260514 0.37902530599999995 0.25250634199999994 Calling exit ...