Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical6.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.001755/0.001755, allocations: 79.19 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.002084/0.002084, allocations: 163.7 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.413/1.413, allocations: 177.2 MB / 204.9 MB, free: 9.25 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.1372/0.1372, allocations: 19.71 MB / 281 MB, free: 13.04 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.TestElectrical6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical6") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical6") [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.002077/0.002077, allocations: 71.91 kB / 417.6 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2507/0.2528, allocations: 60.45 MB / 478.1 MB, free: 15.54 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical6): time 0.004076/0.2569, allocations: 2.75 MB / 480.8 MB, free: 13.45 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001465/0.2583, allocations: 0.7716 MB / 481.6 MB, free: 12.84 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000166/0.2585, allocations: 9.844 kB / 481.6 MB, free: 12.83 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001821/0.2587, allocations: 58.22 kB / 481.6 MB, free: 12.78 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003592/0.2591, allocations: 146.6 kB / 481.8 MB, free: 12.65 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002459/0.2593, allocations: 112.7 kB / 481.9 MB, free: 12.55 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005445/0.2598, allocations: 488.5 kB / 482.4 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002114/0.2601, allocations: 92.48 kB / 482.5 MB, free: 12.2 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004127/0.2605, allocations: 303.7 kB / 482.8 MB, free: 12.01 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002619/0.2607, allocations: 190.6 kB / 483 MB, free: 11.88 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.444e-05/0.2608, allocations: 32.81 kB / 483 MB, free: 11.88 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.661e-05/0.2609, allocations: 34.84 kB / 483 MB, free: 11.88 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.184e-05/0.261, allocations: 83.88 kB / 483.1 MB, free: 11.81 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001906/0.2612, allocations: 189 kB / 483.3 MB, free: 11.69 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004883/0.2616, allocations: 406.2 kB / 483.7 MB, free: 11.41 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.2616, allocations: 5.219 kB / 483.7 MB, free: 11.4 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.2616, allocations: 0 / 483.7 MB, free: 11.4 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.244e-06/0.2617, allocations: 0 / 483.7 MB, free: 11.4 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: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.001329/0.263, allocations: 0.6911 MB / 484.4 MB, free: 10.84 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.281e-05/0.263, allocations: 10.28 kB / 484.4 MB, free: 10.84 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001327/0.2631, allocations: 53.33 kB / 484.4 MB, free: 10.81 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005009/0.2636, allocations: 295.7 kB / 484.7 MB, free: 10.56 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.617e-05/0.2637, allocations: 29.59 kB / 484.8 MB, free: 10.54 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.055e-05/0.2637, allocations: 37.27 kB / 484.8 MB, free: 10.53 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000527/0.2643, allocations: 300.1 kB / 485.1 MB, free: 10.33 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.613e-05/0.2643, allocations: 0 / 485.1 MB, free: 10.33 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.879e-05/0.2643, allocations: 15.34 kB / 485.1 MB, free: 10.32 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.956e-06/0.2643, allocations: 6.625 kB / 485.1 MB, free: 10.32 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000415/0.2647, allocations: 201.9 kB / 485.3 MB, free: 10.22 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001639/0.2664, allocations: 0.9287 MB / 486.2 MB, free: 9.469 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004077/0.2668, allocations: 243.6 kB / 486.5 MB, free: 9.328 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002062/0.267, allocations: 109 kB / 486.6 MB, free: 9.273 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.63e-05/0.267, allocations: 2.562 kB / 486.6 MB, free: 9.273 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.48e-05/0.267, allocations: 37.38 kB / 486.6 MB, free: 9.23 MB / 382.1 MB Notification: Performance of pre-optimization done (n=31): time 1.403e-06/0.267, allocations: 0 / 486.6 MB, free: 9.23 MB / 382.1 MB Notification: Performance of matching and sorting (n=33): time 0.001774/0.2688, allocations: 0.7919 MB / 487.4 MB, free: 8.73 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.365e-05/0.2689, allocations: 59.53 kB / 487.5 MB, free: 8.664 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004109/0.2693, allocations: 345.9 kB / 487.8 MB, free: 8.32 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.523e-05/0.2693, allocations: 37.7 kB / 487.8 MB, free: 8.277 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001676/0.2695, allocations: 216.6 kB / 488.1 MB, free: 8.059 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000112/0.2696, allocations: 126.9 kB / 488.2 MB, free: 7.934 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000107/0.2697, allocations: 74.02 kB / 488.2 MB, free: 7.852 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001744/0.2699, allocations: 346.8 kB / 488.6 MB, free: 7.504 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001872/0.2701, allocations: 84.72 kB / 488.7 MB, free: 7.422 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002165/0.2703, allocations: 137.5 kB / 488.8 MB, free: 7.273 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004123/0.2707, allocations: 240.1 kB / 489 MB, free: 7.023 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.2707, allocations: 0 / 489 MB, free: 7.023 MB / 382.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001012/0.2717, allocations: 417.4 kB / 489.4 MB, free: 6.605 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.2717, allocations: 8 kB / 489.5 MB, free: 6.598 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.89e-06/0.2717, allocations: 0 / 489.5 MB, free: 6.598 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006222/0.2723, allocations: 120.7 kB / 489.6 MB, free: 6.477 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004388/0.2728, allocations: 91.88 kB / 489.7 MB, free: 6.387 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003539/0.2763, allocations: 3.08 MB / 492.7 MB, free: 3.105 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002307/0.2765, allocations: 19.94 kB / 492.8 MB, free: 3.086 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.416e-05/0.2766, allocations: 16.06 kB / 492.8 MB, free: 3.07 MB / 382.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.0001766/0.2768, allocations: 153.7 kB / 492.9 MB, free: 2.91 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.339e-05/0.2768, allocations: 39.77 kB / 493 MB, free: 2.871 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005419/0.2774, allocations: 297.7 kB / 493.3 MB, free: 2.566 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.172e-06/0.2774, allocations: 4 kB / 493.3 MB, free: 2.562 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.323e-06/0.2774, allocations: 0 / 493.3 MB, free: 2.562 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.075e-06/0.2774, allocations: 3.984 kB / 493.3 MB, free: 2.559 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00102/0.2784, allocations: 0.6351 MB / 493.9 MB, free: 1.887 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.2784, allocations: 4 kB / 493.9 MB, free: 1.883 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004299/0.2788, allocations: 79.89 kB / 494 MB, free: 1.805 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.04e-06/0.2788, allocations: 4 kB / 494 MB, free: 1.801 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.034e-05/0.2789, allocations: 4 kB / 494 MB, free: 1.797 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.2789, allocations: 4 kB / 494 MB, free: 1.793 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.041e-06/0.2789, allocations: 7.938 kB / 494 MB, free: 1.785 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000736/0.2796, allocations: 497.2 kB / 494.5 MB, free: 1.285 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001263/0.2797, allocations: 51.72 kB / 494.5 MB, free: 1.234 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.51e-05/0.2798, allocations: 12 kB / 494.5 MB, free: 1.223 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002384/0.28, allocations: 15.94 kB / 494.6 MB, free: 1.207 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.372e-05/0.2801, allocations: 23.89 kB / 494.6 MB, free: 1.184 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.677e-05/0.2801, allocations: 8 kB / 494.6 MB, free: 1.176 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002726/0.2804, allocations: 243.2 kB / 494.8 MB, free: 0.9414 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2804, allocations: 0 / 494.8 MB, free: 0.9414 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003856/0.2807, allocations: 92 kB / 494.9 MB, free: 0.8516 MB / 382.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 0.000108/0.2809, allocations: 103.4 kB / 495 MB, free: 0.7422 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009318/0.2818, allocations: 418.7 kB / 495.4 MB, free: 328 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.2818, allocations: 4 kB / 495.4 MB, free: 324 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000218/0.282, allocations: 115.8 kB / 495.5 MB, free: 208 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004806/0.2825, allocations: 78.98 kB / 495.6 MB, free: 136 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001903/0.2844, allocations: 1.094 MB / 496.7 MB, free: 15.01 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002175/0.2846, allocations: 215.8 kB / 496.9 MB, free: 14.78 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001385/0.2847, allocations: 42.94 kB / 497 MB, free: 14.73 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.115e-05/0.2848, allocations: 28.5 kB / 497 MB, free: 14.71 MB / 398.1 MB Notification: Performance of SimCode: time 3.51e-07/0.2848, allocations: 0 / 497 MB, free: 14.71 MB / 398.1 MB Notification: Performance of Templates: time 0.009841/0.2947, allocations: 4.561 MB / 0.4898 GB, free: 10.21 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical6.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical6.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical6.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical6.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical6.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical6 -abortSlowSimulation -alarm=480 -s gbode -gbnls=internal -gberr=embedded -gbm=esdirk4 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical6.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.708204386988655] Failed to read output from testmodel.py, exit status != 0: 0.30293846398126334 0.31760672900000003 0.052832283 Calling exit ...