Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_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.0008045/0.0008045, allocations: 87.62 kB / 21.43 MB, free: 3.133 MB / 18.57 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.002915/0.002915, allocations: 163 kB / 24.7 MB, free: 9.43 MB / 18.57 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 0.7705/0.7705, allocations: 158.6 MB / 186.5 MB, free: 3.027 MB / 170.7 MB " [Timeout remaining time 179] 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.1711/0.1711, allocations: 36.35 MB / 275.1 MB, free: 10.9 MB / 266.7 MB " [Timeout remaining time 180] 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.TestElectrical6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical6") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.303e-06/1.303e-06, allocations: 0 / 415.6 MB, free: 5.605 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.339e-05/1.469e-05, allocations: 6.281 kB / 415.6 MB, free: 5.598 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical6): time 0.002652/0.002666, allocations: 2.729 MB / 418.3 MB, free: 2.848 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001048/0.003714, allocations: 0.7914 MB / 419.1 MB, free: 2.051 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001406/0.003855, allocations: 7.938 kB / 419.1 MB, free: 2.043 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001289/0.003984, allocations: 59.33 kB / 419.2 MB, free: 1.984 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000258/0.004242, allocations: 150.8 kB / 419.3 MB, free: 1.836 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001808/0.004423, allocations: 103.8 kB / 419.4 MB, free: 1.734 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003462/0.004769, allocations: 0.5098 MB / 419.9 MB, free: 1.223 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000163/0.004932, allocations: 88.67 kB / 420 MB, free: 1.125 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002371/0.005169, allocations: 287.2 kB / 420.3 MB, free: 0.8438 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001534/0.005322, allocations: 151.5 kB / 420.4 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.624e-05/0.005359, allocations: 32 kB / 420.5 MB, free: 0.6641 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.197e-05/0.005421, allocations: 43.94 kB / 420.5 MB, free: 0.6211 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.719e-05/0.005468, allocations: 87.53 kB / 420.6 MB, free: 0.5352 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 9.094e-05/0.005559, allocations: 139.6 kB / 420.7 MB, free: 408 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003136/0.005872, allocations: 398.5 kB / 421.1 MB, free: 8 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.005876, allocations: 4 kB / 421.1 MB, free: 4 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.005877, allocations: 0 / 421.1 MB, free: 4 kB / 346.7 MB Notification: Performance of Transformations before backend: time 4.559e-06/0.005881, allocations: 4 kB / 421.1 MB, free: 0 / 346.7 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.0007629/0.006644, allocations: 0.6915 MB / 421.8 MB, free: 15.28 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.057e-05/0.006675, allocations: 12.03 kB / 421.8 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.346e-05/0.006768, allocations: 52.61 kB / 421.9 MB, free: 15.21 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002988/0.007067, allocations: 291.9 kB / 422.2 MB, free: 14.91 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.675e-05/0.007084, allocations: 25.03 kB / 422.2 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.284e-05/0.007127, allocations: 40.27 kB / 422.2 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003149/0.007442, allocations: 294.5 kB / 422.5 MB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.382e-05/0.007455, allocations: 8.188 kB / 422.5 MB, free: 14.53 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.017e-05/0.007476, allocations: 11.94 kB / 422.5 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.007483, allocations: 8 kB / 422.6 MB, free: 14.51 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002461/0.007729, allocations: 206.4 kB / 422.8 MB, free: 14.31 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001189/0.008918, allocations: 0.9213 MB / 423.7 MB, free: 13.34 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002546/0.009173, allocations: 223 kB / 423.9 MB, free: 13.12 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001197/0.009293, allocations: 116.8 kB / 424 MB, free: 13 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.939e-05/0.009312, allocations: 4 kB / 424 MB, free: 13 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.843e-05/0.009331, allocations: 34.5 kB / 424 MB, free: 12.95 MB / 362.7 MB Notification: Performance of pre-optimization done (n=31): time 1.192e-06/0.009332, allocations: 0 / 424 MB, free: 12.95 MB / 362.7 MB Notification: Performance of matching and sorting (n=33): time 0.001044/0.01038, allocations: 0.8009 MB / 424.8 MB, free: 12.12 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.136e-05/0.01041, allocations: 55.41 kB / 424.9 MB, free: 12.05 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000235/0.01064, allocations: 345.7 kB / 425.2 MB, free: 11.7 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.685e-05/0.01066, allocations: 29.7 kB / 425.3 MB, free: 11.67 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001005/0.01076, allocations: 212.6 kB / 425.5 MB, free: 11.45 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.165e-05/0.01082, allocations: 134.9 kB / 425.6 MB, free: 11.32 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.161e-05/0.01088, allocations: 62.08 kB / 425.7 MB, free: 11.25 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.973e-05/0.01097, allocations: 354.8 kB / 426 MB, free: 10.89 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001054/0.01108, allocations: 84.72 kB / 426.1 MB, free: 10.81 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001258/0.0112, allocations: 145.4 kB / 426.2 MB, free: 10.66 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002421/0.01145, allocations: 235.8 kB / 426.5 MB, free: 10.41 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.01145, allocations: 0 / 426.5 MB, free: 10.41 MB / 362.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005291/0.01198, allocations: 425.6 kB / 426.9 MB, free: 9.984 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/0.01199, allocations: 6.656 kB / 426.9 MB, free: 9.98 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.012, allocations: 4 kB / 426.9 MB, free: 9.977 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000304/0.0123, allocations: 116.9 kB / 427 MB, free: 9.859 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002268/0.01253, allocations: 95.88 kB / 427.1 MB, free: 9.766 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002158/0.01468, allocations: 3.069 MB / 430.2 MB, free: 6.488 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00011/0.01479, allocations: 11.98 kB / 430.2 MB, free: 6.477 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.489e-05/0.01481, allocations: 16 kB / 430.2 MB, free: 6.461 MB / 362.7 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.0001139/0.01492, allocations: 149.8 kB / 430.3 MB, free: 6.305 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.882e-05/0.01496, allocations: 47.72 kB / 430.4 MB, free: 6.258 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002914/0.01525, allocations: 305.9 kB / 430.7 MB, free: 5.949 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.01526, allocations: 4 kB / 430.7 MB, free: 5.945 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.41e-07/0.01526, allocations: 0 / 430.7 MB, free: 5.945 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.01526, allocations: 3.984 kB / 430.7 MB, free: 5.941 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005917/0.01585, allocations: 0.6274 MB / 431.3 MB, free: 5.277 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.01585, allocations: 0 / 431.3 MB, free: 5.277 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001945/0.01605, allocations: 83.89 kB / 431.4 MB, free: 5.195 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.01605, allocations: 4 kB / 431.4 MB, free: 5.191 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.435e-05/0.01606, allocations: 8 kB / 431.4 MB, free: 5.184 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.01607, allocations: 0 / 431.4 MB, free: 5.184 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.01607, allocations: 4 kB / 431.4 MB, free: 5.18 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004158/0.01648, allocations: 0.5005 MB / 431.9 MB, free: 4.664 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.799e-05/0.01656, allocations: 63.67 kB / 432 MB, free: 4.602 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.375e-05/0.01659, allocations: 7.984 kB / 432 MB, free: 4.594 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.622e-05/0.01668, allocations: 8 kB / 432 MB, free: 4.586 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.309e-05/0.01673, allocations: 23.95 kB / 432 MB, free: 4.562 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.327e-06/0.01673, allocations: 7.938 kB / 432 MB, free: 4.555 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000158/0.01689, allocations: 251.2 kB / 432.3 MB, free: 4.316 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01689, allocations: 0 / 432.3 MB, free: 4.316 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002404/0.01713, allocations: 92 kB / 432.4 MB, free: 4.227 MB / 362.7 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 6.576e-05/0.0172, allocations: 99.19 kB / 432.5 MB, free: 4.121 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005119/0.01771, allocations: 418.2 kB / 432.9 MB, free: 3.699 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.253e-06/0.01771, allocations: 0 / 432.9 MB, free: 3.699 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001181/0.01783, allocations: 119.8 kB / 433 MB, free: 3.582 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002984/0.01813, allocations: 77.28 kB / 433.1 MB, free: 3.504 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009825/0.01911, allocations: 0.9464 MB / 434 MB, free: 2.52 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000124/0.01923, allocations: 215.8 kB / 434.2 MB, free: 2.289 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.189e-05/0.01931, allocations: 32.48 kB / 434.3 MB, free: 2.254 MB / 362.7 MB Notification: Performance of SimCode: time 4.71e-07/0.01931, allocations: 0 / 434.3 MB, free: 2.254 MB / 362.7 MB Notification: Performance of Templates: time 0.005136/0.02444, allocations: 5.958 MB / 440.2 MB, free: 12.29 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical6.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical6.pipe ; mkfifo ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical6.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical6.pipe >> ../files/ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical6.sim & ./ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical6 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical6.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.464865934103727] Failed to read output from testmodel.py, exit status != 0: 0.028730769641697407 0.17980174199999996 0.030035576 Calling exit ...