Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_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.001769/0.001769, allocations: 76.75 kB / 20.52 MB, free: 1.367 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.002095/0.002095, allocations: 162.9 kB / 23.78 MB, free: 4.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.443/1.443, allocations: 177.2 MB / 204.1 MB, free: 9.281 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo): time 0.1364/0.1364, allocations: 19.71 MB / 280.3 MB, free: 13.05 MB / 270.1 MB " [Timeout remaining time 180] Using package ThermoPower with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical5") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical5,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical5") [Timeout 660] "Notification: ThermoPower requested package Modelica of version 4.0.0. Modelica 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.00217/0.00217, allocations: 70.25 kB / 416.8 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2485/0.2506, allocations: 60.45 MB / 477.3 MB, free: 15.56 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical5): time 0.003735/0.2544, allocations: 2.494 MB / 479.8 MB, free: 13.66 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001374/0.2557, allocations: 0.7045 MB / 480.5 MB, free: 13.1 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001447/0.2559, allocations: 4.406 kB / 480.5 MB, free: 13.1 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001596/0.256, allocations: 45.89 kB / 480.5 MB, free: 13.05 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003283/0.2564, allocations: 128.4 kB / 480.7 MB, free: 12.94 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002185/0.2566, allocations: 81.02 kB / 480.7 MB, free: 12.88 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004527/0.257, allocations: 395.4 kB / 481.1 MB, free: 12.64 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001761/0.2572, allocations: 64.98 kB / 481.2 MB, free: 12.6 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003629/0.2576, allocations: 245.3 kB / 481.4 MB, free: 12.45 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000236/0.2578, allocations: 148.4 kB / 481.6 MB, free: 12.35 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.491e-05/0.2579, allocations: 25.12 kB / 481.6 MB, free: 12.35 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.832e-05/0.2579, allocations: 26.91 kB / 481.6 MB, free: 12.35 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.225e-05/0.258, allocations: 69.59 kB / 481.7 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001595/0.2582, allocations: 142.9 kB / 481.8 MB, free: 12.2 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004154/0.2586, allocations: 332.5 kB / 482.2 MB, free: 11.98 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.2586, allocations: 4 kB / 482.2 MB, free: 11.97 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.2586, allocations: 1.062 kB / 482.2 MB, free: 11.97 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.442e-06/0.2586, allocations: 0 / 482.2 MB, free: 11.97 MB / 382.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.001154/0.2597, allocations: 0.5935 MB / 482.8 MB, free: 11.48 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.053e-05/0.2598, allocations: 12.88 kB / 482.8 MB, free: 11.47 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001242/0.2599, allocations: 49.03 kB / 482.8 MB, free: 11.45 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004477/0.2603, allocations: 263.5 kB / 483.1 MB, free: 11.21 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.53e-05/0.2604, allocations: 21.62 kB / 483.1 MB, free: 11.2 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.007e-05/0.2604, allocations: 28.3 kB / 483.1 MB, free: 11.18 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00045/0.2609, allocations: 242.8 kB / 483.4 MB, free: 11.02 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.575e-05/0.2609, allocations: 1.062 kB / 483.4 MB, free: 11.02 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.521e-05/0.2609, allocations: 18.2 kB / 483.4 MB, free: 11 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.2609, allocations: 5.562 kB / 483.4 MB, free: 11 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004282/0.2614, allocations: 177.2 kB / 483.6 MB, free: 10.93 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00119/0.2625, allocations: 0.6941 MB / 484.3 MB, free: 10.33 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003604/0.2629, allocations: 176.8 kB / 484.4 MB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002053/0.2631, allocations: 100.8 kB / 484.5 MB, free: 10.18 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.872e-05/0.2631, allocations: 2.25 kB / 484.5 MB, free: 10.18 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.281e-05/0.2632, allocations: 36.86 kB / 484.6 MB, free: 10.14 MB / 382.1 MB Notification: Performance of pre-optimization done (n=25): time 1.562e-06/0.2632, allocations: 0 / 484.6 MB, free: 10.14 MB / 382.1 MB Notification: Performance of matching and sorting (n=27): time 0.001413/0.2646, allocations: 0.6723 MB / 485.2 MB, free: 9.711 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.159e-05/0.2646, allocations: 62.45 kB / 485.3 MB, free: 9.641 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003401/0.265, allocations: 301.2 kB / 485.6 MB, free: 9.434 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.607e-05/0.265, allocations: 31.48 kB / 485.6 MB, free: 9.398 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001537/0.2652, allocations: 180.9 kB / 485.8 MB, free: 9.234 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.08e-05/0.2652, allocations: 102.2 kB / 485.9 MB, free: 9.145 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.079e-05/0.2653, allocations: 53.48 kB / 486 MB, free: 9.105 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000167/0.2655, allocations: 342.9 kB / 486.3 MB, free: 8.77 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001816/0.2657, allocations: 76.45 kB / 486.4 MB, free: 8.734 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002078/0.2659, allocations: 113.9 kB / 486.5 MB, free: 8.66 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003783/0.2663, allocations: 195.2 kB / 486.7 MB, free: 8.555 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-06/0.2663, allocations: 3.938 kB / 486.7 MB, free: 8.551 MB / 382.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0006676/0.2669, allocations: 317.6 kB / 487 MB, free: 8.379 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.267, allocations: 4 kB / 487 MB, free: 8.375 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.267, allocations: 3.984 kB / 487 MB, free: 8.371 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002812/0.2672, allocations: 56.83 kB / 487 MB, free: 8.312 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003938/0.2676, allocations: 83.88 kB / 487.1 MB, free: 8.23 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002717/0.2704, allocations: 2.771 MB / 489.9 MB, free: 5.254 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000203/0.2706, allocations: 20.14 kB / 489.9 MB, free: 5.234 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.172e-05/0.2706, allocations: 12 kB / 489.9 MB, free: 5.223 MB / 382.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.0001643/0.2707, allocations: 141.7 kB / 490.1 MB, free: 5.074 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.608e-05/0.2708, allocations: 35.81 kB / 490.1 MB, free: 5.039 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005259/0.2713, allocations: 265.4 kB / 490.4 MB, free: 4.77 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.223e-06/0.2713, allocations: 4 kB / 490.4 MB, free: 4.766 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.312e-06/0.2713, allocations: 0 / 490.4 MB, free: 4.766 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.127e-06/0.2713, allocations: 0 / 490.4 MB, free: 4.766 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000946/0.2723, allocations: 0.5648 MB / 490.9 MB, free: 4.164 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.2723, allocations: 3.938 kB / 490.9 MB, free: 4.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003514/0.2726, allocations: 67.97 kB / 491 MB, free: 4.094 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.2727, allocations: 0 / 491 MB, free: 4.094 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.962e-05/0.2727, allocations: 12 kB / 491 MB, free: 4.082 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.2727, allocations: 0 / 491 MB, free: 4.082 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.2727, allocations: 3.938 kB / 491 MB, free: 4.078 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007234/0.2734, allocations: 448.8 kB / 491.5 MB, free: 3.625 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001062/0.2735, allocations: 43.84 kB / 491.5 MB, free: 3.582 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.585e-05/0.2735, allocations: 4 kB / 491.5 MB, free: 3.578 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002074/0.2737, allocations: 15.98 kB / 491.5 MB, free: 3.562 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.402e-05/0.2738, allocations: 15.97 kB / 491.5 MB, free: 3.547 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.725e-05/0.2738, allocations: 12 kB / 491.5 MB, free: 3.535 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002391/0.2741, allocations: 215.1 kB / 491.8 MB, free: 3.328 MB / 382.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2741, allocations: 0 / 491.8 MB, free: 3.328 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003559/0.2744, allocations: 71.94 kB / 491.8 MB, free: 3.258 MB / 382.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 0.0001129/0.2745, allocations: 103.1 kB / 491.9 MB, free: 3.145 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008738/0.2754, allocations: 366.7 kB / 492.3 MB, free: 2.773 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.2754, allocations: 0 / 492.3 MB, free: 2.773 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002142/0.2756, allocations: 107.8 kB / 492.4 MB, free: 2.668 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004525/0.2761, allocations: 56.12 kB / 492.4 MB, free: 2.613 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001654/0.2777, allocations: 0.9217 MB / 493.4 MB, free: 1.672 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001914/0.2779, allocations: 198.6 kB / 493.6 MB, free: 1.453 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001223/0.278, allocations: 34.94 kB / 493.6 MB, free: 1.422 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.046e-05/0.2781, allocations: 28.48 kB / 493.6 MB, free: 1.395 MB / 382.1 MB Notification: Performance of SimCode: time 3.51e-07/0.2781, allocations: 8 kB / 493.6 MB, free: 1.387 MB / 382.1 MB Notification: Performance of Templates: time 0.008561/0.2867, allocations: 3.606 MB / 497.2 MB, free: 13.82 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical5.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical5.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical5.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical5.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical5.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical5.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.604558367282152] Failed to read output from testmodel.py, exit status != 0: 0.29512894712388515 0.31007152299999996 0.048281699000000004 Calling exit ...