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.00133/0.00133, allocations: 79.11 kB / 21.27 MB, free: 388 kB / 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.001394/0.001394, allocations: 163.8 kB / 24.53 MB, free: 3.59 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.396/1.396, allocations: 177.2 MB / 204.9 MB, free: 9.273 MB / 190.1 MB " [Timeout remaining time 179] 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.1383/0.1383, allocations: 19.7 MB / 281 MB, free: 13.06 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.002062/0.002062, allocations: 67.89 kB / 417.6 MB, free: 0.707 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.245/0.247, allocations: 60.44 MB / 478 MB, free: 15.54 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical5): time 0.003692/0.2507, allocations: 2.505 MB / 480.5 MB, free: 13.63 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001295/0.252, allocations: 0.7001 MB / 481.2 MB, free: 13.07 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001486/0.2522, allocations: 8.219 kB / 481.3 MB, free: 13.07 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001511/0.2523, allocations: 50.23 kB / 481.3 MB, free: 13.02 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003105/0.2526, allocations: 120.7 kB / 481.4 MB, free: 12.92 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002094/0.2528, allocations: 88.78 kB / 481.5 MB, free: 12.84 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004481/0.2533, allocations: 400 kB / 481.9 MB, free: 12.61 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001593/0.2534, allocations: 56.28 kB / 482 MB, free: 12.57 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003477/0.2538, allocations: 246.2 kB / 482.2 MB, free: 12.42 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002166/0.254, allocations: 147.6 kB / 482.3 MB, free: 12.32 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.168e-05/0.254, allocations: 25.06 kB / 482.4 MB, free: 12.32 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.791e-05/0.2541, allocations: 31.56 kB / 482.4 MB, free: 12.32 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.917e-05/0.2542, allocations: 68.66 kB / 482.5 MB, free: 12.26 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001643/0.2544, allocations: 143.5 kB / 482.6 MB, free: 12.17 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00039/0.2548, allocations: 331.8 kB / 482.9 MB, free: 11.95 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.2548, allocations: 1.312 kB / 482.9 MB, free: 11.95 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.2548, allocations: 0 / 482.9 MB, free: 11.95 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.612e-06/0.2548, allocations: 0 / 482.9 MB, free: 11.95 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.001128/0.2559, allocations: 0.594 MB / 483.5 MB, free: 11.45 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.931e-05/0.2559, allocations: 8.688 kB / 483.5 MB, free: 11.45 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001203/0.256, allocations: 45.81 kB / 483.6 MB, free: 11.43 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004311/0.2565, allocations: 261.6 kB / 483.8 MB, free: 11.19 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.018e-05/0.2565, allocations: 22.97 kB / 483.9 MB, free: 11.18 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.96e-05/0.2565, allocations: 28.89 kB / 483.9 MB, free: 11.16 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004504/0.257, allocations: 246.3 kB / 484.1 MB, free: 11 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.695e-05/0.257, allocations: 5.266 kB / 484.1 MB, free: 10.99 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.446e-05/0.257, allocations: 9.25 kB / 484.1 MB, free: 10.98 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.257, allocations: 5.625 kB / 484.1 MB, free: 10.98 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003864/0.2574, allocations: 180.8 kB / 484.3 MB, free: 10.9 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001157/0.2586, allocations: 0.7021 MB / 485 MB, free: 10.3 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000323/0.2589, allocations: 169.1 kB / 485.2 MB, free: 10.21 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002021/0.2591, allocations: 109.5 kB / 485.3 MB, free: 10.15 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.686e-05/0.2591, allocations: 6.578 kB / 485.3 MB, free: 10.15 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.041e-05/0.2592, allocations: 33.22 kB / 485.3 MB, free: 10.11 MB / 382.1 MB Notification: Performance of pre-optimization done (n=25): time 1.493e-06/0.2592, allocations: 0 / 485.3 MB, free: 10.11 MB / 382.1 MB Notification: Performance of matching and sorting (n=27): time 0.001394/0.2606, allocations: 0.6665 MB / 486 MB, free: 9.684 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.896e-05/0.2606, allocations: 66.58 kB / 486.1 MB, free: 9.609 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003401/0.261, allocations: 293.7 kB / 486.4 MB, free: 9.41 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.834e-05/0.261, allocations: 35.7 kB / 486.4 MB, free: 9.371 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001407/0.2611, allocations: 181.1 kB / 486.6 MB, free: 9.207 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.289e-05/0.2612, allocations: 102.3 kB / 486.7 MB, free: 9.117 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.515e-05/0.2613, allocations: 54.02 kB / 486.7 MB, free: 9.078 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001647/0.2615, allocations: 337.5 kB / 487 MB, free: 8.746 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001789/0.2616, allocations: 73.36 kB / 487.1 MB, free: 8.715 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002023/0.2618, allocations: 121.4 kB / 487.2 MB, free: 8.633 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003734/0.2622, allocations: 194.1 kB / 487.4 MB, free: 8.527 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.2622, allocations: 1.25 kB / 487.4 MB, free: 8.527 MB / 382.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0006644/0.2629, allocations: 324.6 kB / 487.7 MB, free: 8.336 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.2629, allocations: 4 kB / 487.7 MB, free: 8.332 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.2629, allocations: 0 / 487.7 MB, free: 8.332 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002858/0.2632, allocations: 60.81 kB / 487.8 MB, free: 8.27 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003837/0.2636, allocations: 75.89 kB / 487.9 MB, free: 8.195 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002662/0.2662, allocations: 2.775 MB / 490.7 MB, free: 5.215 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002008/0.2664, allocations: 20.36 kB / 490.7 MB, free: 5.195 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.574e-05/0.2665, allocations: 12 kB / 490.7 MB, free: 5.184 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.0001501/0.2666, allocations: 141.7 kB / 490.8 MB, free: 5.035 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.466e-05/0.2667, allocations: 35.81 kB / 490.9 MB, free: 5 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005019/0.2672, allocations: 261.4 kB / 491.1 MB, free: 4.734 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.2672, allocations: 4 kB / 491.1 MB, free: 4.73 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/0.2672, allocations: 0 / 491.1 MB, free: 4.73 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.2672, allocations: 7.984 kB / 491.1 MB, free: 4.723 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009202/0.2681, allocations: 0.5614 MB / 491.7 MB, free: 4.125 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/0.2681, allocations: 3.984 kB / 491.7 MB, free: 4.121 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003487/0.2685, allocations: 67.91 kB / 491.8 MB, free: 4.055 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.2685, allocations: 3.938 kB / 491.8 MB, free: 4.051 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.299e-05/0.2685, allocations: 8 kB / 491.8 MB, free: 4.043 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.2685, allocations: 0 / 491.8 MB, free: 4.043 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.2685, allocations: 4 kB / 491.8 MB, free: 4.039 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007056/0.2692, allocations: 452.3 kB / 492.2 MB, free: 3.582 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001107/0.2693, allocations: 43.84 kB / 492.3 MB, free: 3.539 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.545e-05/0.2693, allocations: 4 kB / 492.3 MB, free: 3.535 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002055/0.2695, allocations: 12 kB / 492.3 MB, free: 3.523 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.262e-05/0.2696, allocations: 15.95 kB / 492.3 MB, free: 3.508 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.579e-05/0.2696, allocations: 12 kB / 492.3 MB, free: 3.496 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002407/0.2699, allocations: 219.1 kB / 492.5 MB, free: 3.285 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2699, allocations: 0 / 492.5 MB, free: 3.285 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003418/0.2702, allocations: 75.94 kB / 492.6 MB, free: 3.211 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.0001115/0.2703, allocations: 99.19 kB / 492.7 MB, free: 3.102 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008427/0.2711, allocations: 369.5 kB / 493 MB, free: 2.73 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.2712, allocations: 0 / 493 MB, free: 2.73 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002083/0.2714, allocations: 95.89 kB / 493.1 MB, free: 2.637 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004331/0.2718, allocations: 57.11 kB / 493.2 MB, free: 2.578 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001605/0.2734, allocations: 0.9199 MB / 494.1 MB, free: 1.633 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001922/0.2736, allocations: 190.7 kB / 494.3 MB, free: 1.422 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001144/0.2737, allocations: 34.95 kB / 494.3 MB, free: 1.391 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.228e-05/0.2738, allocations: 28.5 kB / 494.4 MB, free: 1.363 MB / 382.1 MB Notification: Performance of SimCode: time 3.7e-07/0.2738, allocations: 0 / 494.4 MB, free: 1.363 MB / 382.1 MB Notification: Performance of Templates: time 0.008376/0.2822, allocations: 3.622 MB / 498 MB, free: 13.79 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 -s gbode -gbnls=internal -gberr=embedded -gbm=esdirk4 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical5.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.537500101956539] Failed to read output from testmodel.py, exit status != 0: 0.29058543301653117 0.30515398699999996 0.047292976 Calling exit ...