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.0007388/0.0007388, allocations: 83.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.003066/0.003066, allocations: 159.9 kB / 24.7 MB, free: 9.414 MB / 18.57 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 0.8419/0.8419, allocations: 177.2 MB / 205 MB, free: 5.723 MB / 186.7 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.08638/0.08638, allocations: 19.74 MB / 281.2 MB, free: 9.457 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 417.8 MB, free: 7.391 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.084e-05/2.232e-05, allocations: 6.281 kB / 417.8 MB, free: 7.383 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical5): time 0.00236/0.002383, allocations: 2.481 MB / 420.3 MB, free: 5.711 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009232/0.003306, allocations: 0.7157 MB / 421 MB, free: 5.215 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001356/0.003442, allocations: 7.75 kB / 421 MB, free: 5.211 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001248/0.003566, allocations: 45.92 kB / 421.1 MB, free: 5.18 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000245/0.003811, allocations: 131.6 kB / 421.2 MB, free: 5.086 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001771/0.003988, allocations: 84.64 kB / 421.3 MB, free: 5.039 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003106/0.004299, allocations: 417.5 kB / 421.7 MB, free: 4.824 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001396/0.004439, allocations: 59.06 kB / 421.7 MB, free: 4.797 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002723/0.004711, allocations: 236.9 kB / 422 MB, free: 4.699 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001551/0.004866, allocations: 121.6 kB / 422.1 MB, free: 4.66 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.15e-05/0.004908, allocations: 24.5 kB / 422.1 MB, free: 4.66 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.487e-05/0.004972, allocations: 31.33 kB / 422.1 MB, free: 4.656 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 3.805e-05/0.005011, allocations: 64.89 kB / 422.2 MB, free: 4.613 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 8.46e-05/0.005095, allocations: 120.2 kB / 422.3 MB, free: 4.559 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003129/0.005408, allocations: 313.9 kB / 422.6 MB, free: 4.43 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.00541, allocations: 0 / 422.6 MB, free: 4.43 MB / 330.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.005411, allocations: 0 / 422.6 MB, free: 4.43 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.889e-06/0.005421, allocations: 0 / 422.6 MB, free: 4.43 MB / 330.7 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.0007051/0.006126, allocations: 0.5899 MB / 423.2 MB, free: 3.977 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.442e-05/0.006161, allocations: 13.72 kB / 423.2 MB, free: 3.973 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.126e-05/0.006252, allocations: 45.08 kB / 423.3 MB, free: 3.949 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002882/0.00654, allocations: 264.8 kB / 423.5 MB, free: 3.73 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.564e-05/0.006556, allocations: 19.53 kB / 423.5 MB, free: 3.723 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.675e-05/0.006592, allocations: 25.69 kB / 423.6 MB, free: 3.715 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002894/0.006882, allocations: 238 kB / 423.8 MB, free: 3.598 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.414e-05/0.006896, allocations: 8.781 kB / 423.8 MB, free: 3.59 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.467e-05/0.006911, allocations: 14.47 kB / 423.8 MB, free: 3.578 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.006918, allocations: 10.5 kB / 423.8 MB, free: 3.574 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000244/0.007161, allocations: 174.4 kB / 424 MB, free: 3.531 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006994/0.007861, allocations: 0.7097 MB / 424.7 MB, free: 2.996 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002138/0.008075, allocations: 172.8 kB / 424.9 MB, free: 2.922 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001192/0.008194, allocations: 101.4 kB / 425 MB, free: 2.883 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.768e-05/0.008212, allocations: 2.25 kB / 425 MB, free: 2.883 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.213e-05/0.008224, allocations: 37.84 kB / 425 MB, free: 2.84 MB / 330.7 MB Notification: Performance of pre-optimization done (n=25): time 1.282e-06/0.008225, allocations: 0 / 425 MB, free: 2.84 MB / 330.7 MB Notification: Performance of matching and sorting (n=27): time 0.0008953/0.00912, allocations: 0.6643 MB / 425.7 MB, free: 2.469 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.108e-05/0.009141, allocations: 59.44 kB / 425.7 MB, free: 2.402 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002094/0.009351, allocations: 300.6 kB / 426 MB, free: 2.238 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.14e-05/0.009362, allocations: 34.83 kB / 426.1 MB, free: 2.199 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.852e-05/0.009431, allocations: 182.1 kB / 426.2 MB, free: 2.047 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.897e-05/0.00947, allocations: 101.6 kB / 426.3 MB, free: 1.965 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.151e-05/0.009521, allocations: 49.3 kB / 426.4 MB, free: 1.934 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.322e-05/0.009564, allocations: 348.8 kB / 426.7 MB, free: 1.602 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001036/0.009668, allocations: 72.73 kB / 426.8 MB, free: 1.582 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001149/0.009783, allocations: 113.1 kB / 426.9 MB, free: 1.523 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002149/0.009998, allocations: 200.2 kB / 427.1 MB, free: 1.426 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.009999, allocations: 0 / 427.1 MB, free: 1.426 MB / 330.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004178/0.01042, allocations: 316.8 kB / 427.4 MB, free: 1.285 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.01043, allocations: 6.969 kB / 427.4 MB, free: 1.285 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.01044, allocations: 4.062 kB / 427.4 MB, free: 1.281 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001759/0.01061, allocations: 53.28 kB / 427.5 MB, free: 1.266 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002154/0.01083, allocations: 73.7 kB / 427.6 MB, free: 1.262 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001328/0.01216, allocations: 2.778 MB / 430.3 MB, free: 14.58 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001018/0.01226, allocations: 21.41 kB / 430.4 MB, free: 14.57 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.147e-05/0.01227, allocations: 10.91 kB / 430.4 MB, free: 14.57 MB / 346.7 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 9.921e-05/0.01237, allocations: 143.5 kB / 430.5 MB, free: 14.43 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.617e-05/0.0124, allocations: 38.89 kB / 430.5 MB, free: 14.41 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000288/0.01269, allocations: 261.5 kB / 430.8 MB, free: 14.29 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.0127, allocations: 4.266 kB / 430.8 MB, free: 14.29 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.32e-07/0.0127, allocations: 0 / 430.8 MB, free: 14.29 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.0127, allocations: 1.266 kB / 430.8 MB, free: 14.29 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005809/0.01328, allocations: 0.5667 MB / 431.4 MB, free: 13.92 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.01328, allocations: 3.938 kB / 431.4 MB, free: 13.92 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001652/0.01345, allocations: 68.19 kB / 431.4 MB, free: 13.91 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.01345, allocations: 1.469 kB / 431.4 MB, free: 13.91 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.13e-05/0.01346, allocations: 6.469 kB / 431.5 MB, free: 13.91 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.01346, allocations: 1.188 kB / 431.5 MB, free: 13.91 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.01347, allocations: 0 / 431.5 MB, free: 13.91 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004047/0.01387, allocations: 446.7 kB / 431.9 MB, free: 13.66 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.776e-05/0.01394, allocations: 42.23 kB / 431.9 MB, free: 13.64 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.099e-05/0.01396, allocations: 10.89 kB / 431.9 MB, free: 13.63 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.068e-05/0.01405, allocations: 9 kB / 431.9 MB, free: 13.63 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.304e-05/0.01409, allocations: 23.56 kB / 432 MB, free: 13.62 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.126e-06/0.0141, allocations: 9.109 kB / 432 MB, free: 13.62 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001529/0.01425, allocations: 212.6 kB / 432.2 MB, free: 13.5 MB / 346.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01425, allocations: 0 / 432.2 MB, free: 13.5 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002116/0.01447, allocations: 78.69 kB / 432.3 MB, free: 13.49 MB / 346.7 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.429e-05/0.01454, allocations: 99.08 kB / 432.4 MB, free: 13.39 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004954/0.01503, allocations: 348.7 kB / 432.7 MB, free: 13.21 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.01504, allocations: 1.062 kB / 432.7 MB, free: 13.21 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001224/0.01516, allocations: 112.5 kB / 432.8 MB, free: 13.18 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002918/0.01545, allocations: 58.11 kB / 432.9 MB, free: 13.15 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009427/0.01639, allocations: 0.796 MB / 433.7 MB, free: 12.62 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001248/0.01652, allocations: 182.1 kB / 433.8 MB, free: 12.53 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.664e-05/0.01658, allocations: 30.66 kB / 433.9 MB, free: 12.51 MB / 346.7 MB Notification: Performance of SimCode: time 4.91e-07/0.01658, allocations: 1.094 kB / 433.9 MB, free: 12.51 MB / 346.7 MB Notification: Performance of Templates: time 0.005374/0.02195, allocations: 4.957 MB / 438.8 MB, free: 10.94 MB / 346.7 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: 4.470231860876083] Failed to read output from testmodel.py, exit status != 0: 0.026717296801507473 0.034598986000000005 0.027600037 Calling exit ...