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.001758/0.001758, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.002144/0.002144, allocations: 211.5 kB / 24.48 MB, free: 3.938 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.491/1.491, allocations: 230.6 MB / 258.2 MB, free: 7.781 MB / 206.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.1471/0.1471, allocations: 26.85 MB / 341.5 MB, free: 8.051 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.002113/0.002113, allocations: 67.89 kB / 478 MB, free: 3.004 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2869/0.289, allocations: 60.48 MB / 0.5259 GB, free: 9.672 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical5): time 0.003447/0.2924, allocations: 2.48 MB / 0.5283 GB, free: 8.004 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001379/0.2938, allocations: 0.7169 MB / 0.529 GB, free: 7.504 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002776/0.2941, allocations: 8.375 kB / 0.529 GB, free: 7.5 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001698/0.2943, allocations: 41.72 kB / 0.529 GB, free: 7.473 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003762/0.2946, allocations: 123 kB / 0.5292 GB, free: 7.387 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002218/0.2949, allocations: 79.95 kB / 0.5292 GB, free: 7.348 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00042/0.2953, allocations: 410.6 kB / 0.5296 GB, free: 7.137 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001583/0.2954, allocations: 55.8 kB / 0.5297 GB, free: 7.113 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002948/0.2957, allocations: 162 kB / 0.5298 GB, free: 7.043 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002428/0.296, allocations: 151.5 kB / 0.53 GB, free: 6.973 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.618e-05/0.296, allocations: 24.78 kB / 0.53 GB, free: 6.973 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.698e-05/0.2961, allocations: 27.53 kB / 0.53 GB, free: 6.973 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.133e-05/0.2962, allocations: 68.8 kB / 0.5301 GB, free: 6.926 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001482/0.2963, allocations: 144.3 kB / 0.5302 GB, free: 6.848 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004443/0.2968, allocations: 325.7 kB / 0.5305 GB, free: 6.707 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.2968, allocations: 4 kB / 0.5306 GB, free: 6.703 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.2968, allocations: 0.625 kB / 0.5306 GB, free: 6.703 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.396e-05/0.2968, allocations: 0 / 0.5306 GB, free: 6.703 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.001163/0.298, allocations: 0.6019 MB / 0.5311 GB, free: 6.242 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.298, allocations: 10.12 kB / 0.5312 GB, free: 6.242 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001596/0.2982, allocations: 48.16 kB / 0.5312 GB, free: 6.215 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004646/0.2986, allocations: 266.2 kB / 0.5315 GB, free: 5.996 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.611e-05/0.2986, allocations: 18.3 kB / 0.5315 GB, free: 5.988 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.615e-05/0.2987, allocations: 33.31 kB / 0.5315 GB, free: 5.973 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004026/0.2991, allocations: 241.7 kB / 0.5317 GB, free: 5.852 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.64e-05/0.2991, allocations: 9 kB / 0.5317 GB, free: 5.844 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.149e-05/0.2991, allocations: 7.094 kB / 0.5317 GB, free: 5.84 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.737e-06/0.2992, allocations: 5.312 kB / 0.5318 GB, free: 5.84 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003599/0.2995, allocations: 177.7 kB / 0.5319 GB, free: 5.789 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009838/0.3005, allocations: 0.6978 MB / 0.5326 GB, free: 5.266 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002879/0.3008, allocations: 184.9 kB / 0.5328 GB, free: 5.18 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000175/0.301, allocations: 97.84 kB / 0.5329 GB, free: 5.145 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.444e-05/0.301, allocations: 2.844 kB / 0.5329 GB, free: 5.145 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.848e-05/0.301, allocations: 37.48 kB / 0.5329 GB, free: 5.102 MB / 382.1 MB Notification: Performance of pre-optimization done (n=25): time 1.462e-06/0.301, allocations: 0 / 0.5329 GB, free: 5.102 MB / 382.1 MB Notification: Performance of matching and sorting (n=27): time 0.001252/0.3023, allocations: 0.6639 MB / 0.5336 GB, free: 4.727 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.28e-05/0.3023, allocations: 67.66 kB / 0.5336 GB, free: 4.652 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002876/0.3026, allocations: 297.8 kB / 0.5339 GB, free: 4.488 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.825e-05/0.3026, allocations: 34.64 kB / 0.5339 GB, free: 4.449 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.184e-05/0.3027, allocations: 181 kB / 0.5341 GB, free: 4.297 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.895e-05/0.3027, allocations: 103.5 kB / 0.5342 GB, free: 4.215 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.956e-05/0.3028, allocations: 54.72 kB / 0.5343 GB, free: 4.18 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.827e-05/0.3029, allocations: 340.2 kB / 0.5346 GB, free: 3.855 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001705/0.303, allocations: 80.97 kB / 0.5347 GB, free: 3.828 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001803/0.3032, allocations: 110.8 kB / 0.5348 GB, free: 3.77 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003219/0.3035, allocations: 195.6 kB / 0.535 GB, free: 3.676 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.3035, allocations: 0.6094 kB / 0.535 GB, free: 3.676 MB / 382.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005972/0.3041, allocations: 318 kB / 0.5353 GB, free: 3.535 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.3042, allocations: 8.656 kB / 0.5353 GB, free: 3.535 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.3042, allocations: 1.344 kB / 0.5353 GB, free: 3.535 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002634/0.3044, allocations: 60.69 kB / 0.5353 GB, free: 3.512 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003448/0.3048, allocations: 73.27 kB / 0.5354 GB, free: 3.508 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001624/0.3064, allocations: 2.79 MB / 0.5381 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002206/0.3066, allocations: 12.7 kB / 0.5381 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.523e-05/0.3066, allocations: 10.72 kB / 0.5381 GB, free: 0.8164 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.0001204/0.3068, allocations: 145.6 kB / 0.5383 GB, free: 0.6797 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.435e-05/0.3068, allocations: 31.78 kB / 0.5383 GB, free: 0.6641 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004333/0.3072, allocations: 262.2 kB / 0.5386 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.3072, allocations: 3.156 kB / 0.5386 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-06/0.3072, allocations: 0 / 0.5386 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.3073, allocations: 1.969 kB / 0.5386 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008189/0.3081, allocations: 0.5629 MB / 0.5391 GB, free: 180 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-06/0.3081, allocations: 0.7969 kB / 0.5391 GB, free: 180 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000301/0.3084, allocations: 69.62 kB / 0.5392 GB, free: 172 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.3084, allocations: 5.797 kB / 0.5392 GB, free: 168 kB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.84e-05/0.3084, allocations: 6.531 kB / 0.5392 GB, free: 164 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.3084, allocations: 1.844 kB / 0.5392 GB, free: 164 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.3084, allocations: 4 kB / 0.5392 GB, free: 160 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006423/0.309, allocations: 447.8 kB / 0.5396 GB, free: 15.91 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001232/0.3092, allocations: 42.67 kB / 0.5397 GB, free: 15.89 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.141e-05/0.3092, allocations: 6.469 kB / 0.5397 GB, free: 15.88 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001985/0.3094, allocations: 16.3 kB / 0.5397 GB, free: 15.88 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.931e-05/0.3095, allocations: 19.94 kB / 0.5397 GB, free: 15.87 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.138e-05/0.3095, allocations: 5.094 kB / 0.5397 GB, free: 15.87 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002339/0.3097, allocations: 215.3 kB / 0.5399 GB, free: 15.75 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3097, allocations: 1.594 kB / 0.5399 GB, free: 15.75 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003443/0.3101, allocations: 73.94 kB / 0.54 GB, free: 15.74 MB / 398.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.0001196/0.3102, allocations: 98.98 kB / 0.5401 GB, free: 15.64 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008075/0.311, allocations: 356.4 kB / 0.5404 GB, free: 15.46 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.311, allocations: 3.938 kB / 0.5404 GB, free: 15.45 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002082/0.3112, allocations: 104.8 kB / 0.5405 GB, free: 15.42 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004731/0.3117, allocations: 54.25 kB / 0.5406 GB, free: 15.4 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001597/0.3133, allocations: 0.9432 MB / 0.5415 GB, free: 14.75 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001761/0.3134, allocations: 183 kB / 0.5417 GB, free: 14.65 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.362e-05/0.3135, allocations: 29.31 kB / 0.5417 GB, free: 14.64 MB / 398.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3135, allocations: 0 / 0.5417 GB, free: 14.64 MB / 398.1 MB Notification: Performance of Templates: time 0.008105/0.3216, allocations: 4.939 MB / 0.5465 GB, free: 12.36 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: 7.152964601991698] Failed to read output from testmodel.py, exit status != 0: 0.3308702380163595 0.346053312 0.045987828 Calling exit ...