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.001607/0.001607, 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.001437/0.001437, 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.355/1.355, allocations: 207.7 MB / 235.3 MB, free: 9.797 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.2906/0.2906, 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.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: 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.002365/0.002365, allocations: 76.45 kB / 477.6 MB, free: 12.27 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1079/0.1102, allocations: 62.43 MB / 0.5274 GB, free: 13.64 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical6): time 0.004601/0.1148, allocations: 2.729 MB / 0.53 GB, free: 10.89 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001579/0.1164, allocations: 0.7953 MB / 0.5308 GB, free: 10.09 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001651/0.1166, allocations: 11.94 kB / 0.5308 GB, free: 10.08 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001862/0.1168, allocations: 55.33 kB / 0.5309 GB, free: 10.02 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003656/0.1171, allocations: 138.8 kB / 0.531 GB, free: 9.887 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002567/0.1174, allocations: 115.8 kB / 0.5311 GB, free: 9.773 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005543/0.1179, allocations: 494.3 kB / 0.5316 GB, free: 9.289 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002148/0.1182, allocations: 92.69 kB / 0.5317 GB, free: 9.195 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000262/0.1184, allocations: 195.2 kB / 0.5319 GB, free: 9.004 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002797/0.1187, allocations: 190.9 kB / 0.532 GB, free: 8.816 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.992e-05/0.1188, allocations: 32 kB / 0.5321 GB, free: 8.785 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.807e-05/0.1189, allocations: 40 kB / 0.5321 GB, free: 8.746 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.419e-05/0.1189, allocations: 91.61 kB / 0.5322 GB, free: 8.656 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001783/0.1191, allocations: 179 kB / 0.5324 GB, free: 8.48 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004949/0.1196, allocations: 406 kB / 0.5328 GB, free: 8.082 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.1196, allocations: 3.984 kB / 0.5328 GB, free: 8.078 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1196, allocations: 0 / 0.5328 GB, free: 8.078 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.564e-06/0.1196, allocations: 0 / 0.5328 GB, free: 8.078 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: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.001339/0.121, allocations: 0.6916 MB / 0.5334 GB, free: 7.355 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.539e-05/0.121, allocations: 12.03 kB / 0.5334 GB, free: 7.344 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001416/0.1211, allocations: 52.61 kB / 0.5335 GB, free: 7.293 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000529/0.1217, allocations: 296.6 kB / 0.5338 GB, free: 6.977 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.675e-05/0.1217, allocations: 29.03 kB / 0.5338 GB, free: 6.949 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.521e-05/0.1218, allocations: 36.33 kB / 0.5338 GB, free: 6.914 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005311/0.1223, allocations: 297.9 kB / 0.5341 GB, free: 6.605 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.009e-05/0.1223, allocations: 4 kB / 0.5341 GB, free: 6.602 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.531e-05/0.1224, allocations: 8 kB / 0.5341 GB, free: 6.594 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.117e-05/0.1224, allocations: 8 kB / 0.5341 GB, free: 6.586 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004152/0.1228, allocations: 202.4 kB / 0.5343 GB, free: 6.391 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001667/0.1244, allocations: 0.9289 MB / 0.5352 GB, free: 5.414 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004214/0.1249, allocations: 234.9 kB / 0.5355 GB, free: 5.176 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002064/0.1251, allocations: 112.8 kB / 0.5356 GB, free: 5.062 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.679e-05/0.1251, allocations: 4 kB / 0.5356 GB, free: 5.059 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.958e-05/0.1251, allocations: 30.56 kB / 0.5356 GB, free: 5.02 MB / 414.1 MB Notification: Performance of pre-optimization done (n=31): time 1.573e-06/0.1251, allocations: 4 kB / 0.5356 GB, free: 5.016 MB / 414.1 MB Notification: Performance of matching and sorting (n=33): time 0.001815/0.127, allocations: 0.797 MB / 0.5364 GB, free: 4.188 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.443e-05/0.127, allocations: 51.41 kB / 0.5364 GB, free: 4.125 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004075/0.1274, allocations: 341.7 kB / 0.5368 GB, free: 3.781 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.887e-05/0.1274, allocations: 37.7 kB / 0.5368 GB, free: 3.738 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001781/0.1276, allocations: 216.6 kB / 0.537 GB, free: 3.523 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001148/0.1277, allocations: 126.9 kB / 0.5371 GB, free: 3.398 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001083/0.1278, allocations: 78.02 kB / 0.5372 GB, free: 3.312 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001762/0.128, allocations: 350.7 kB / 0.5375 GB, free: 2.961 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001933/0.1282, allocations: 92.64 kB / 0.5376 GB, free: 2.871 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002147/0.1284, allocations: 133.5 kB / 0.5378 GB, free: 2.727 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004312/0.1288, allocations: 247.7 kB / 0.538 GB, free: 2.469 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.1288, allocations: 0 / 0.538 GB, free: 2.469 MB / 414.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0009851/0.1298, allocations: 413.7 kB / 0.5384 GB, free: 2.055 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.1298, allocations: 4 kB / 0.5384 GB, free: 2.051 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.135e-05/0.1299, allocations: 7.984 kB / 0.5384 GB, free: 2.043 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006134/0.1305, allocations: 116.9 kB / 0.5385 GB, free: 1.926 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004433/0.1309, allocations: 91.88 kB / 0.5386 GB, free: 1.836 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2007/0.3316, allocations: 3.057 MB / 0.5416 GB, free: 21.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003049/0.3319, allocations: 16.66 kB / 0.5416 GB, free: 21.59 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.363e-05/0.332, allocations: 12.86 kB / 0.5416 GB, free: 21.59 MB / 414.1 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.000155/0.3321, allocations: 156.2 kB / 0.5418 GB, free: 21.48 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.161e-05/0.3322, allocations: 44.77 kB / 0.5418 GB, free: 21.48 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004694/0.3326, allocations: 301.7 kB / 0.5421 GB, free: 21.44 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.3326, allocations: 3.938 kB / 0.5421 GB, free: 21.44 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.393e-06/0.3326, allocations: 0 / 0.5421 GB, free: 21.44 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.3326, allocations: 2.344 kB / 0.5421 GB, free: 21.44 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008668/0.3335, allocations: 0.636 MB / 0.5427 GB, free: 21.2 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.3335, allocations: 0.625 kB / 0.5427 GB, free: 21.2 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003757/0.3339, allocations: 79.8 kB / 0.5428 GB, free: 21.2 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.3339, allocations: 6.594 kB / 0.5428 GB, free: 21.2 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.054e-05/0.3339, allocations: 6.953 kB / 0.5428 GB, free: 21.2 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.3339, allocations: 1.797 kB / 0.5428 GB, free: 21.2 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.3339, allocations: 5.156 kB / 0.5428 GB, free: 21.2 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005638/0.3345, allocations: 0.4899 MB / 0.5433 GB, free: 21.06 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001197/0.3346, allocations: 58.36 kB / 0.5433 GB, free: 21.06 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.336e-05/0.3346, allocations: 10.77 kB / 0.5434 GB, free: 21.06 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002123/0.3349, allocations: 14.08 kB / 0.5434 GB, free: 21.06 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.777e-05/0.3349, allocations: 20.69 kB / 0.5434 GB, free: 21.06 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.457e-05/0.3349, allocations: 9.625 kB / 0.5434 GB, free: 21.06 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002117/0.3351, allocations: 250.7 kB / 0.5436 GB, free: 20.94 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3351, allocations: 0 / 0.5436 GB, free: 20.94 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003575/0.3355, allocations: 86.16 kB / 0.5437 GB, free: 20.93 MB / 414.1 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 7.849e-05/0.3356, allocations: 105 kB / 0.5438 GB, free: 20.84 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007878/0.3364, allocations: 404.4 kB / 0.5442 GB, free: 20.66 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.3364, allocations: 0 / 0.5442 GB, free: 20.66 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001841/0.3365, allocations: 121.2 kB / 0.5443 GB, free: 20.62 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004709/0.337, allocations: 79.17 kB / 0.5444 GB, free: 20.59 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001533/0.3385, allocations: 1.107 MB / 0.5455 GB, free: 19.93 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001803/0.3387, allocations: 211 kB / 0.5457 GB, free: 19.84 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.219e-05/0.3388, allocations: 30.17 kB / 0.5457 GB, free: 19.83 MB / 414.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3388, allocations: 3.719 kB / 0.5457 GB, free: 19.83 MB / 414.1 MB Notification: Performance of Templates: time 0.008785/0.3476, allocations: 5.931 MB / 0.5515 GB, free: 19.26 MB / 414.1 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: 7.562782972119749] Failed to read output from testmodel.py, exit status != 0: 0.35567879071459174 0.366557653 0.24440647999999995 Calling exit ...