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.001315/0.001315, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.00149/0.00149, allocations: 214.1 kB / 24.48 MB, free: 3.84 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.413/1.413, allocations: 207.7 MB / 235.3 MB, free: 9.805 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.2964/0.2964, allocations: 49.59 MB / 337.2 MB, free: 3.887 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.002337/0.002337, allocations: 67.91 kB / 477.6 MB, free: 12.28 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.102/0.1043, allocations: 62.43 MB / 0.5274 GB, free: 13.66 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical5): time 0.003786/0.1081, allocations: 2.464 MB / 0.5298 GB, free: 11.18 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001226/0.1093, allocations: 0.7254 MB / 0.5305 GB, free: 10.44 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001306/0.1095, allocations: 7.938 kB / 0.5305 GB, free: 10.43 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001358/0.1096, allocations: 43.52 kB / 0.5305 GB, free: 10.39 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003007/0.1099, allocations: 123 kB / 0.5306 GB, free: 10.27 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001969/0.1101, allocations: 79.89 kB / 0.5307 GB, free: 10.19 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004544/0.1105, allocations: 410.1 kB / 0.5311 GB, free: 9.789 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001572/0.1107, allocations: 65.58 kB / 0.5312 GB, free: 9.727 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002178/0.1109, allocations: 159.3 kB / 0.5313 GB, free: 9.57 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002209/0.1111, allocations: 147.1 kB / 0.5315 GB, free: 9.426 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.359e-05/0.1112, allocations: 28 kB / 0.5315 GB, free: 9.398 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.951e-05/0.1113, allocations: 28 kB / 0.5315 GB, free: 9.371 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.564e-05/0.1113, allocations: 67.69 kB / 0.5316 GB, free: 9.305 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001397/0.1115, allocations: 143.2 kB / 0.5317 GB, free: 9.164 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003917/0.1119, allocations: 334.4 kB / 0.532 GB, free: 8.836 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1119, allocations: 4 kB / 0.532 GB, free: 8.832 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1119, allocations: 0 / 0.532 GB, free: 8.832 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.1119, allocations: 0 / 0.532 GB, free: 8.832 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.001072/0.113, allocations: 0.5943 MB / 0.5326 GB, free: 8.207 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.929e-05/0.113, allocations: 8.031 kB / 0.5326 GB, free: 8.199 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001133/0.1131, allocations: 44.7 kB / 0.5327 GB, free: 8.156 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004215/0.1135, allocations: 266.2 kB / 0.5329 GB, free: 7.867 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.243e-05/0.1135, allocations: 20.81 kB / 0.5329 GB, free: 7.848 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.564e-05/0.1136, allocations: 28.33 kB / 0.533 GB, free: 7.82 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004359/0.114, allocations: 239 kB / 0.5332 GB, free: 7.57 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.778e-05/0.1141, allocations: 4 kB / 0.5332 GB, free: 7.566 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.143e-05/0.1141, allocations: 12 kB / 0.5332 GB, free: 7.555 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.133e-06/0.1141, allocations: 4 kB / 0.5332 GB, free: 7.551 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000389/0.1145, allocations: 177.6 kB / 0.5334 GB, free: 7.375 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001129/0.1156, allocations: 0.6976 MB / 0.5341 GB, free: 6.641 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003452/0.1159, allocations: 182.5 kB / 0.5342 GB, free: 6.453 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000215/0.1162, allocations: 108.8 kB / 0.5343 GB, free: 6.344 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.03e-05/0.1162, allocations: 0 / 0.5343 GB, free: 6.344 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.198e-05/0.1162, allocations: 34.56 kB / 0.5344 GB, free: 6.301 MB / 414.1 MB Notification: Performance of pre-optimization done (n=25): time 1.162e-06/0.1162, allocations: 0 / 0.5344 GB, free: 6.301 MB / 414.1 MB Notification: Performance of matching and sorting (n=27): time 0.001396/0.1176, allocations: 0.6655 MB / 0.535 GB, free: 5.605 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.168e-05/0.1176, allocations: 59.34 kB / 0.5351 GB, free: 5.535 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003441/0.118, allocations: 308.5 kB / 0.5354 GB, free: 5.227 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.598e-05/0.118, allocations: 29.7 kB / 0.5354 GB, free: 5.191 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001404/0.1182, allocations: 180.8 kB / 0.5356 GB, free: 5.008 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.247e-05/0.1182, allocations: 99.12 kB / 0.5357 GB, free: 4.91 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.003e-05/0.1183, allocations: 53.7 kB / 0.5357 GB, free: 4.852 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001681/0.1185, allocations: 346.7 kB / 0.5361 GB, free: 4.504 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001787/0.1187, allocations: 75.95 kB / 0.5361 GB, free: 4.43 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001987/0.1189, allocations: 110.7 kB / 0.5362 GB, free: 4.312 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003835/0.1192, allocations: 196.1 kB / 0.5364 GB, free: 4.113 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.1192, allocations: 0 / 0.5364 GB, free: 4.113 MB / 414.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0006627/0.1199, allocations: 315.2 kB / 0.5367 GB, free: 3.797 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.1199, allocations: 7.984 kB / 0.5367 GB, free: 3.789 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.1199, allocations: 7.938 kB / 0.5367 GB, free: 3.781 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002571/0.1202, allocations: 52.83 kB / 0.5368 GB, free: 3.727 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003783/0.1206, allocations: 83.92 kB / 0.5369 GB, free: 3.645 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002554/0.1231, allocations: 2.767 MB / 0.5396 GB, free: 0.6719 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000182/0.1233, allocations: 12.02 kB / 0.5396 GB, free: 0.6602 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.862e-05/0.1233, allocations: 15.94 kB / 0.5396 GB, free: 0.6445 MB / 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.000151/0.1235, allocations: 141.7 kB / 0.5397 GB, free: 0.4961 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.254e-05/0.1235, allocations: 35.81 kB / 0.5398 GB, free: 472 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004866/0.124, allocations: 265.4 kB / 0.54 GB, free: 200 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.124, allocations: 0 / 0.54 GB, free: 200 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.124, allocations: 4 kB / 0.54 GB, free: 196 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.124, allocations: 0 / 0.54 GB, free: 196 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1772/0.3012, allocations: 0.5598 MB / 0.5406 GB, free: 22.75 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.3012, allocations: 0 / 0.5406 GB, free: 22.75 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003159/0.3015, allocations: 68.78 kB / 0.5406 GB, free: 22.75 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.998e-06/0.3016, allocations: 0.9688 kB / 0.5406 GB, free: 22.75 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.728e-05/0.3016, allocations: 7.438 kB / 0.5406 GB, free: 22.75 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.3016, allocations: 1.094 kB / 0.5406 GB, free: 22.75 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.3016, allocations: 1.578 kB / 0.5406 GB, free: 22.75 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005972/0.3022, allocations: 451.3 kB / 0.5411 GB, free: 22.62 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001113/0.3023, allocations: 44.33 kB / 0.5411 GB, free: 22.62 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.805e-05/0.3023, allocations: 14.88 kB / 0.5411 GB, free: 22.62 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001949/0.3025, allocations: 12.08 kB / 0.5411 GB, free: 22.62 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.35e-05/0.3026, allocations: 15.05 kB / 0.5412 GB, free: 22.62 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.196e-05/0.3026, allocations: 8.094 kB / 0.5412 GB, free: 22.62 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001739/0.3028, allocations: 216.9 kB / 0.5414 GB, free: 22.54 MB / 414.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3028, allocations: 3.438 kB / 0.5414 GB, free: 22.54 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000349/0.3031, allocations: 69.53 kB / 0.5414 GB, free: 22.54 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 7.358e-05/0.3032, allocations: 103 kB / 0.5415 GB, free: 22.45 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000704/0.3039, allocations: 342.8 kB / 0.5419 GB, free: 22.34 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.3039, allocations: 0 / 0.5419 GB, free: 22.34 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001811/0.3041, allocations: 103.7 kB / 0.542 GB, free: 22.34 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004336/0.3045, allocations: 59.42 kB / 0.542 GB, free: 22.33 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001262/0.3058, allocations: 0.9605 MB / 0.543 GB, free: 21.81 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001309/0.3059, allocations: 179.1 kB / 0.5431 GB, free: 21.72 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.614e-05/0.306, allocations: 24.31 kB / 0.5432 GB, free: 21.71 MB / 414.1 MB Notification: Performance of SimCode: time 3.81e-07/0.306, allocations: 0 / 0.5432 GB, free: 21.71 MB / 414.1 MB Notification: Performance of Templates: time 0.007101/0.3131, allocations: 4.932 MB / 0.548 GB, free: 21.3 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.87043812405318] Failed to read output from testmodel.py, exit status != 0: 0.3211014377884567 0.331894071 0.217559145 Calling exit ...