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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001642/0.001642, allocations: 116.5 kB / 18.45 MB, free: 4.602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001572/0.001572, allocations: 190.7 kB / 21.4 MB, free: 1.664 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.434/1.434, allocations: 207.6 MB / 231.8 MB, free: 4.098 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.4304/0.4304, allocations: 49.5 MB / 333.1 MB, free: 0.7578 MB / 254.1 MB " [Timeout remaining time 179] Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003062/0.003062, allocations: 66.92 kB / 471.9 MB, free: 40.83 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1005/0.1035, allocations: 62.33 MB / 0.5217 GB, free: 1.883 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical5): time 0.00313/0.1066, allocations: 2.664 MB / 0.5243 GB, free: 15.2 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001319/0.108, allocations: 0.7525 MB / 0.5251 GB, free: 14.44 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001351/0.1081, allocations: 4 kB / 0.5251 GB, free: 14.43 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001647/0.1083, allocations: 51.39 kB / 0.5251 GB, free: 14.38 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003089/0.1086, allocations: 131 kB / 0.5253 GB, free: 14.25 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002016/0.1088, allocations: 79.83 kB / 0.5253 GB, free: 14.17 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004907/0.1093, allocations: 406.1 kB / 0.5257 GB, free: 13.77 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001635/0.1094, allocations: 65.5 kB / 0.5258 GB, free: 13.71 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000216/0.1096, allocations: 155.3 kB / 0.5259 GB, free: 13.55 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002516/0.1099, allocations: 163.2 kB / 0.5261 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.809e-05/0.1099, allocations: 28 kB / 0.5261 GB, free: 13.37 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.685e-05/0.11, allocations: 28 kB / 0.5261 GB, free: 13.34 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.914e-05/0.1101, allocations: 63.7 kB / 0.5262 GB, free: 13.28 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001799/0.1103, allocations: 175 kB / 0.5264 GB, free: 13.11 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004164/0.1107, allocations: 322.5 kB / 0.5267 GB, free: 12.79 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.1107, allocations: 0 / 0.5267 GB, free: 12.79 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1107, allocations: 0 / 0.5267 GB, free: 12.79 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.632e-06/0.1107, allocations: 0 / 0.5267 GB, free: 12.79 MB / 398.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.001205/0.1119, allocations: 0.6774 MB / 0.5273 GB, free: 12.06 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.401e-05/0.112, allocations: 11.89 kB / 0.5273 GB, free: 12.05 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001391/0.1121, allocations: 40.7 kB / 0.5274 GB, free: 12.01 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004726/0.1126, allocations: 328.2 kB / 0.5277 GB, free: 11.66 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.119e-05/0.1126, allocations: 16.81 kB / 0.5277 GB, free: 11.64 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.522e-05/0.1127, allocations: 28.33 kB / 0.5277 GB, free: 11.61 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004547/0.1131, allocations: 243 kB / 0.528 GB, free: 11.36 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.471e-05/0.1131, allocations: 0 / 0.528 GB, free: 11.36 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.239e-05/0.1131, allocations: 8 kB / 0.528 GB, free: 11.36 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.897e-06/0.1132, allocations: 8 kB / 0.528 GB, free: 11.35 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004189/0.1136, allocations: 185.5 kB / 0.5282 GB, free: 11.16 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001288/0.1149, allocations: 0.8597 MB / 0.529 GB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003399/0.1152, allocations: 170.6 kB / 0.5292 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002137/0.1154, allocations: 100.8 kB / 0.5293 GB, free: 9.965 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.123e-05/0.1154, allocations: 4 kB / 0.5293 GB, free: 9.961 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.842e-05/0.1155, allocations: 38.56 kB / 0.5293 GB, free: 9.914 MB / 398.1 MB Notification: Performance of pre-optimization done (n=25): time 1.232e-06/0.1155, allocations: 0 / 0.5293 GB, free: 9.914 MB / 398.1 MB Notification: Performance of matching and sorting (n=27): time 0.001531/0.117, allocations: 0.7484 MB / 0.53 GB, free: 9.117 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.42e-05/0.117, allocations: 59.41 kB / 0.5301 GB, free: 9.047 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003559/0.1174, allocations: 304.5 kB / 0.5304 GB, free: 8.734 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.617e-05/0.1174, allocations: 33.64 kB / 0.5304 GB, free: 8.695 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001399/0.1176, allocations: 180.8 kB / 0.5306 GB, free: 8.516 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.602e-05/0.1176, allocations: 107.1 kB / 0.5307 GB, free: 8.41 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.776e-05/0.1177, allocations: 53.7 kB / 0.5307 GB, free: 8.352 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001596/0.1179, allocations: 338.8 kB / 0.5311 GB, free: 8.012 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001939/0.1181, allocations: 79.95 kB / 0.5311 GB, free: 7.934 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002067/0.1183, allocations: 102.8 kB / 0.5312 GB, free: 7.824 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003922/0.1187, allocations: 196.1 kB / 0.5314 GB, free: 7.625 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.1187, allocations: 4 kB / 0.5314 GB, free: 7.621 MB / 398.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0006862/0.1194, allocations: 319.1 kB / 0.5317 GB, free: 7.301 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.1194, allocations: 4 kB / 0.5317 GB, free: 7.297 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.1194, allocations: 3.938 kB / 0.5317 GB, free: 7.293 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003006/0.1197, allocations: 60.88 kB / 0.5318 GB, free: 7.23 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004021/0.1201, allocations: 67.95 kB / 0.5319 GB, free: 7.164 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002849/0.123, allocations: 3.036 MB / 0.5348 GB, free: 3.848 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002036/0.1232, allocations: 16.08 kB / 0.5348 GB, free: 3.832 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.68e-05/0.1232, allocations: 11.94 kB / 0.5349 GB, free: 3.82 MB / 398.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.0001626/0.1233, allocations: 141.8 kB / 0.535 GB, free: 3.672 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.068e-05/0.1234, allocations: 35.8 kB / 0.535 GB, free: 3.637 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005273/0.1239, allocations: 257.3 kB / 0.5353 GB, free: 3.379 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.1239, allocations: 0 / 0.5353 GB, free: 3.379 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.252e-06/0.1239, allocations: 4 kB / 0.5353 GB, free: 3.375 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.1239, allocations: 4 kB / 0.5353 GB, free: 3.371 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009999/0.1249, allocations: 0.6626 MB / 0.5359 GB, free: 2.652 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.771e-06/0.125, allocations: 3.984 kB / 0.5359 GB, free: 2.648 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003317/0.1253, allocations: 71.91 kB / 0.536 GB, free: 2.578 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.1253, allocations: 0 / 0.536 GB, free: 2.578 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.003e-05/0.1253, allocations: 7.938 kB / 0.536 GB, free: 2.57 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.1253, allocations: 8 kB / 0.536 GB, free: 2.562 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1253, allocations: 0 / 0.536 GB, free: 2.562 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007116/0.126, allocations: 452.6 kB / 0.5364 GB, free: 2.102 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001271/0.1261, allocations: 117 kB / 0.5366 GB, free: 1.969 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.928e-05/0.1262, allocations: 11.94 kB / 0.5366 GB, free: 1.957 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001943/0.1264, allocations: 15.98 kB / 0.5366 GB, free: 1.941 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.811e-05/0.1264, allocations: 15.92 kB / 0.5366 GB, free: 1.926 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.748e-05/0.1265, allocations: 12 kB / 0.5366 GB, free: 1.914 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002335/0.1267, allocations: 215.1 kB / 0.5368 GB, free: 1.703 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1267, allocations: 0 / 0.5368 GB, free: 1.703 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003419/0.127, allocations: 75.94 kB / 0.5369 GB, free: 1.629 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.0001204/0.1272, allocations: 99.19 kB / 0.537 GB, free: 1.52 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008698/0.128, allocations: 350.4 kB / 0.5373 GB, free: 1.164 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.128, allocations: 0 / 0.5373 GB, free: 1.164 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002228/0.1282, allocations: 103.8 kB / 0.5374 GB, free: 1.062 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004664/0.1287, allocations: 70.84 kB / 0.5375 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001624/0.1303, allocations: 0.9357 MB / 0.5384 GB, free: 24 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004403/0.1308, allocations: 0.7837 MB / 0.5392 GB, free: 15.21 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.44e-05/0.1309, allocations: 27.44 kB / 0.5392 GB, free: 15.18 MB / 414.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1309, allocations: 0 / 0.5392 GB, free: 15.18 MB / 414.1 MB Notification: Performance of Templates: time 0.007404/0.1383, allocations: 4.782 MB / 0.5439 GB, free: 10.39 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.677113787038252] Failed to read output from testmodel.py, exit status != 0: 0.1466814000159502 0.15923778700000002 0.045755023000000006 Calling exit ...